|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.beanio.stream.delimited.DelimitedReaderConfiguration
public class DelimitedReaderConfiguration
Stores configuration settings for a DelimitedReader
.
DelimitedReader
Constructor Summary | |
---|---|
DelimitedReaderConfiguration()
Constructs a new DelimitedReaderConfiguration. |
|
DelimitedReaderConfiguration(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. |
Character |
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(Character 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 DelimitedReaderConfiguration()
public DelimitedReaderConfiguration(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 Character getRecordTerminator()
public void setRecordTerminator(Character recordTerminator)
recordTerminator
- the record termination characterpublic String[] getComments()
public void setComments(String[] comments)
comments
- the array of comment prefixespublic boolean isCommentEnabled()
|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |