Interface | Description |
---|---|
BeanField<T,I> |
Used to extend the
Field class to include
functionality that opencsv requires. |
BeanVerifier<T> |
Classes implementing this interface may be used to verify and filter beans
after creation, but before being passed back to the calling application.
|
ComplexFieldMapEntry<I,K extends Comparable<K>,T> |
Defines the basic functionality necessary for using a many-to-one mapping
between columns of a CSV file and bean fields.
|
CsvConverter |
Classes implementing this interface perform a conversion from String to
some type on reading and some type to String on writing.
|
CsvToBeanFilter |
Filters allow lines of input to be ignored before a bean is created.
|
FieldMap<I,K extends Comparable<K>,C extends ComplexFieldMapEntry<I,K,T>,T> |
Defines the basic characteristics of a map between field identifiers and
their associated
BeanField s. |
MappingStrategy<T> |
The interface for the classes that handle translating between the columns in
the CSV file to an actual object.
|
Class | Description |
---|---|
AbstractBeanField<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.
|
AbstractCsvConverter |
This implementation of
CsvConverter provides a reasonable default
for CsvConverter.convertToWrite(java.lang.Object) as well as a couple
of common fields. |
AbstractFieldMap<I,K extends Comparable<K>,C extends ComplexFieldMapEntry<I,K,T>,T> |
A base class to collect all generalized components of a
FieldMap . |
AbstractFieldMapEntry<I,K extends Comparable<K>,T> |
Collects common aspects of a
ComplexFieldMapEntry . |
AbstractMappingStrategy<I,K extends Comparable<K>,C extends ComplexFieldMapEntry<I,K,T>,T> |
This class collects as many generally useful parts of the implementation
of a mapping strategy as possible.
|
AbstractMappingStrategy.RecursiveType |
Encapsulates a bean type and all of the member variables that need to be
recursed into.
|
BeanFieldJoin<T,I> |
This class is used for combining multiple columns of the input, possibly
with multiple identically named columns, into one field.
|
BeanFieldJoinIntegerIndex<T> |
Implements a
BeanFieldJoin with a Integer for an
index. |
BeanFieldJoinStringIndex<T> |
Implements a
BeanFieldJoin with a String for an
index. |
BeanFieldSingleValue<T,I> |
This class concerns itself with handling single-valued bean fields.
|
BeanFieldSplit<T,I> |
This class concerns itself with handling collection-valued bean fields.
|
ColumnPositionMappingStrategy<T> |
Allows for the mapping of columns with their positions.
|
ColumnPositionMappingStrategyBuilder<T> |
Builder for a
ColumnPositionMappingStrategy . |
ConverterCurrency |
This class converts an input ISO 4217 currency code to a
Currency
instance. |
ConverterDate |
This class converts an input to a date type.
|
ConverterEnum |
This class converts an input to an enumeration type and vice versa.
|
ConverterNumber |
This converter class is used in combination with
CsvNumber , that is,
when number inputs and outputs should be formatted. |
ConverterPrimitiveTypes |
This class wraps fields from the reflection API in order to handle
translation of primitive types and to add a "required" flag.
|
ConverterUUID |
This class converts an String to a
UUID
instance. |
CsvToBean<T> |
Converts CSV data to objects.
|
CsvToBeanBuilder<T> |
This class makes it possible to bypass all the intermediate steps and classes
in setting up to read from a CSV source to a list of beans.
|
FieldAccess<T> |
Encapsulates the logic for accessing member variables of classes.
|
FieldMapByName<T> |
This class maintains a mapping from header names out of a CSV file to bean
fields.
|
FieldMapByNameEntry<T> |
Represents one entry in
FieldMapByName . |
FieldMapByPosition<T> |
This class maintains a mapping from column position out of a CSV file to bean
fields.
|
FieldMapByPositionEntry<T> |
Represents one entry in
FieldMapByPosition . |
FuzzyMappingStrategy<T> |
A mapping strategy that tries to make the best match between header names
and non-annotated member variables.
|
FuzzyMappingStrategyBuilder<T> |
Builder for a
FuzzyMappingStrategy . |
HeaderColumnNameMappingStrategy<T> |
Maps data to objects using the column names in the first row of the CSV file
as reference.
|
HeaderColumnNameMappingStrategyBuilder<T> |
Builder for a
HeaderColumnNameMappingStrategy . |
HeaderColumnNameTranslateMappingStrategy<T> |
Expands on
HeaderColumnNameMappingStrategy by allowing the user to
pass in a map of column names to bean names. |
HeaderColumnNameTranslateMappingStrategyBuilder<T> |
Builder for a
HeaderColumnNameMappingStrategy . |
HeaderIndex |
A bi-directional mapping between column positions and header names.
|
HeaderNameBaseMappingStrategy<T> |
This class serves as a location to collect code common to a mapping strategy
that maps header names to member variables.
|
PositionToBeanField<T> |
Maps any column position matching a range definition to a
BeanField . |
RegexToBeanField<T> |
Maps any header name matching a regular expression to a
BeanField . |
StatefulBeanToCsv<T> |
This class writes beans out in CSV format to a
Writer ,
keeping state information and making an intelligent guess at the mapping
strategy to be applied. |
StatefulBeanToCsvBuilder<T> |
This is a builder for StatefulBeanToCsv, allowing one to set all parameters
necessary for writing a CSV file.
|
Annotation Type | Description |
---|---|
CsvBindAndJoinByName |
Joins the values of multiple columns from the input into one bean field based
on a pattern for the column names.
|
CsvBindAndJoinByNames |
This annotation is the container annotation for
CsvBindAndJoinByName . |
CsvBindAndJoinByPosition |
Joins the values of multiple columns from the input into one bean field based
on a selection of column positions.
|
CsvBindAndJoinByPositions |
This annotation is the container annotation for
CsvBindAndJoinByPosition . |
CsvBindAndSplitByName |
This annotation interprets one field of the input as a collection that will
be split up into its components and assigned to a collection-based bean field.
|
CsvBindAndSplitByNames |
This annotation is the container annotation for
CsvBindAndSplitByName . |
CsvBindAndSplitByPosition |
This annotation interprets one field of the input as a collection that will
be split up into its components and assigned to a collection-based bean field.
|
CsvBindAndSplitByPositions |
This annotation is the container annotation for
CsvBindAndSplitByPosition . |
CsvBindByName |
Specifies a binding between a column name of the CSV input and a field in a
bean.
|
CsvBindByNames |
This annotation is the container annotation for
CsvBindByName . |
CsvBindByPosition |
Specifies a binding between a column number of the CSV input and a field in
a bean.
|
CsvBindByPositions |
This annotation is the container annotation for
CsvBindByPosition . |
CsvCustomBindByName |
Allows us to specify a class that will perform the translation from source
to destination.
|
CsvCustomBindByNames |
This annotation is the container annotation for
CsvCustomBindByName . |
CsvCustomBindByPosition |
Allows us to specify a class that will perform the translation from source
to destination.
|
CsvCustomBindByPositions |
This annotation is the container annotation for
CsvCustomBindByPosition . |
CsvDate |
This annotation indicates that the destination field is an expression of time.
|
CsvDates |
This annotation is the container annotation for
CsvDate . |
CsvIgnore |
Instructs opencsv to ignore a field and any annotations present.
|
CsvNumber |
This annotation indicates that the destination field is a number that is
specially formatted.
|
CsvNumbers |
This annotation is the container annotation for
CsvNumber . |
CsvRecurse |
Instructs a mapping strategy to look inside a member variable for further
mapping annotations.
|
Copyright © 2005–2023. All rights reserved.