Used by CommonSettings to select fields for reading/writing
Also used by com.univocity.parsers.common.processor.ConversionProcessor to select fields that have to be converted.
FieldNameSelector, FieldIndexSelector, CommonSettings
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public FieldSet | Returns: the set of currently selected fieldsinformation that uniquely identifies each field fields)Validates and adds multiple field references |
| public FieldSet | Returns: the set of currently selected fieldsinformation that uniquely identifies each field fields)Validates and adds multiple field references |
| private void | addElement(T
information that uniquely identifies a field field)Validates and adds a reference to a field. |
| public FieldSet | |
| public String | Returns: a string that represents the current field selectionReturns a string that represents the current field selection |
| public List | |
| public FieldSet | Returns: the set of currently selected fieldsinformation that uniquely identifies each field fields)Removes multiple field references in the selection |
| public FieldSet | Returns: the set of currently selected fieldsinformation that uniquely identifies each field fields)Removes multiple field references in the selection |
| public FieldSet | Returns: the set of currently selected fieldsinformation that uniquely identifies each field fields)Validates and sets multiple field references. |
| public FieldSet | Returns: the set of currently selected fieldsinformation that uniquely identifies each field fields)Validates and sets multiple field references. |
| public String |
| fields | back to summary |
|---|---|
| private List<T> fields | |
| wrappedFieldSets | back to summary |
|---|---|
| private List<FieldSet<T>> wrappedFieldSets | |
| FieldSet | back to summary |
|---|---|
| public FieldSet() Creates am empty field set. For internal use only. | |
| FieldSet | back to summary |
|---|---|
| public FieldSet(List<FieldSet<T>> wrappedFieldSets) Creates a field set that wraps a collection of other field sets. For internal use only. | |
| add | back to summary |
|---|---|
| public FieldSet Validates and adds multiple field references
| |
| add | back to summary |
|---|---|
| public FieldSet Validates and adds multiple field references
| |
| addElement | back to summary |
|---|---|
| private void addElement(T field) Validates and adds a reference to a field.
| |
| clone | back to summary |
|---|---|
| public FieldSet Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| describe | back to summary |
|---|---|
| public String describe() Returns a string that represents the current field selection
| |
| get | back to summary |
|---|---|
| public List Returns a copy of the fields in this set
| |
| remove | back to summary |
|---|---|
| public FieldSet Removes multiple field references in the selection
| |
| remove | back to summary |
|---|---|
| public FieldSet Removes multiple field references in the selection
| |
| set | back to summary |
|---|---|
| public FieldSet Validates and sets multiple field references. Any existing reference will be discarded.
| |
| set | back to summary |
|---|---|
| public FieldSet Validates and sets multiple field references. Any existing reference will be discarded.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |