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 TypeClassDescriptionclassAbstractBeanField<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.classBeanFieldJoin<T,I> This class is used for combining multiple columns of the input, possibly with multiple identically named columns, into one field.classImplements aBeanFieldJoinwith aIntegerfor an index.classImplements aBeanFieldJoinwith aStringfor an index.classBeanFieldSingleValue<T,I> This class concerns itself with handling single-valued bean fields.classBeanFieldSplit<T,I> This class concerns itself with handling collection-valued bean fields.Fields in com.opencsv.bean declared as BeanFieldModifier and TypeFieldDescriptionAbstractFieldMapEntry.fieldTheBeanFieldthat is the target of this mapping.FieldMapByNameEntry.fieldTheBeanFieldassociated with this header or these headers.FieldMapByPositionEntry.fieldTheBeanFieldassociated with this position.Fields in com.opencsv.bean with type parameters of type BeanFieldModifier and TypeFieldDescriptionAbstractFieldMap.simpleMapA 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 theBeanFieldassociated 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 givenBeanFieldwith 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 givenBeanFieldwith the givenkey.voidFieldMap.putComplex(I initializer, BeanField<T, K> value) Adds aBeanFieldto this map indexed by the data ininitializer.voidFieldMapByName.putComplex(String key, BeanField<T, String> value) voidFieldMapByPosition.putComplex(String rangeDefinition, BeanField<T, Integer> field) Constructors in com.opencsv.bean with parameters of type BeanFieldModifierConstructorDescriptionprotectedAbstractFieldMapEntry(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 theBeanFieldthey should be mapped to. -
Uses of BeanField in com.opencsv.bean.customconverter
Classes in com.opencsv.bean.customconverter that implement BeanFieldModifier and TypeClassDescriptionclassA base class for any converter to and from booleans when the string values have been or should be localized to a specific language.classThis class converts common French representations of boolean values into aBoolean.classThis 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