public class FixedLengthParserConfiguration extends Object
Constructor and Description |
---|
FixedLengthParserConfiguration()
Constructs a new FixedLengthParserConfiguration.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getComments()
Returns the array of comment prefixes.
|
Character |
getLineContinuationCharacter()
Returns the line continuation character.
|
String |
getLineSeparator()
Deprecated.
|
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 |
isLineContinationEnabled()
Returns whether the line continuation character is enabled.
|
void |
setComments(String[] comments)
Sets the array of comment prefixes.
|
void |
setLineContinuationCharacter(Character lineContinuationCharacter)
Sets the line continuation character.
|
void |
setLineSeparator(String lineSeparator)
Deprecated.
|
void |
setRecordTerminator(String recordTerminator)
Sets the character used to mark the end of a record.
|
public FixedLengthParserConfiguration()
public Character getLineContinuationCharacter()
public void setLineContinuationCharacter(Character lineContinuationCharacter)
lineContinuationCharacter
- the line continuation characterpublic 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()
public String getLineSeparator()
public void setLineSeparator(String lineSeparator)
lineSeparator
- the line separation text