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() |
protected List<Object> |
getEqualityComponents()
Gets equality components.
|
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, getSheetIndexes, getSheets, getShowGridLines, getShowHiddenSheets, getSkipEmptyRowsAndColumns, isAutoFitRows, isCheckExcelRestriction, memberwiseClone, setAllColumnsInOnePagePerSheet, setAutoFitRows, setCheckExcelRestriction, setConvertRange, setCultureInfo, setDefaultFont, setFontSubstitutes, setHideComments, setOnePagePerSheet, setOptimizePdfSize, setPassword, setSheetIndexes, setSheets, setShowGridLines, setShowHiddenSheets, setSkipEmptyRowsAndColumnssetFormatequals, equals, hashCode, op_Equality, op_Inequalitypublic CsvLoadOptions()
Initializes new instance of CsvLoadOptions class.
public final boolean getConvertDateTimeData()
Indicates whether the string in the file is converted to date. Default is True.
public final boolean getConvertNumericData()
Indicates whether the string in the file is converted to numeric. Default is True.
public final Charset getEncoding()
Encoding. Default is Encoding.Default.
public com.aspose.ms.System.Text.Encoding getEncodingInternal()
protected List<Object> getEqualityComponents()
ValueObjectGets equality components.
getEqualityComponents in class SpreadsheetLoadOptionspublic final char getSeparator()
Delimiter of a Csv file.
public final boolean hasFormula()
Indicates whether text is formula if it starts with "=".
public final boolean isMultiEncoded()
True means the file contains several encodings.
public final void setConvertDateTimeData(boolean value)
Indicates whether the string in the file is converted to date. 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 void setEncoding(Charset value)
Encoding. Default is Encoding.Default.
public void setEncodingInternal(com.aspose.ms.System.Text.Encoding value)
public final void setFormula(boolean value)
Indicates whether text is formula if it starts with "=".
public final void setMultiEncoded(boolean value)
True means the file contains several encodings.
public final void setSeparator(char value)
Delimiter of a Csv file.
Copyright © 2024. All rights reserved.