类 CsvInput
java.lang.Object
com.obs.services.model.select.XmlSerialization
com.obs.services.model.select.CsvInput
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidappendToXml(com.obs.services.internal.xml.OBSXMLBuilder xmlBuilder) Formats the input settings into the XML requestwithAllowQuotedRecordDelimiter(boolean allowQuotedRecordDelimiter) Specifies that CSV fields may contain quoted record delimiters Default is FALSEwithComments(char comments) Single character at the beginning of a line to discard the row as a comment Default is nonewithFieldDelimiter(char fieldDelimiter) Single character as field delimiter Default is a comma (,)withFileHeaderInfo(FileHeaderInfo fileHeaderInfo) Describes the first line of input Default is NONEwithQuoteCharacter(char quoteCharacter) Escape character to quote a field delimiter inside a value Default is a double quote character (")withQuoteEscapeCharacter(char quoteEscapeCharacter) Escape character for escaping the quotation mark inside an already escaped value Default is undefinedwithRecordDelimiter(char recordDelimiter) Single character as record delimiter Default is a newline character (\n)从类继承的方法 com.obs.services.model.select.XmlSerialization
charToString
-
构造器详细资料
-
CsvInput
public CsvInput()
-
-
方法详细资料
-
withAllowQuotedRecordDelimiter
Specifies that CSV fields may contain quoted record delimiters Default is FALSE- 参数:
allowQuotedRecordDelimiter- Informs when fields may contain record delimiters or not- 返回:
- Self
-
withComments
Single character at the beginning of a line to discard the row as a comment Default is none- 参数:
comments- Comment prefix- 返回:
- Self
-
withFieldDelimiter
Single character as field delimiter Default is a comma (,)- 参数:
fieldDelimiter- Field delimiter- 返回:
- Self
-
withRecordDelimiter
Single character as record delimiter Default is a newline character (\n)- 参数:
recordDelimiter- Record delimiter- 返回:
- Self
-
withFileHeaderInfo
Describes the first line of input Default is NONE- 参数:
fileHeaderInfo- Content and usage of first line of input- 返回:
- Self
-
withQuoteCharacter
Escape character to quote a field delimiter inside a value Default is a double quote character (")- 参数:
quoteCharacter- Quote character- 返回:
- Self
-
withQuoteEscapeCharacter
Escape character for escaping the quotation mark inside an already escaped value Default is undefined- 参数:
quoteEscapeCharacter- Quote escape character- 返回:
- Self
-
appendToXml
public void appendToXml(com.obs.services.internal.xml.OBSXMLBuilder xmlBuilder) Formats the input settings into the XML request- 参数:
xmlBuilder- The xml serializer
-