public class ExcludeFieldNameSelector extends FieldSet<String> implements FieldSelector, Cloneable
This selector stores undesired fields and will return the indexes of those fields that are not part of the selection.
FieldSelector
,
FieldSet
Constructor and Description |
---|
ExcludeFieldNameSelector() |
Modifier and Type | Method and Description |
---|---|
String |
describe()
Returns a string that represents the current field selection
|
int[] |
getFieldIndexes(NormalizedString[] headers)
Returns the indexes of any that are part of a sequence of headers but not part of the selection.
|
int[] |
getFieldIndexes(String[] headers)
Returns the indexes of any selected fields that are part of a sequence of headers.
|
add, add, clone, get, remove, remove, set, set, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone
public int[] getFieldIndexes(NormalizedString[] headers)
getFieldIndexes
in interface FieldSelector
headers
- the sequence of headers that might have some elements selected by this FieldSelectorpublic String describe()
FieldSet
describe
in interface FieldSelector
describe
in class FieldSet<String>
public int[] getFieldIndexes(String[] headers)
FieldSelector
getFieldIndexes
in interface FieldSelector
headers
- the sequence of headers that might have some elements selected by this FieldSelectorCopyright © 2022 Univocity Software Pty Ltd. All rights reserved.