Conversion implementations with fields of a given input/output.
| Modifier and Type | Method and Description |
|---|---|
| public void | convertAll(Conversion<I, O>...
The sequence of conversions to be executed in all elements of a record conversions)Applies a set of |
| public FieldSet | Returns: AFieldSet for field names.The sequence of conversions to be executed in a set of field indexes. conversions)Applies a set of |
| public FieldSet | Returns: AFieldSet for indexes.The sequence of conversions to be executed in a set of field indexes. conversions)Applies a set of |
| public void | convertType(Class<?>
the type over which a sequence of conversions should be applied type, Conversion<I, O>... the sequence of conversions to apply over values of the given type. conversions)Applies a sequence of conversions over values of a given type. |
| convertAll | back to summary |
|---|---|
| public void convertAll(Conversion<I, O>... conversions) Applies a set of
| |
| convertFields | back to summary |
|---|---|
| public FieldSet Applies a set of The idiom to define which fields should have these conversions applied is as follows:
| |
| convertIndexes | back to summary |
|---|---|
| public FieldSet Applies a set of The idiom to define which indexes should have these conversions applies is as follows: processor.convertIndexes(Conversions.trim(), Conversions.toUpperCase()).add(2, 5); // applies trim and uppercase conversions to fields in indexes 2 and 5
| |
| convertType | back to summary |
|---|---|
| public void convertType(Class<?> type, Conversion<I, O>... conversions) Applies a sequence of conversions over values of a given type. Used for writing.
| |