|
BeanIO 2.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.beanio.stream.delimited.DelimitedParserConfiguration
public class DelimitedParserConfiguration
Stores configuration settings for parsing delimited formatted streams.
Constructor Summary | |
---|---|
DelimitedParserConfiguration()
Constructs a new DelimitedParserConfiguration. |
|
DelimitedParserConfiguration(char delimiter)
Constructs a new DelimitedReaderConfiguration. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelimitedParserConfiguration()
public DelimitedParserConfiguration(char delimiter)
delimiter
- the field delimiting characterMethod Detail |
---|
public 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()
|
BeanIO 2.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |