public final class CsvLoadOptions extends SpreadsheetLoadOptions implements Serializable
Options for loading Csv documents.
Constructor and Description |
---|
CsvLoadOptions()
Initializes new instance of
CsvLoadOptions class. |
Modifier and Type | Method and Description |
---|---|
boolean |
getConvertDateTimeData()
Indicates whether the string in the file is converted to date.
|
boolean |
getConvertNumericData()
Indicates whether the string in the file is converted to numeric.
|
Charset |
getEncoding()
Encoding.
|
com.aspose.ms.System.Text.Encoding |
getEncodingInternal() |
char |
getSeparator()
Delimiter of a Csv file.
|
boolean |
hasFormula()
Indicates whether text is formula if it starts with "=".
|
boolean |
isMultiEncoded()
True means the file contains several encodings.
|
void |
setConvertDateTimeData(boolean value)
Indicates whether the string in the file is converted to date.
|
void |
setConvertNumericData(boolean value)
Indicates whether the string in the file is converted to numeric.
|
void |
setEncoding(Charset value)
Encoding.
|
void |
setEncodingInternal(com.aspose.ms.System.Text.Encoding value) |
void |
setFormula(boolean value)
Indicates whether text is formula if it starts with "=".
|
void |
setMultiEncoded(boolean value)
True means the file contains several encodings.
|
void |
setSeparator(char value)
Delimiter of a Csv file.
|
deepClone, getAllColumnsInOnePagePerSheet, getConvertRange, getCultureInfo, getDefaultFont, getFontSubstitutes, getFormat, getHideComments, getOnePagePerSheet, getOptimizePdfSize, getPassword, getSheets, getShowGridLines, getShowHiddenSheets, getSkipEmptyRowsAndColumns, isCheckExcelRestriction, setAllColumnsInOnePagePerSheet, setCheckExcelRestriction, setConvertRange, setCultureInfo, setDefaultFont, setFontSubstitutes, setHideComments, setOnePagePerSheet, setOptimizePdfSize, setPassword, setSheets, setShowGridLines, setShowHiddenSheets, setSkipEmptyRowsAndColumns
setFormat
equals, equals, hashCode, op_Equality, op_Inequality
public CsvLoadOptions()
Initializes new instance of CsvLoadOptions
class.
public final char getSeparator()
Delimiter of a Csv file.
public final void setSeparator(char value)
Delimiter of a Csv file.
public final boolean isMultiEncoded()
True means the file contains several encodings.
public final void setMultiEncoded(boolean value)
True means the file contains several encodings.
public final boolean hasFormula()
Indicates whether text is formula if it starts with "=".
public final void setFormula(boolean value)
Indicates whether text is formula if it starts with "=".
public final boolean getConvertNumericData()
Indicates whether the string in the file is converted to numeric. Default is True.
public final void setConvertNumericData(boolean value)
Indicates whether the string in the file is converted to numeric. Default is True.
public final boolean getConvertDateTimeData()
Indicates whether the string in the file is converted to date. Default is True.
public final void setConvertDateTimeData(boolean value)
Indicates whether the string in the file is converted to date. Default is True.
public final Charset getEncoding()
Encoding. Default is Encoding.Default.
public com.aspose.ms.System.Text.Encoding getEncodingInternal()
public final void setEncoding(Charset value)
Encoding. Default is Encoding.Default.
public void setEncodingInternal(com.aspose.ms.System.Text.Encoding value)