Package | Description |
---|---|
com.opencsv.bean |
A bean binding interface for use with opencsv.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCsvConverter
This implementation of
CsvConverter provides a reasonable default
for convertToWrite(java.lang.Object) as well as a couple
of common fields. |
class |
ConverterCurrency
This class converts an input ISO 4217 currency code to a
Currency
instance. |
class |
ConverterDate
This class converts an input to a date type.
|
class |
ConverterEnum
This class converts an input to an enumeration type and vice versa.
|
class |
ConverterNumber
This converter class is used in combination with
CsvNumber , 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.
|
class |
ConverterUUID
This class converts an String to a
UUID
instance. |
Modifier and Type | Field and Description |
---|---|
protected CsvConverter |
AbstractBeanField.converter
A class that converts from a string to the destination type on reading
and vice versa on writing.
|
Modifier and Type | Method and Description |
---|---|
protected CsvConverter |
AbstractMappingStrategy.determineConverter(Field field,
Class<?> elementType,
String locale,
String writeLocale,
Class<? extends AbstractCsvConverter> customConverter)
Given the information provided, determines the appropriate built-in
converter to be passed in to the
BeanField being created. |
Constructor and Description |
---|
AbstractBeanField(Class<?> type,
Field field,
boolean required,
Locale errorLocale,
CsvConverter converter) |
BeanFieldJoin(Class<?> type,
Field field,
boolean required,
Locale errorLocale,
CsvConverter converter,
Class<? extends org.apache.commons.collections4.MultiValuedMap> mapType,
String capture,
String format)
Creates a new instance.
|
BeanFieldJoinIntegerIndex(Class<?> type,
Field field,
boolean required,
Locale errorLocale,
CsvConverter converter,
Class<? extends org.apache.commons.collections4.MultiValuedMap> mapType,
String capture,
String format)
Creates a new instance.
|
BeanFieldJoinStringIndex(Class<?> type,
Field field,
boolean required,
Locale errorLocale,
CsvConverter converter,
Class<? extends org.apache.commons.collections4.MultiValuedMap> mapType,
String capture,
String format)
Creates a new instance.
|
BeanFieldSingleValue(Class<?> type,
Field field,
boolean required,
Locale errorLocale,
CsvConverter converter,
String capture,
String format)
Simply calls the same constructor in the base class.
|
BeanFieldSplit(Class<?> type,
Field field,
boolean required,
Locale errorLocale,
CsvConverter converter,
String splitOn,
String writeDelimiter,
Class<? extends Collection> collectionType,
Class<?> elementType,
String capture,
String format)
The only valid constructor.
|
Copyright © 2005–2023. All rights reserved.