Uses of Package
com.opencsv.bean
Packages that use com.opencsv.bean
Package
Description
A bean binding interface for use with opencsv.
This package collects all classes necessary for the parallel processing of
beans.
Custom converters that are generally useful are collected here.
This is a package of utility classes for internal use.
-
Classes in com.opencsv.bean used by com.opencsv.beanClassDescriptionThis base bean takes over the responsibility of converting the supplied string to the proper type for the destination field and setting the destination field.This implementation of
CsvConverter
provides a reasonable default forCsvConverter.convertToWrite(java.lang.Object)
as well as a couple of common fields.A base class to collect all generalized components of aFieldMap
.Collects common aspects of aComplexFieldMapEntry
.This class collects as many generally useful parts of the implementation of a mapping strategy as possible.Encapsulates a bean type and all of the member variables that need to be recursed into.Used to extend theField
class to include functionality that opencsv requires.This class is used for combining multiple columns of the input, possibly with multiple identically named columns, into one field.This class concerns itself with handling single-valued bean fields.Classes implementing this interface may be used to verify and filter beans after creation, but before being passed back to the calling application.Allows for the mapping of columns with their positions.Defines the basic functionality necessary for using a many-to-one mapping between columns of a CSV file and bean fields.Joins the values of multiple columns from the input into one bean field based on a pattern for the column names.Joins the values of multiple columns from the input into one bean field based on a selection of column positions.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.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.Specifies a binding between a column name of the CSV input and a field in a bean.Specifies a binding between a column number of the CSV input and a field in a bean.Classes implementing this interface perform a conversion from String to some type on reading and some type to String on writing.Allows us to specify a class that will perform the translation from source to destination.Allows us to specify a class that will perform the translation from source to destination.Converts CSV data to objects.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.Filters allow lines of input to be ignored before a bean is created.Encapsulates the logic for accessing member variables of classes.Defines the basic characteristics of a map between field identifiers and their associatedBeanField
s.This class maintains a mapping from header names out of a CSV file to bean fields.Represents one entry inFieldMapByName
.This class maintains a mapping from column position out of a CSV file to bean fields.Represents one entry inFieldMapByPosition
.A mapping strategy that tries to make the best match between header names and non-annotated member variables.This is a simple class for grouping header name, member variable name, and the result of fuzzy matching in one sortable place.Builder for aFuzzyMappingStrategy
.Maps data to objects using the column names in the first row of the CSV file as reference.Builder for aHeaderColumnNameMappingStrategy
.Expands onHeaderColumnNameMappingStrategy
by allowing the user to pass in a map of column names to bean names.Builder for aHeaderColumnNameMappingStrategy
.A bi-directional mapping between column positions and header names.This class serves as a location to collect code common to a mapping strategy that maps header names to member variables.The interface for the classes that handle translating between the columns in the CSV file to an actual object.This class writes beans out in CSV format to aWriter
, keeping state information and making an intelligent guess at the mapping strategy to be applied.This is a builder for StatefulBeanToCsv, allowing one to set all parameters necessary for writing a CSV file. -
Classes in com.opencsv.bean used by com.opencsv.bean.concurrentClassDescriptionClasses implementing this interface may be used to verify and filter beans after creation, but before being passed back to the calling application.Filters allow lines of input to be ignored before a bean is created.The interface for the classes that handle translating between the columns in the CSV file to an actual object.
-
Classes in com.opencsv.bean used by com.opencsv.bean.customconverterClassDescriptionThis base bean takes over the responsibility of converting the supplied string to the proper type for the destination field and setting the destination field.Used to extend the
Field
class to include functionality that opencsv requires. -
Classes in com.opencsv.bean used by com.opencsv.bean.utilClassDescriptionThe interface for the classes that handle translating between the columns in the CSV file to an actual object.
-
Classes in com.opencsv.bean used by com.opencsv.bean.validators