Uses of Interface
com.opencsv.bean.BeanField
Packages that use BeanField
Package
Description
A bean binding interface for use with opencsv.
Custom converters that are generally useful are collected here.
-
Uses of BeanField in com.opencsv.bean
Classes in com.opencsv.bean that implement BeanFieldModifier and TypeClassDescriptionclass
AbstractBeanField<T,
I> This base bean takes over the responsibility of converting the supplied string to the proper type for the destination field and setting the destination field.class
BeanFieldJoin<T,
I> This class is used for combining multiple columns of the input, possibly with multiple identically named columns, into one field.class
Implements aBeanFieldJoin
with aInteger
for an index.class
Implements aBeanFieldJoin
with aString
for an index.class
BeanFieldSingleValue<T,
I> This class concerns itself with handling single-valued bean fields.class
BeanFieldSplit<T,
I> This class concerns itself with handling collection-valued bean fields.Fields in com.opencsv.bean declared as BeanFieldModifier and TypeFieldDescriptionAbstractFieldMapEntry.field
TheBeanField
that is the target of this mapping.FieldMapByNameEntry.field
TheBeanField
associated with this header or these headers.FieldMapByPositionEntry.field
TheBeanField
associated with this position.Fields in com.opencsv.bean with type parameters of type BeanFieldModifier and TypeFieldDescriptionAbstractFieldMap.simpleMap
A map for all simple, that is one-to-one, mappings represented in thisFieldMap
.Methods in com.opencsv.bean that return BeanFieldModifier and TypeMethodDescriptionAbstractMappingStrategy.findField
(int col) Gets the field for a given column position.ColumnPositionMappingStrategy.findField
(int col) HeaderNameBaseMappingStrategy.findField
(int col) Gets theBeanField
associated with this key.AbstractFieldMapEntry.getBeanField()
ComplexFieldMapEntry.getBeanField()
FieldMapByNameEntry.getField()
FieldMapByPositionEntry.getField()
AbstractMappingStrategy.instantiateCustomConverter
(Class<? extends AbstractBeanField<T, K>> converter) Attempts to instantiate the class of the custom converter specified.Associates the givenBeanField
with the givenkey
.Methods in com.opencsv.bean that return types with arguments of type BeanFieldModifier and TypeMethodDescriptionAbstractFieldMap.values()
FieldMap.values()
Provides all values currently in the map.Methods in com.opencsv.bean with parameters of type BeanFieldModifier and TypeMethodDescriptionAssociates the givenBeanField
with the givenkey
.void
FieldMap.putComplex
(I initializer, BeanField<T, K> value) Adds aBeanField
to this map indexed by the data ininitializer
.void
FieldMapByName.putComplex
(String key, BeanField<T, String> value) void
FieldMapByPosition.putComplex
(String rangeDefinition, BeanField<T, Integer> field) Constructors in com.opencsv.bean with parameters of type BeanFieldModifierConstructorDescriptionprotected
AbstractFieldMapEntry
(BeanField<T, K> field, Locale errorLocale) The only constructor, and it must be called by all derived classes.FieldMapByNameEntry
(String name, BeanField<T, String> field, boolean regexPattern) Initializes the entry.FieldMapByPositionEntry
(int position, BeanField<T, Integer> field) Initializes this entry.PositionToBeanField
(String rangeDefinition, int maxIndex, BeanField<T, Integer> field, Locale errorLocale) Initializes this mapping with a list of ranges and the associatedBeanField
.Initializes this mapping with the regular expression used to map header names and theBeanField
they should be mapped to. -
Uses of BeanField in com.opencsv.bean.customconverter
Classes in com.opencsv.bean.customconverter that implement BeanFieldModifier and TypeClassDescriptionclass
A base class for any converter to and from booleans when the string values have been or should be localized to a specific language.class
This class converts common French representations of boolean values into aBoolean
.class
This class converts common German representations of boolean values into aBoolean
. -
Uses of BeanField in com.opencsv.bean.validators
Methods in com.opencsv.bean.validators with parameters of type BeanField