All Classes and Interfaces
Class
Description
Defines the standard behaviour of a CSV reader.
Defines the standard behaviour of a CSV writer.
Abstract base class for cell processors converting
TemporalAccessor
types to Strings.Abstract base class for cell processors converting Strings to
TemporalAccessor
types.Defines the standard behaviour of a Tokenizer.
When using AlwaysQuoteMode surrounding quotes are always applied.
This is part of the internal implementation of Super CSV.
Interface to indicate the a CellProcessor is capable of processing Boolean values.
Defines the interface of all CellProcessors.
Abstract super class containing shared behaviour of all cell processors.
This is an implementation-specific processor and should only be used by the CellProcessorAdaptor class.
This processor collects each value it encounters and adds it to the supplied Collection.
When using ColumnQuoteMode surrounding quotes are only applied if required to escape special characters (per
RFC4180), or if a particular column should always be quoted.
Interface for comment matchers.
CommentMatcher that matches lines that match a specified regular expression.
CommentMatcher that matches lines that begin with a specified String.
This processor returns a specified default value if the input is null.
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 writes a CSV file by mapping each field on the bean to a column in the CSV file (using the supplied
name mapping).
This object represents the current context of a given CSV file being either read or written to.
Defines the interface for all CSV encoders.
CsvListReader is a simple reader that reads a row from a CSV file into a List of Strings.
CsvListWriter is a simple writer capable of writing arrays and Lists to a CSV file.
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 writes Maps of Objects to a CSV file.
Before reading or writing CSV files, you must supply the reader/writer with some preferences.
Builds immutable CsvPreference instances.
CsvResultSetWriter writes a CSV file by mapping each column of the
ResultSet
to a column in CSV file using
the column names stored in ResultSetMetaData
Interface to indicate the a CellProcessor is capable of processing Date values.
The default CsvEncoder implementation.
Converts the input data to a Double and ensures that number is within a specified numeric range (inclusive).
Interface to indicate the a CellProcessor is capable of processing Double values.
This constraint ensures that all input data is equal (to each other, or to a supplied constant value).
Converts a Boolean into a formatted string.
Converts a date into a formatted string using the
SimpleDateFormat
class.Converts a Duration to a String.
Converts a LocalDate to a String.
Converts a LocalDateTime to a String.
Converts a LocalTime to a String.
Converts a double into a formatted string using the
DecimalFormat
class and the default locale.Converts a Period to a String.
Converts a ZonedDateTime to a String.
Converts a ZoneId to a String.
Converts the input to a String and ensures that it doesn't contain any of the supplied substrings.
Maps from one object to another, by looking up a Map with the input as the key, and returning its
corresponding value.
Interface for CSV readers reading into objects/beans.
Interface for all CSV writers writing to beans.
Interface for readers that read into Lists.
Interface for writers that write to a List.
The interface for MapReaders, which read each CSV row into a Map.
The interface for writers that write from Maps.
The interface for CSV readers.
Interface for CSV writers writing JDBC
ResultSet
The interface for CSV writers.
This processor ensures that the input value is an element of a Collection.
This processor ensures that the input value belongs to a specific set of (unchangeable) values.
The interface for tokenizers, which are responsible for reading the CSV file, line by line.
Converts the input data to a Long and and ensures the value is between the supplied min and max values (inclusive).
Interface to indicate the a CellProcessor is capable of processing Long values.
This class cache's method lookups.
When using NormalQuoteMode surrounding quotes are only applied if required to escape special characters (per
RFC4180).
This processor ensures that the input is not null.
This processor is used to indicate that a cell is optional, and will avoid executing further processors if it
encounters null.
Convert a String to a BigDecimal.
Converts a String to a Boolean.
Converts a String to a Character.
Converts a String to a Date using the
SimpleDateFormat
class.Converts a String to a Double.
Converts a String to a Duration.
Converts a String to an Enum.
Converts a String to an Integer.
Converts a String to a LocalDate.
Converts a String to a LocalDateTime.
Converts a String to a LocalTime.
Converts a String to a Long.
Converts a String to a Period.
Converts a String to a ZonedDateTime.
Converts a String to a ZoneId.
The interface for quoting modes.
Provides useful utility methods for reflection.
This processor converts the input to a String, and ensures that the input's hash function matches any of a given set
of hashcodes.
Converts the input to a String and ensures that the input contains at least one of the specified substrings.
A selective CsvEncoder implementation - only the desired column numbers (if any) are encoded.
Interface to indicate the a CellProcessor is capable of processing String values.
This processor ensures that the input String has a length equal to any of the supplied lengths.
This constraint ensures that the input data has a string length between the supplied min and max values (both
inclusive).
This processor checks if the input is null or an empty string, and raises an exception in that case.
This constraint ensures that the input data matches the given regular expression.
Replaces each substring of the input string that matches the given regular expression with the given replacement.
Exception thrown when CellProcessor execution fails (typically due to invalid input) - constraint validating
CellProcessors should throw
SuperCsvConstraintViolationException
for constraint validation failures.Exception thrown by CellProcessors when constraint validation fails.
Generic SuperCSV Exception class.
Wraps the following reflection related checked exceptions:
A 3-dimensional HashMap is a HashMap that enables you to refer to values via three keys rather than one.
This processor is used in the situations you want to be able to check for the presence of a "special
token".
Reads the CSV file, line by line.
Enumeration of tokenizer states.
Ensure that Strings or String-representations of objects are trimmed (contain no surrounding whitespace).
Ensure that Strings or String-representations of objects are truncated to a maximum size.
A two-dimensional hashmap, is a HashMap that enables you to refer to values via two keys rather than one.
Ensure that upon processing a CSV file (reading or writing), that values of the column all are unique.
Ensure that upon processing a CSV file (reading or writing), that values of the column are all unique.
Useful utility methods.