Uses of Interface
com.opencsv.bean.CsvConverter
-
Packages that use CsvConverter Package Description com.opencsv.bean A bean binding interface for use with opencsv. -
-
Uses of CsvConverter in com.opencsv.bean
Classes in com.opencsv.bean that implement CsvConverter Modifier and Type Class Description class
AbstractCsvConverter
This implementation ofCsvConverter
provides a reasonable default forconvertToWrite(java.lang.Object)
as well as a couple of common fields.class
ConverterDate
This class converts an input to a date type.class
ConverterNumber
This converter class is used in combination withCsvNumber
, that is, when number inputs and outputs should be formatted.class
ConverterPrimitiveTypes
This class wraps fields from the reflection API in order to handle translation of primitive types and to add a "required" flag.Fields in com.opencsv.bean declared as CsvConverter Modifier and Type Field Description protected CsvConverter
AbstractBeanField. converter
A class that converts from a string to the destination type on reading and vice versa on writing.Methods in com.opencsv.bean that return CsvConverter Modifier and Type Method Description protected CsvConverter
AbstractMappingStrategy. determineConverter(java.lang.reflect.Field field, java.lang.Class<?> elementType, java.lang.String locale, java.lang.String writeLocale, java.lang.Class<? extends AbstractCsvConverter> customConverter)
Given the information provided, determines the appropriate built-in converter to be passed in to theBeanField
being created.Constructors in com.opencsv.bean with parameters of type CsvConverter Constructor Description AbstractBeanField(java.lang.Class<?> type, java.lang.reflect.Field field, boolean required, java.util.Locale errorLocale, CsvConverter converter)
BeanFieldJoin(java.lang.Class<?> type, java.lang.reflect.Field field, boolean required, java.util.Locale errorLocale, CsvConverter converter, java.lang.Class<? extends org.apache.commons.collections4.MultiValuedMap> mapType, java.lang.String capture, java.lang.String format)
Creates a new instance.BeanFieldJoinIntegerIndex(java.lang.Class<?> type, java.lang.reflect.Field field, boolean required, java.util.Locale errorLocale, CsvConverter converter, java.lang.Class<? extends org.apache.commons.collections4.MultiValuedMap> mapType, java.lang.String capture, java.lang.String format)
Creates a new instance.BeanFieldJoinStringIndex(java.lang.Class<?> type, java.lang.reflect.Field field, boolean required, java.util.Locale errorLocale, CsvConverter converter, java.lang.Class<? extends org.apache.commons.collections4.MultiValuedMap> mapType, java.lang.String capture, java.lang.String format)
Creates a new instance.BeanFieldSingleValue(java.lang.Class<?> type, java.lang.reflect.Field field, boolean required, java.util.Locale errorLocale, CsvConverter converter, java.lang.String capture, java.lang.String format)
Simply calls the same constructor in the base class.BeanFieldSplit(java.lang.Class<?> type, java.lang.reflect.Field field, boolean required, java.util.Locale errorLocale, CsvConverter converter, java.lang.String splitOn, java.lang.String writeDelimiter, java.lang.Class<? extends java.util.Collection> collectionType, java.lang.String capture, java.lang.String format)
The only valid constructor.
-