public class ExcludeFieldEnumSelector extends FieldSet<Enum> implements FieldSelector
This selector stores undesired fields, represented by values of an enumeration, and will return the indexes of those fields that are not part of the selection.
FieldSelector,
FieldSet| Constructor and Description |
|---|
ExcludeFieldEnumSelector() |
| Modifier and Type | Method and Description |
|---|---|
ExcludeFieldEnumSelector |
clone()
Clones this field selector.
|
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.
|
public int[] getFieldIndexes(NormalizedString[] headers)
getFieldIndexes in interface FieldSelectorheaders - the sequence of headers that might have some elements selected by this FieldSelectorpublic String describe()
FieldSetdescribe in interface FieldSelectordescribe in class FieldSet<Enum>public ExcludeFieldEnumSelector clone()
FieldSelectorclone in interface FieldSelectorclone in class FieldSet<Enum>public int[] getFieldIndexes(String[] headers)
FieldSelectorgetFieldIndexes in interface FieldSelectorheaders - the sequence of headers that might have some elements selected by this FieldSelectorCopyright © 2019 Univocity Software Pty Ltd. All rights reserved.