Package com.univocity.parsers.common
Class ColumnMap
java.lang.Object
com.univocity.parsers.common.ColumnMap
Class responsible for calculating and storing the position of fields parsed from the input.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map<NormalizedString,
Integer> private final Context
private int[]
private int[]
private final ParserOutput
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
columnMap
-
enumMap
private int[] enumMap -
extractedIndexes
private int[] extractedIndexes -
context
-
output
-
-
Constructor Details
-
ColumnMap
-
-
Method Details
-
indexOf
Returns the position of a header (0 based).- Parameters:
header
- the header whose position will be returned- Returns:
- the position of the given header, or -1 if it could not be found.
-
validateHeader
-
indexOf
Returns the position of a header (0 based).- Parameters:
header
- the header whose position will be returned- Returns:
- the position of the given header, or -1 if it could not be found.
-
reset
void reset()
-