mirror of
https://github.com/apache/commons-csv.git
synced 2025-03-07 01:09:12 +00:00
Additional convenience fields
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303929 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
83e4a903b1
commit
523171ed41
@ -34,6 +34,9 @@ abstract class Lexer {
|
||||
private final char encapsulator;
|
||||
private final char commmentStart;
|
||||
|
||||
final boolean leadingSpacesIgnored;
|
||||
final boolean trailingSpacesIgnored;
|
||||
final boolean emptyLinesIgnored;
|
||||
|
||||
final CSVFormat format;
|
||||
|
||||
@ -50,6 +53,9 @@ abstract class Lexer {
|
||||
this.escape = format.getEscape();
|
||||
this.encapsulator = format.getEncapsulator();
|
||||
this.commmentStart = format.getCommentStart();
|
||||
this.leadingSpacesIgnored = format.isLeadingSpacesIgnored();
|
||||
this.trailingSpacesIgnored = format.isTrailingSpacesIgnored();
|
||||
this.emptyLinesIgnored = format.isEmptyLinesIgnored();
|
||||
}
|
||||
|
||||
int getLineNumber() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user