public final class CsvLowLevelConfiguration extends RbfLowLevelConfiguration
CsvLowLevelSerializer or CsvLowLevelDeserializer. It uses
lazy initialization.| Modifier and Type | Class and Description |
|---|---|
static interface |
CsvLowLevelConfiguration.Defaults
Set of default configuration values.
|
| Constructor and Description |
|---|
CsvLowLevelConfiguration()
Constructs a new
CsvLowLevelConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
CsvLowLevelConfiguration |
createCopy()
Creates a copy of this
LowLevelConfiguration. |
char |
getEscapeCharacter()
Returns the escape character.
|
char |
getFieldDelimiter()
Returns the delimiter used to separate the CSV fields.
|
char |
getQuoteCharacter()
Returns the quote used to surround a field.
|
EscapeMode |
getQuoteCharacterEscapeMode()
Returns the escape mode for the quote character.
|
boolean |
getUseDelimiterAfterLastField()
Returns true if the last CSV field should end with a delimiter.
|
void |
setEscapeCharacter(char escapeCharacter)
Sets the escape character.
|
void |
setFieldDelimiter(char fieldDelimiter)
Sets the delimiter to be used to separate the CSV fields.
|
void |
setQuoteCharacter(char quoteCharacter)
Sets the quote character.
|
void |
setQuoteCharacterEscapeMode(EscapeMode quoteCharacterEscapeMode)
Sets the escape mode for the quote character.
|
void |
setUseDelimiterAfterLastField(boolean useDelimiterAfterLastField)
Specifies whether the last CSV field should end with a delimiter or not.
|
getLineFilter, getLineFilterLimit, getSpecialRecordDelimiter, setLineFilter, setLineFilterLimit, setSpecialRecordDelimitergetLineBreak, setLineBreakpublic CsvLowLevelConfiguration()
CsvLowLevelConfiguration.public CsvLowLevelConfiguration createCopy()
LowLevelConfiguration.createCopy in class LowLevelConfigurationLowLevelConfigurationpublic char getFieldDelimiter()
public char getQuoteCharacter()
public EscapeMode getQuoteCharacterEscapeMode()
public boolean getUseDelimiterAfterLastField()
public char getEscapeCharacter()
public void setFieldDelimiter(char fieldDelimiter)
fieldDelimiter - the delimiterpublic void setQuoteCharacter(char quoteCharacter)
quoteCharacter - the quote characterpublic void setEscapeCharacter(char escapeCharacter)
escapeCharacter - the escape characterpublic void setUseDelimiterAfterLastField(boolean useDelimiterAfterLastField)
useDelimiterAfterLastField - true, if the last CSV field should end with a delimiter; otherwise false.public void setQuoteCharacterEscapeMode(EscapeMode quoteCharacterEscapeMode)
quoteCharacterEscapeMode - the escape modeCopyright © 2014. All rights reserved.