public class DelimitedParserConfiguration extends Object
| Constructor and Description | 
|---|
DelimitedParserConfiguration()
Constructs a new DelimitedParserConfiguration. 
 | 
DelimitedParserConfiguration(char delimiter)
Constructs a new DelimitedReaderConfiguration. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String[] | 
getComments()
Returns the array of comment prefixes. 
 | 
char | 
getDelimiter()
Returns the field delimiting character. 
 | 
Character | 
getEscape()
Returns the character used by the input stream to escape delimiters and itself. 
 | 
Character | 
getLineContinuationCharacter()
Returns the line continuation character or null if line
 continuation is disabled. 
 | 
String | 
getRecordTerminator()
Returns the character used to mark the end of a record. 
 | 
boolean | 
isCommentEnabled()
Returns whether one or more comment prefixes have been configured. 
 | 
boolean | 
isEscapeEnabled()
Returns whether an escape character is enabled. 
 | 
boolean | 
isLineContinationEnabled()
Returns whether the line continuation character is enabled. 
 | 
void | 
setComments(String[] comments)
Sets the array of comment prefixes. 
 | 
void | 
setDelimiter(char delimiter)
Sets the field delimiting character to use. 
 | 
void | 
setEscape(Character escapeCharacter)
Sets the character used by the input stream to escape delimiters and itself. 
 | 
void | 
setLineContinuationCharacter(Character lineContinuationCharacter)
Sets the line continuation character. 
 | 
void | 
setRecordTerminator(String recordTerminator)
Sets the character used to mark the end of a record. 
 | 
public DelimitedParserConfiguration()
public DelimitedParserConfiguration(char delimiter)
delimiter - the field delimiting characterpublic char getDelimiter()
public void setDelimiter(char delimiter)
delimiter - the record delimiting characterpublic Character getEscape()
public void setEscape(Character escapeCharacter)
escapeCharacter - the new escape characterpublic Character getLineContinuationCharacter()
public void setLineContinuationCharacter(Character lineContinuationCharacter)
lineContinuationCharacter - the line continuation characterpublic boolean isEscapeEnabled()
public boolean isLineContinationEnabled()
public String getRecordTerminator()
public void setRecordTerminator(String recordTerminator)
recordTerminator - the record termination characterpublic String[] getComments()
public void setComments(String[] comments)
comments - the array of comment prefixespublic boolean isCommentEnabled()