Class FieldSplitFormat
java.lang.Object
org.archive.format.cdx.FieldSplitFormat
Specify a format for FieldSplitLine with names, and nameToIndex mapping for faster lookup
- Author:
- ilya
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFieldSplitFormat(String commaSepList) FieldSplitFormat(String... names) FieldSplitFormat(List<String> names) -
Method Summary
Modifier and TypeMethodDescriptionaddFieldNames(String... newNameArray) createSubset(String commaSepList) createSubset(FieldSplitFormat input) intgetFieldIndex(String name) Return field index for given nameintgetName(int i)
-
Field Details
-
names
-
nameToIndex
-
-
Constructor Details
-
FieldSplitFormat
-
FieldSplitFormat
-
FieldSplitFormat
-
-
Method Details
-
addFieldNames
-
createSubset
-
createSubset
-
getFieldIndex
-
getLength
public int getLength() -
getName
-