Uses of Interface
com.opencsv.bean.BeanField
-
Packages that use BeanField Package Description com.opencsv.bean A bean binding interface for use with opencsv.com.opencsv.bean.customconverter Custom converters that are generally useful are collected here.com.opencsv.bean.validators -
-
Uses of BeanField in com.opencsv.bean
Classes in com.opencsv.bean that implement BeanField Modifier and Type Class Description classAbstractBeanField<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.classBeanFieldJoinIntegerIndex<T>Implements aBeanFieldJoinwith aIntegerfor an index.classBeanFieldJoinStringIndex<T>Implements 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 BeanField Modifier and Type Field Description protected BeanField<T,K>AbstractFieldMapEntry. fieldTheBeanFieldthat is the target of this mapping.private BeanField<T,java.lang.String>FieldMapByNameEntry. fieldTheBeanFieldassociated with this header or these headers.private BeanField<T,java.lang.Integer>FieldMapByPositionEntry. fieldTheBeanFieldassociated with this position.Fields in com.opencsv.bean with type parameters of type BeanField Modifier and Type Field Description protected java.util.SortedMap<K,BeanField<T,K>>AbstractFieldMap. simpleMapA map for all simple, that is one-to-one, mappings represented in thisFieldMap.Methods in com.opencsv.bean that return BeanField Modifier and Type Method Description protected abstract BeanField<T,K>AbstractMappingStrategy. findField(int col)Gets the field for a given column position.protected BeanField<T,java.lang.Integer>ColumnPositionMappingStrategy. findField(int col)protected BeanField<T,java.lang.String>HeaderNameBaseMappingStrategy. findField(int col)BeanField<T,K>AbstractFieldMap. get(K key)BeanField<T,K>FieldMap. get(K key)Gets theBeanFieldassociated with this key.BeanField<T,K>AbstractFieldMapEntry. getBeanField()BeanField<T,K>ComplexFieldMapEntry. getBeanField()BeanField<T,java.lang.String>FieldMapByNameEntry. getField()BeanField<T,java.lang.Integer>FieldMapByPositionEntry. getField()protected BeanField<T,K>AbstractMappingStrategy. instantiateCustomConverter(java.lang.Class<? extends AbstractBeanField<T,K>> converter)Attempts to instantiate the class of the custom converter specified.BeanField<T,K>AbstractFieldMap. put(K key, BeanField<T,K> value)BeanField<T,K>FieldMap. put(K key, BeanField<T,K> value)Associates the givenBeanFieldwith the givenkey.Methods in com.opencsv.bean that return types with arguments of type BeanField Modifier and Type Method Description java.util.Collection<BeanField<T,K>>AbstractFieldMap. values()java.util.Collection<BeanField<T,K>>FieldMap. values()Provides all values currently in the map.Methods in com.opencsv.bean with parameters of type BeanField Modifier and Type Method Description BeanField<T,K>AbstractFieldMap. put(K key, BeanField<T,K> value)BeanField<T,K>FieldMap. put(K key, BeanField<T,K> value)Associates the givenBeanFieldwith the givenkey.voidFieldMap. putComplex(I initializer, BeanField<T,K> value)Adds aBeanFieldto this map indexed by the data ininitializer.voidFieldMapByName. putComplex(java.lang.String key, BeanField<T,java.lang.String> value)voidFieldMapByPosition. putComplex(java.lang.String rangeDefinition, BeanField<T,java.lang.Integer> field)Constructors in com.opencsv.bean with parameters of type BeanField Constructor Description AbstractFieldMapEntry(BeanField<T,K> field, java.util.Locale errorLocale)The only constructor, and it must be called by all derived classes.FieldMapByNameEntry(java.lang.String name, BeanField<T,java.lang.String> field, boolean regexPattern)Initializes the entry.FieldMapByPositionEntry(int position, BeanField<T,java.lang.Integer> field)Initializes this entry.PositionToBeanField(java.lang.String rangeDefinition, int maxIndex, BeanField<T,java.lang.Integer> field, java.util.Locale errorLocale)Initializes this mapping with a list of ranges and the associatedBeanField.RegexToBeanField(java.lang.String pattern, BeanField<T,java.lang.String> field, java.util.Locale errorLocale)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 BeanField Modifier and Type Class Description classConverterLanguageToBoolean<T,I>A base class for any converter to and from booleans when the string values have been or should be localized to a specific language.classConvertFrenchToBoolean<T,I>This class converts common French representations of boolean values into aBoolean.classConvertGermanToBoolean<T,I>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 Modifier and Type Method Description voidMustMatchRegexExpression. validate(java.lang.String value, BeanField field)voidStringValidator. validate(java.lang.String value, BeanField field)Performs the validation check on the string and throws an exception if invalid.
-