public class FieldNameSelector extends FieldSet<java.lang.String> implements FieldSelector, java.lang.Cloneable
FieldSelector,
FieldSet| Constructor and Description |
|---|
FieldNameSelector() |
| Modifier and Type | Method and Description |
|---|---|
int |
getFieldIndex(java.lang.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(java.lang.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, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, describepublic int getFieldIndex(java.lang.String header)
header - the header whose position will be returnedpublic int[] getFieldIndexes(NormalizedString[] headers)
FieldSelectorgetFieldIndexes in interface FieldSelectorheaders - the sequence of headers that might have some elements selected by this FieldSelectorpublic int[] getFieldIndexes(java.lang.String[] headers)
FieldSelectorgetFieldIndexes in interface FieldSelectorheaders - the sequence of headers that might have some elements selected by this FieldSelector