类 CsvSaveOptions
java.lang.Object
com.grapecity.documents.excel.SaveOptionsBase
com.grapecity.documents.excel.CsvSaveOptions
Option class for saving csv file.
-
构造器概要
-
方法概要
修饰符和类型方法说明final char
Gets cell separator.final String
Gets column separator.final String
Gets the default encoding, default is utf-8.final String
Gets row separator.final String
已过时。getSeparatorString is deprecated, use getColumnSeparator.final boolean
Indicates whether leading blank rows and columns should be trimmed like what ms excel does, defalut is true.final ValueQuoteType
Gets how to quote values in the exported text file.final void
setCellSeparator
(char value) Sets a string value as cell separator.final void
setColumnSeparator
(String value) Sets a string value as column separator.final void
setEncoding
(String value) Sets the default encoding.final void
setRowSeparator
(String value) Sets a string value as row separator.final void
setSeparatorString
(String value) 已过时。setSeparatorString is deprecated, use setColumnSeparator.final void
setTrimLeadingBlankRowAndColumn
(boolean value) Indicates whether leading blank rows and columns should be trimmed like what ms excel does, defalut is true.final void
setValueQuoteType
(ValueQuoteType value) Sets how to quote values in the exported text file.toString()
从类继承的方法 com.grapecity.documents.excel.SaveOptionsBase
getFileFormat, setFileFormat
-
构造器详细资料
-
CsvSaveOptions
public CsvSaveOptions()Constructor.
-
-
方法详细资料
-
getColumnSeparator
Gets column separator. -
setColumnSeparator
Sets a string value as column separator. -
getRowSeparator
Gets row separator. -
setRowSeparator
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
已过时。setSeparatorString is deprecated, use setColumnSeparator.Sets a string value as column separator. -
getSeparatorString
已过时。getSeparatorString is deprecated, use getColumnSeparator.Gets column separator. -
getEncoding
Gets the default encoding, default is utf-8. -
setEncoding
Sets the default encoding. -
getValueQuoteType
Gets how to quote values in the exported text file. -
setValueQuoteType
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
-