Package org.supercsv.io
Provides the various readers and writers used to read/write Strings, Maps, or Objects. In order to
use a reader/writer it should be configured with CellProcessors and a CSVPreference.
-
Interface Summary Interface Description ICsvBeanReader Interface for CSV readers reading into objects/beans.ICsvBeanWriter Interface for all CSV writers writing to beans.ICsvListReader Interface for readers that read into Lists.ICsvListWriter Interface for writers that write to a List.ICsvMapReader The interface for MapReaders, which read each CSV row into a Map.ICsvMapWriter The interface for writers that write from Maps.ICsvReader The interface for CSV readers.ICsvResultSetWriter Interface for CSV writers writing JDBCResultSet
ICsvWriter The interface for CSV writers.ITokenizer The interface for tokenizers, which are responsible for reading the CSV file, line by line. -
Class Summary Class Description AbstractCsvReader Defines the standard behaviour of a CSV reader.AbstractCsvWriter Defines the standard behaviour of a CSV writer.AbstractTokenizer Defines the standard behaviour of a Tokenizer.CsvBeanReader CsvBeanReader reads a CSV file by instantiating a bean for every row and mapping each column to a field on the bean (using the supplied name mapping).CsvBeanWriter CsvBeanWriter writes a CSV file by mapping each field on the bean to a column in the CSV file (using the supplied name mapping).CsvListReader CsvListReader is a simple reader that reads a row from a CSV file into a List of Strings.CsvListWriter CsvListWriter is a simple writer capable of writing arrays and Lists to a CSV file.CsvMapReader CsvMapReader reads each CSV row into a Map with the column name as the map key, and the column value as the map value.CsvMapWriter CsvMapWriter writes Maps of Objects to a CSV file.CsvResultSetWriter CsvResultSetWriter writes a CSV file by mapping each column of theResultSet
to a column in CSV file using the column names stored inResultSetMetaData
Tokenizer Reads the CSV file, line by line.