|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jsefa.common.lowlevel.config.LowLevelConfiguration
net.sf.jsefa.rbf.lowlevel.config.RbfLowLevelConfiguration
net.sf.jsefa.csv.lowlevel.config.CsvLowLevelConfiguration
public final class CsvLowLevelConfiguration
Configuration object for creating a CsvLowLevelSerializer or CsvLowLevelDeserializer. It uses
lazy initialization.
| Nested Class Summary | |
|---|---|
static interface |
CsvLowLevelConfiguration.Defaults
Set of default configuration values. |
| Constructor Summary | |
|---|---|
CsvLowLevelConfiguration()
Constructs a new CsvLowLevelConfiguration. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class net.sf.jsefa.rbf.lowlevel.config.RbfLowLevelConfiguration |
|---|
getLineFilter, getLineFilterLimit, getSpecialRecordDelimiter, setLineFilter, setLineFilterLimit, setSpecialRecordDelimiter |
| Methods inherited from class net.sf.jsefa.common.lowlevel.config.LowLevelConfiguration |
|---|
getLineBreak, setLineBreak |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CsvLowLevelConfiguration()
CsvLowLevelConfiguration.
| Method Detail |
|---|
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 mode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||