Class CSVImportOptions
- java.lang.Object
-
- de.xima.fc.gui.utils.data.importer.CSVImportOptions
-
- All Implemented Interfaces:
Serializable
public class CSVImportOptions extends Object implements Serializable
Utility class for importing CSV files- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CSVImportOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CSVFormatWrapper
getCSVFormat()
String
getCustomDelimiter()
String
getCustomTextQualifier()
ECSVDelimiterType
getDelimiterType()
boolean
getIgnoreEmptyLines()
ECSVTextQualifierType
getTextQualifierType()
void
reset()
resets options for CSV import to defaultsvoid
setCustomDelimiter(String customDelimiter)
void
setCustomTextQualifier(String customTextQualifier)
void
setDelimiterType(ECSVDelimiterType delimiterType)
void
setIgnoreEmptyLines(boolean ignoreEmptyLines)
void
setTextQualifierType(ECSVTextQualifierType textQualifierType)
-
-
-
Method Detail
-
getIgnoreEmptyLines
public boolean getIgnoreEmptyLines()
- Returns:
- the ignoreEmptyLines
-
setIgnoreEmptyLines
public void setIgnoreEmptyLines(boolean ignoreEmptyLines)
- Parameters:
ignoreEmptyLines
- the ignoreEmptyLines to set
-
getCSVFormat
public CSVFormatWrapper getCSVFormat()
- Returns:
- the
CSVFormatWrapper
-
getDelimiterType
public ECSVDelimiterType getDelimiterType()
-
setDelimiterType
public void setDelimiterType(ECSVDelimiterType delimiterType)
-
getCustomDelimiter
public String getCustomDelimiter()
-
setCustomDelimiter
public void setCustomDelimiter(String customDelimiter)
-
getTextQualifierType
public ECSVTextQualifierType getTextQualifierType()
-
setTextQualifierType
public void setTextQualifierType(ECSVTextQualifierType textQualifierType)
-
getCustomTextQualifier
public String getCustomTextQualifier()
-
setCustomTextQualifier
public void setCustomTextQualifier(String customTextQualifier)
-
reset
public void reset()
resets options for CSV import to defaults
-
-