Package | Description |
---|---|
com.univocity.parsers.common | |
com.univocity.parsers.common.fields |
Modifier and Type | Field and Description |
---|---|
private FieldSelector |
CommonSettings.fieldSelector |
Modifier and Type | Method and Description |
---|---|
(package private) FieldSelector |
ParserOutput.getFieldSelector() |
(package private) FieldSelector |
CommonSettings.getFieldSelector()
Returns the FieldSelector object, which handles selected fields.
|
(package private) FieldSelector |
CommonParserSettings.getFieldSelector()
Returns the FieldSelector object, which handles selected fields.
|
Modifier and Type | Method and Description |
---|---|
static int |
ArgumentUtils.indexOf(java.lang.String[] array,
java.lang.String element,
FieldSelector fieldSelector)
Returns the index of a header, when headers are selected using a
FieldSelector . |
Modifier and Type | Class and Description |
---|---|
class |
AllIndexesSelector
A FieldSelector that selects all indexes of a record.
|
class |
ExcludeFieldEnumSelector
A FieldSelector capable of deselecting fields in a record.
|
class |
ExcludeFieldIndexSelector
A FieldSelector capable of deselecting fields by their position in a record.
|
class |
ExcludeFieldNameSelector
A FieldSelector capable of deselecting fields by their name in a record.
|
class |
FieldEnumSelector
A FieldSelector capable of selecting fields represented by values of an enumeration type.
|
class |
FieldIndexSelector
A FieldSelector capable of selecting fields by their position in a record.
|
class |
FieldNameSelector
A FieldSelector capable of selecting fields by their name.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<FieldSelector> |
FieldConversionMapping.conversionSequence
This list contains the sequence of conversions applied to sets of fields over multiple calls.
|
private java.util.List<FieldSelector> |
AbstractConversionMapping.conversionSequence |
private java.util.Map<FieldSelector,Conversion<java.lang.String,?>[]> |
AbstractConversionMapping.conversionsMap |
Modifier and Type | Method and Description |
---|---|
protected abstract FieldSelector |
AbstractConversionMapping.newFieldSelector()
Creates a FieldSelector instance of the desired type.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractConversionMapping.prepareExecution(boolean writing,
FieldSelector selector,
java.util.Map<java.lang.Integer,java.util.List<Conversion<?,?>>> conversionsByIndex,
java.lang.String[] values)
Get all indexes in the given selector and adds the conversions defined at that index to the map of conversionsByIndex.
|
private static void |
AbstractConversionMapping.validateDuplicates(FieldSelector selector,
java.util.List<Conversion<?,?>> conversionsAtIndex,
Conversion<?,?>[] conversionsToAdd)
Ensures an individual field does not have the same conversion object applied to it more than once.
|
Constructor and Description |
---|
AbstractConversionMapping(java.util.List<FieldSelector> conversionSequence) |