public class CsvInput extends XmlSerialization
| 构造器和说明 |
|---|
CsvInput() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
appendToXml(com.obs.services.internal.xml.OBSXMLBuilder xmlBuilder)
Formats the input settings into the XML request
|
CsvInput |
withAllowQuotedRecordDelimiter(boolean allowQuotedRecordDelimiter)
Specifies that CSV fields may contain quoted record delimiters
Default is FALSE
|
CsvInput |
withComments(char comments)
Single character at the beginning of a line to discard the row as a comment
Default is none
|
CsvInput |
withFieldDelimiter(char fieldDelimiter)
Single character as field delimiter
Default is a comma (,)
|
CsvInput |
withFileHeaderInfo(FileHeaderInfo fileHeaderInfo)
Describes the first line of input
Default is NONE
|
CsvInput |
withQuoteCharacter(char quoteCharacter)
Escape character to quote a field delimiter inside a value
Default is a double quote character (")
|
CsvInput |
withQuoteEscapeCharacter(char quoteEscapeCharacter)
Escape character for escaping the quotation mark inside an already escaped value
Default is undefined
|
CsvInput |
withRecordDelimiter(char recordDelimiter)
Single character as record delimiter
Default is a newline character (\n)
|
charToStringpublic CsvInput withAllowQuotedRecordDelimiter(boolean allowQuotedRecordDelimiter)
allowQuotedRecordDelimiter - Informs when fields may contain record delimiters or notpublic CsvInput withComments(char comments)
comments - Comment prefixpublic CsvInput withFieldDelimiter(char fieldDelimiter)
fieldDelimiter - Field delimiterpublic CsvInput withRecordDelimiter(char recordDelimiter)
recordDelimiter - Record delimiterpublic CsvInput withFileHeaderInfo(FileHeaderInfo fileHeaderInfo)
fileHeaderInfo - Content and usage of first line of inputpublic CsvInput withQuoteCharacter(char quoteCharacter)
quoteCharacter - Quote characterpublic CsvInput withQuoteEscapeCharacter(char quoteEscapeCharacter)
quoteEscapeCharacter - Quote escape characterpublic void appendToXml(com.obs.services.internal.xml.OBSXMLBuilder xmlBuilder)
xmlBuilder - The xml serializerCopyright © 2023. All rights reserved.