Package | Description |
---|---|
com.j256.simplecsv.converter |
Classes which deal with the converting of strings to Java fields and back.
|
com.j256.simplecsv.processor |
Classes used to process CSV files.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractNumberConverter<T extends Number>
Abstract converter for Java Number types.
|
class |
BigDecimalConverter
Converter for the Java BigDecimal type.
|
class |
BigIntegerConverter
Converter for the Java BigInteger type.
|
class |
BooleanConverter
Converter for the Java Boolean type.
|
class |
ByteConverter
Converter for the Java Byte type.
|
class |
CharacterConverter
Converter for the Java String type.
|
class |
DateConverter
Converter for the Java java.util.Date type which uses the
SimpleDateFormat -- don't worry I protect it for
reentrance. |
class |
DoubleConverter
Converter for the Java Double type.
|
class |
EnumConverter
Converter for the Java Enum type associated with an Enum field.
|
class |
FloatConverter
Converter for the Java Float type.
|
class |
IntegerConverter
Converter for the Java Integer type.
|
class |
LongConverter
Converter for the Java Long type.
|
class |
ShortConverter
Converter for the Java Short type.
|
class |
StringConverter
Converter for the Java String type.
|
class |
UuidConverter
Converter for the Java UUID type.
|
class |
VoidConverter
Place holder so we can configure the fields with a default converter.
|
Modifier and Type | Method and Description |
---|---|
static Converter<?,?> |
ConverterUtils.constructConverter(Class<? extends Converter<?,?>> clazz)
Construct a converter instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
ConverterUtils.addInternalConverters(Map<Class<?>,Converter<?,?>> converterMap)
Add internal converters to the map.
|
static Converter<?,?> |
ConverterUtils.constructConverter(Class<? extends Converter<?,?>> clazz)
Construct a converter instance.
|
Modifier and Type | Method and Description |
---|---|
Converter<T,?> |
ColumnInfo.getConverter()
Returns the converter class associated with the column.
|
Modifier and Type | Method and Description |
---|---|
static <T> ColumnInfo<T> |
ColumnInfo.forTests(Converter<T,?> converter,
Class<?> type,
String format,
long converterFlags)
For testing purposes.
|
static <T> ColumnInfo<T> |
ColumnInfo.fromAnnotation(CsvColumn csvColumn,
String fieldName,
Class<T> type,
Field field,
Method getMethod,
Method setMethod,
Converter<T,?> converter)
Make a column-info instance from a Java Field.
|
static <T> ColumnInfo<T> |
ColumnInfo.fromAnnotation(CsvField csvField,
String fieldName,
Class<T> type,
Field field,
Method getMethod,
Method setMethod,
Converter<T,?> converter)
Make a column-info instance from a Java Field.
|
<FT> void |
CsvProcessor.registerConverter(Class<FT> clazz,
Converter<FT,?> converter)
Register a converter class for all instances of the class argument.
|
<FT> CsvProcessor<T> |
CsvProcessor.withConverter(Class<FT> clazz,
Converter<FT,?> converter)
Register a converter class for all instances of the class argument.
|
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.