public class ExcludeFieldEnumSelector extends FieldSet<java.lang.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
Modifier and Type | Field and Description |
---|---|
private ExcludeFieldNameSelector |
names |
Constructor and Description |
---|
ExcludeFieldEnumSelector() |
Modifier and Type | Method and Description |
---|---|
ExcludeFieldEnumSelector |
clone()
Clones this field selector.
|
java.lang.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(java.lang.String[] headers)
Returns the indexes of any selected fields that are part of a sequence of headers.
|
private ExcludeFieldNameSelector names
public int[] getFieldIndexes(NormalizedString[] headers)
getFieldIndexes
in interface FieldSelector
headers
- the sequence of headers that might have some elements selected by this FieldSelectorpublic java.lang.String describe()
FieldSet
describe
in interface FieldSelector
describe
in class FieldSet<java.lang.Enum>
public ExcludeFieldEnumSelector clone()
FieldSelector
clone
in interface FieldSelector
clone
in class FieldSet<java.lang.Enum>
public int[] getFieldIndexes(java.lang.String[] headers)
FieldSelector
getFieldIndexes
in interface FieldSelector
headers
- the sequence of headers that might have some elements selected by this FieldSelector