FieldSelector
public class ExcludeFieldIndexSelector extends FieldSet<java.lang.Integer> implements FieldSelector
This selector stores undesired fields and will return the indexes of those fields that are not part of the selection.
FieldSelector
,
FieldSet
Constructor | Description |
---|---|
ExcludeFieldIndexSelector() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
describe() |
Returns a string that represents the current field selection
|
int[] |
getFieldIndexes(java.lang.String[] columns) |
Returns the indexes of any that are part of a sequence of headers but not part of the selection.
|
public int[] getFieldIndexes(java.lang.String[] columns)
getFieldIndexes
in interface FieldSelector
columns
- 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.Integer>