Uses of Class
com.univocity.parsers.common.fields.FieldSet
-
-
Uses of FieldSet in com.univocity.parsers.common
Methods in com.univocity.parsers.common that return FieldSet Modifier and Type Method Description FieldSet<java.lang.String>
ConversionProcessor. convertFields(Conversion... conversions)
Applies a set ofConversion
objects over fields of a record by name.FieldSet<java.lang.String>
DefaultConversionProcessor. convertFields(Conversion... conversions)
FieldSet<java.lang.Integer>
ConversionProcessor. convertIndexes(Conversion... conversions)
Applies a set ofConversion
objects over indexes of a record.FieldSet<java.lang.Integer>
DefaultConversionProcessor. convertIndexes(Conversion... conversions)
FieldSet<java.lang.Enum>
CommonSettings. excludeFields(java.lang.Enum... columns)
Selects columns which will not be read/written, by their namesFieldSet<java.lang.String>
CommonSettings. excludeFields(java.lang.String... fieldNames)
Selects fields which will not be read/written, by their namesFieldSet<java.lang.Integer>
CommonSettings. excludeIndexes(java.lang.Integer... fieldIndexes)
Selects columns which will not be read/written, by their positions(package private) FieldSet<?>
CommonParserSettings. getFieldSet()
Returns the set of selected fields, if any(package private) FieldSet<?>
CommonSettings. getFieldSet()
Returns the set of selected fields, if anyFieldSet<java.lang.Enum>
CommonSettings. selectFields(java.lang.Enum... columns)
Selects a sequence of fields for reading/writing by their namesFieldSet<java.lang.String>
CommonSettings. selectFields(java.lang.String... fieldNames)
Selects a sequence of fields for reading/writing by their names.FieldSet<java.lang.Integer>
CommonSettings. selectIndexes(java.lang.Integer... fieldIndexes)
Selects a sequence of fields for reading/writing by their positions.private <T> FieldSet<T>
CommonSettings. setFieldSet(FieldSet<T> fieldSet, T... values)
Replaces the current field selectionMethods in com.univocity.parsers.common with parameters of type FieldSet Modifier and Type Method Description private <T> FieldSet<T>
CommonSettings. setFieldSet(FieldSet<T> fieldSet, T... values)
Replaces the current field selection -
Uses of FieldSet in com.univocity.parsers.common.fields
Subclasses of FieldSet in com.univocity.parsers.common.fields Modifier and Type Class Description 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.Fields in com.univocity.parsers.common.fields with type parameters of type FieldSet Modifier and Type Field Description private java.util.List<FieldSet<T>>
FieldSet. wrappedFieldSets
Methods in com.univocity.parsers.common.fields that return FieldSet Modifier and Type Method Description FieldSet<T>
FieldSet. add(java.util.Collection<T> fields)
Validates and adds multiple field referencesFieldSet<T>
FieldSet. add(T... fields)
Validates and adds multiple field referencesFieldSet<java.lang.Enum>
FieldConversionMapping. applyConversionsOnFieldEnums(Conversion<java.lang.String,?>... conversions)
Applies a sequence of conversions on a selection of enumerations that represent fieldsFieldSet<java.lang.Integer>
FieldConversionMapping. applyConversionsOnFieldIndexes(Conversion<java.lang.String,?>... conversions)
Applies a sequence of conversions on a selection of field indexesFieldSet<java.lang.String>
FieldConversionMapping. applyConversionsOnFieldNames(Conversion<java.lang.String,?>... conversions)
Applies a sequence of conversions on a selection of field nameFieldSet<T>
FieldSet. clone()
FieldSet<T>
AbstractConversionMapping. registerConversions(Conversion<java.lang.String,?>... conversions)
Registers a sequence of conversions to a set of fields.FieldSet<T>
FieldSet. remove(java.util.Collection<T> fields)
Removes multiple field references in the selectionFieldSet<T>
FieldSet. remove(T... fields)
Removes multiple field references in the selectionFieldSet<T>
FieldSet. set(java.util.Collection<T> fields)
Validates and sets multiple field references.FieldSet<T>
FieldSet. set(T... fields)
Validates and sets multiple field references.Constructor parameters in com.univocity.parsers.common.fields with type arguments of type FieldSet Constructor Description FieldSet(java.util.List<FieldSet<T>> wrappedFieldSets)
Creates a field set that wraps a collection of other field sets. -
Uses of FieldSet in com.univocity.parsers.common.processor.core
Methods in com.univocity.parsers.common.processor.core that return FieldSet Modifier and Type Method Description FieldSet<java.lang.String>
AbstractMultiBeanProcessor. convertFields(Conversion... conversions)
FieldSet<java.lang.Integer>
AbstractMultiBeanProcessor. convertIndexes(Conversion... conversions)
-
Uses of FieldSet in com.univocity.parsers.common.record
Methods in com.univocity.parsers.common.record that return FieldSet Modifier and Type Method Description FieldSet<java.lang.String>
RecordMetaData. convertFields(Conversion... conversions)
Associates a sequence ofConversion
s to fields of a given set of field names<T extends java.lang.Enum<T>>
FieldSet<T>RecordMetaData. convertFields(java.lang.Class<T> enumType, Conversion... conversions)
Associates a sequence ofConversion
s to fields of a given set of fieldsFieldSet<java.lang.String>
RecordMetaDataImpl. convertFields(Conversion... conversions)
<T extends java.lang.Enum<T>>
FieldSet<T>RecordMetaDataImpl. convertFields(java.lang.Class<T> enumType, Conversion... conversions)
FieldSet<java.lang.Integer>
RecordMetaData. convertIndexes(Conversion... conversions)
Associates a sequence ofConversion
s to fields of a given set of column indexesFieldSet<java.lang.Integer>
RecordMetaDataImpl. convertIndexes(Conversion... conversions)
-
Uses of FieldSet in com.univocity.parsers.csv
Methods in com.univocity.parsers.csv that return FieldSet Modifier and Type Method Description FieldSet<java.lang.Enum>
CsvWriterSettings. quoteFields(java.lang.Enum... columns)
Selects fields whose values should always be written within quotesFieldSet<java.lang.String>
CsvWriterSettings. quoteFields(java.lang.String... columns)
Selects fields whose values should always be written within quotesFieldSet<java.lang.Integer>
CsvWriterSettings. quoteIndexes(java.lang.Integer... columns)
Selects field positions whose values should always be written within quotesprivate <T> FieldSet<T>
CsvWriterSettings. setFieldSet(FieldSet<T> fieldSet, T... values)
Replaces the current quoted field selectionMethods in com.univocity.parsers.csv with parameters of type FieldSet Modifier and Type Method Description private <T> FieldSet<T>
CsvWriterSettings. setFieldSet(FieldSet<T> fieldSet, T... values)
Replaces the current quoted field selection
-