类 CsvOutput

java.lang.Object
com.obs.services.model.select.XmlSerialization
com.obs.services.model.select.CsvOutput

public class CsvOutput extends XmlSerialization
CSV output serialization format
  • 构造器详细资料

    • CsvOutput

      public CsvOutput()
  • 方法详细资料

    • withFieldDelimiter

      public CsvOutput withFieldDelimiter(char fieldDelimiter)
      Single character as field delimiter Default is a comma (,)
      参数:
      fieldDelimiter - Field delimiter
      返回:
      Self
    • withRecordDelimiter

      public CsvOutput withRecordDelimiter(char recordDelimiter)
      Single character as record delimiter Default is a newline character (\n)
      参数:
      recordDelimiter - Record delimiter
      返回:
      Self
    • withQuoteCharacter

      public CsvOutput withQuoteCharacter(char quoteCharacter)
      Escape character to quote a field delimiter inside a value Default is a double quote character (")
      参数:
      quoteCharacter - Quote character
      返回:
      Self
    • withQuoteEscapeCharacter

      public CsvOutput withQuoteEscapeCharacter(char quoteEscapeCharacter)
      Escape character for escaping the quotation mark inside an already escaped value Default is undefined
      参数:
      quoteEscapeCharacter - Quote escape character
      返回:
      Self
    • withQuoteFields

      public CsvOutput withQuoteFields(QuoteFields quoteFields)
      Indicates whether to quote fields Default is undefined (never)
      参数:
      quoteFields - Expected field quotes
      返回:
      Self
    • appendToXml

      public void appendToXml(com.obs.services.internal.xml.OBSXMLBuilder xmlBuilder)
      Formats the output settings into the XML request
      参数:
      xmlBuilder - The xml serializer