类 CsvSaveOptions

java.lang.Object
com.grapecity.documents.excel.SaveOptionsBase
com.grapecity.documents.excel.CsvSaveOptions

public class CsvSaveOptions extends SaveOptionsBase
Option class for saving csv file.
  • 构造器详细资料

    • CsvSaveOptions

      public CsvSaveOptions()
      Constructor.
  • 方法详细资料

    • getColumnSeparator

      public final String getColumnSeparator()
      Gets column separator.
    • setColumnSeparator

      public final void setColumnSeparator(String value)
      Sets a string value as column separator.
    • getRowSeparator

      public final String getRowSeparator()
      Gets row separator.
    • setRowSeparator

      public final void setRowSeparator(String value)
      Sets a string value as row separator.
    • getCellSeparator

      public final char getCellSeparator()
      Gets cell separator.
    • setCellSeparator

      public final void setCellSeparator(char value)
      Sets a string value as cell separator.
    • setSeparatorString

      @Deprecated public final void setSeparatorString(String value)
      已过时。
      setSeparatorString is deprecated, use setColumnSeparator.
      Sets a string value as column separator.
    • getSeparatorString

      @Deprecated public final String getSeparatorString()
      已过时。
      getSeparatorString is deprecated, use getColumnSeparator.
      Gets column separator.
    • getEncoding

      public final String getEncoding()
      Gets the default encoding, default is utf-8.
    • setEncoding

      public final void setEncoding(String value)
      Sets the default encoding.
    • getValueQuoteType

      public final ValueQuoteType getValueQuoteType()
      Gets how to quote values in the exported text file.
    • setValueQuoteType

      public final void setValueQuoteType(ValueQuoteType value)
      Sets how to quote values in the exported text file.
    • getTrimLeadingBlankRowAndColumn

      public final boolean getTrimLeadingBlankRowAndColumn()
      Indicates whether leading blank rows and columns should be trimmed like what ms excel does, defalut is true.
    • setTrimLeadingBlankRowAndColumn

      public final void setTrimLeadingBlankRowAndColumn(boolean value)
      Indicates whether leading blank rows and columns should be trimmed like what ms excel does, defalut is true.
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object