public class FieldNameSelector extends FieldSet<String> implements FieldSelector, Cloneable
FieldSelector
,
FieldSet
Constructor and Description |
---|
FieldNameSelector() |
Modifier and Type | Method and Description |
---|---|
int |
getFieldIndex(String header)
Returns the position of a given header
|
int[] |
getFieldIndexes(NormalizedString[] headers)
Returns the indexes of any selected fields that are part of a sequence of headers.
|
int[] |
getFieldIndexes(String[] headers)
Returns the indexes of any selected fields that are part of a sequence of headers.
|
add, add, clone, describe, get, remove, remove, set, set, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, describe
public int getFieldIndex(String header)
header
- the header whose position will be returnedpublic int[] getFieldIndexes(NormalizedString[] headers)
FieldSelector
getFieldIndexes
in interface FieldSelector
headers
- the sequence of headers that might have some elements selected by this FieldSelectorpublic int[] getFieldIndexes(String[] headers)
FieldSelector
getFieldIndexes
in interface FieldSelector
headers
- the sequence of headers that might have some elements selected by this FieldSelectorCopyright © 2019 Univocity Software Pty Ltd. All rights reserved.