| Modifier and Type | Interface and Description |
|---|---|
| public interface | BeanField<
Type of the bean being populated T, Type of the index into a multivalued field I>Used to extend the |
| public interface | BeanVerifier<
The type of bean being verified T>Classes implementing this interface may be used to verify and filter beans after creation, but before being passed back to the calling application. |
| public interface | ComplexFieldMapEntry<
The initializer type used to build the many-to-one mapping I, The type of the key used for indexing K extends ComparableThe type of the bean being converted T>Defines the basic functionality necessary for using a many-to-one mapping between columns of a CSV file and bean fields. |
| public interface | CsvConverter
Classes implementing this interface perform a conversion from String to some type on reading and some type to String on writing. |
| public interface | CsvToBeanFilter
Filters allow lines of input to be ignored before a bean is created. |
| public interface | FieldMap<
The initializer type used to build the many-to-one mapping I, Type of the field identifier (key) K extends ComparableType of the ComplexFieldMapEntry used. This is specified as a
parameter so we can provide type safety and polymorphism through a generic
interface on the one hand, and still extend specific implementations with
methods needed for that type of complex mapping without having to add every
such method to the generic interface. C extends ComplexFieldMapEntryThe type of the bean T>Defines the basic characteristics of a map between field identifiers and
their associated |
| public interface | MappingStrategy<
Type of object you are converting the data to. T>The interface for the classes that handle translating between the columns in the CSV file to an actual object. |
| Modifier and Type | Annotation and Description |
|---|---|
| public @interface | CsvBindAndJoinByName
Joins the values of multiple columns from the input into one bean field based on a pattern for the column names. |
| public @interface | CsvBindAndJoinByNames
This annotation is the container annotation for |
| public @interface | CsvBindAndJoinByPosition
Joins the values of multiple columns from the input into one bean field based on a selection of column positions. |
| public @interface | CsvBindAndJoinByPositions
This annotation is the container annotation for |
| public @interface | 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. |
| public @interface | CsvBindAndSplitByNames
This annotation is the container annotation for |
| public @interface | 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. |
| public @interface | CsvBindAndSplitByPositions
This annotation is the container annotation for |
| public @interface | CsvBindByName
Specifies a binding between a column name of the CSV input and a field in a bean. |
| public @interface | CsvBindByNames
This annotation is the container annotation for |
| public @interface | CsvBindByPosition
Specifies a binding between a column number of the CSV input and a field in a bean. |
| public @interface | CsvBindByPositions
This annotation is the container annotation for |
| public @interface | CsvCustomBindByName
Allows us to specify a class that will perform the translation from source to destination. |
| public @interface | CsvCustomBindByNames
This annotation is the container annotation for |
| public @interface | CsvCustomBindByPosition
Allows us to specify a class that will perform the translation from source to destination. |
| public @interface | CsvCustomBindByPositions
This annotation is the container annotation for |
| public @interface | CsvDate
This annotation indicates that the destination field is an expression of time. |
| public @interface | |
| public @interface | CsvIgnore
Instructs opencsv to ignore a field and any annotations present. |
| public @interface | CsvNumber
This annotation indicates that the destination field is a number that is specially formatted. |
| public @interface | CsvNumbers
This annotation is the container annotation for |
| public @interface | CsvRecurse
Instructs a mapping strategy to look inside a member variable for further mapping annotations. |
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | AbstractBeanField<
Type of the bean being populated T, Type of the index into a multivalued field 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. |
| public abstract class | AbstractCsvConverter
This implementation of |
| public abstract class | AbstractFieldMap<
The initializer type used to build the many-to-one mapping I, Type of the field identifier (key) K extends ComparableType of the ComplexFieldMapEntry used C extends ComplexFieldMapEntryType of the bean being converted T>A base class to collect all generalized components of a |
| public abstract class | AbstractFieldMapEntry<
The initializer type used to build the many-to-one mapping I, The type of the key used for indexing K extends ComparableThe type of the bean being converted T>Collects common aspects of a |
| public abstract class | AbstractMappingStrategy<
The initializer type used to build the internal many-to-one mapping I, The type of the key used for internal indexing K extends ComparableThe type of the internal many-to-one mapping C extends ComplexFieldMapEntryType of object that is being processed. T>This class collects as many generally useful parts of the implementation of a mapping strategy as possible. |
| public abstract class | |
| public abstract class | BeanFieldJoin<
The type of the bean being populated T, The index of the I>org. in useThis class is used for combining multiple columns of the input, possibly with multiple identically named columns, into one field. |
| public class | BeanFieldJoinIntegerIndex<
The type of the bean being populated T>Implements a |
| public class | BeanFieldJoinStringIndex<
The type of the bean being populated T>Implements a |
| public class | BeanFieldSingleValue<
The type of the bean being populated T, Type of the index into a multivalued field I>This class concerns itself with handling single-valued bean fields. |
| public class | BeanFieldSplit<
The type of the bean being populated T, Type of the index into a multivalued field I>This class concerns itself with handling collection-valued bean fields. |
| public class | ColumnPositionMappingStrategy<
Type of object that is being processed. T>Allows for the mapping of columns with their positions. |
| public class | ColumnPositionMappingStrategyBuilder<
The type of the bean being processed T>Builder for a |
| public class | ConverterCurrency
This class converts an input ISO 4217 currency code to a |
| public class | ConverterDate
This class converts an input to a date type. |
| public class | ConverterEnum
This class converts an input to an enumeration type and vice versa. |
| public class | ConverterNumber
This converter class is used in combination with |
| public class | ConverterPrimitiveTypes
This class wraps fields from the reflection API in order to handle translation of primitive types and to add a "required" flag. |
| public class | ConverterUUID
This class converts an String to a |
| public class | |
| public class | CsvToBeanBuilder<
Type of the bean to be populated 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. |
| public class | FieldAccess<
The type of the member variable being accessed T>Encapsulates the logic for accessing member variables of classes. |
| public class | FieldMapByName<
Type of the bean being converted T>This class maintains a mapping from header names out of a CSV file to bean fields. |
| public class | |
| public class | FieldMapByPosition<
Type of the bean being converted T>This class maintains a mapping from column position out of a CSV file to bean fields. |
| public class | FieldMapByPositionEntry<
The type of the bean being converted T>Represents one entry in |
| public class | FuzzyMappingStrategy<
The type of bean being processed T>A mapping strategy that tries to make the best match between header names and non-annotated member variables. |
| public class | FuzzyMappingStrategyBuilder<
The type of the bean being processed T>Builder for a |
| public class | HeaderColumnNameMappingStrategy<
Type of the bean to be returned T>Maps data to objects using the column names in the first row of the CSV file as reference. |
| public class | HeaderColumnNameMappingStrategyBuilder<
The type of the bean being processed T>Builder for a |
| public class | HeaderColumnNameTranslateMappingStrategy<
Class to be mapped. T>Expands on |
| public class | HeaderColumnNameTranslateMappingStrategyBuilder<
The type of the bean being processed T>Builder for a |
| public class | HeaderIndex
A bi-directional mapping between column positions and header names. |
| public abstract class | HeaderNameBaseMappingStrategy<
The type of bean being created or written T>This class serves as a location to collect code common to a mapping strategy that maps header names to member variables. |
| public class | PositionToBeanField<
Type of the bean being converted T>Maps any column position matching a range definition to a |
| public class | RegexToBeanField<
The type of the bean being converted T>Maps any header name matching a regular expression to a |
| public class | StatefulBeanToCsv<
Type of the bean to be written T>This class writes beans out in CSV format to a |
| public class | StatefulBeanToCsvBuilder<
The type of the beans being written T>This is a builder for StatefulBeanToCsv, allowing one to set all parameters necessary for writing a CSV file. |