Package | Description |
---|---|
com.opencsv.bean |
A bean binding interface for use with opencsv.
|
com.opencsv.bean.util |
This is a package of utility classes for internal use.
|
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. |
protected BeanField<T,String> |
HeaderNameBaseMappingStrategy.findField(int col) |
protected BeanField<T,K> |
AbstractMappingStrategy.instantiateCustomConverter(Class<? extends AbstractBeanField<T,K>> converter)
Attempts to instantiate the class of the custom converter specified.
|
protected void |
AbstractMappingStrategy.loadFieldMap()
Builds a map of columns from the input to fields of the bean type.
|
void |
AbstractMappingStrategy.setType(Class<? extends T> type)
Sets the class type that is being mapped.
|
void |
MappingStrategy.setType(Class<? extends T> type)
Sets the class type that is being mapped.
|
Constructor and Description |
---|
ConverterNumber(Class<?> type,
String locale,
String writeLocale,
Locale errorLocale,
String readFormat,
String writeFormat,
RoundingMode roundingMode) |
Modifier and Type | Method and Description |
---|---|
static Pattern |
OpencsvUtils.compilePattern(String regex,
int regexFlags,
Class<?> callingClass,
Locale errorLocale)
Compiles a regular expression into a
Pattern ,
throwing an exception that is proper in the context of opencsv if the
regular expression is not valid. |
static Pattern |
OpencsvUtils.compilePatternAtLeastOneGroup(String regex,
int regexFlags,
Class<?> callingClass,
Locale errorLocale)
Compiles a regular expression into a
Pattern ,
throwing an exception that is proper in the context of opencsv if the
regular expression is not valid, or if it does not have at least one
capturing group. |
Copyright © 2005–2023. All rights reserved.