Package | Description |
---|---|
org.supercsv.cellprocessor |
Provides CellProcessor classes for conversion, formatting and parsing.
|
org.supercsv.cellprocessor.constraint |
Provides CellProcessor classes for enforcing constraints.
|
Modifier and Type | Class | Description |
---|---|---|
class |
Collector |
This processor collects each value it encounters and adds it to the supplied Collection.
|
class |
ConvertNullTo |
This processor returns a specified default value if the input is null.
|
class |
FmtBool |
Converts a Boolean into a formatted string.
|
class |
FmtDate |
Converts a date into a formatted string using the
SimpleDateFormat class. |
class |
FmtNumber |
Converts a double into a formatted string using the
DecimalFormat class and the default locale. |
class |
HashMapper |
Maps from one object to another, by looking up a Map with the input as the key, and returning its
corresponding value.
|
class |
Optional |
This processor is used to indicate that a cell is optional, and will avoid executing further processors if it
encounters null.
|
class |
ParseBigDecimal |
Convert a String to a BigDecimal.
|
class |
ParseBool |
Converts a String to a Boolean.
|
class |
ParseChar |
Converts a String to a Character.
|
class |
ParseDate |
Converts a String to a Date using the
SimpleDateFormat class. |
class |
ParseDouble |
Converts a String to a Double.
|
class |
ParseEnum |
Converts a String to an Enum.
|
class |
ParseInt |
Converts a String to an Integer.
|
class |
ParseLong |
Converts a String to a Long.
|
class |
StrReplace |
Replaces each substring of the input string that matches the given regular expression with the given replacement.
|
class |
Token |
This processor is used in the situations you want to be able to check for the presence of a "special
token".
|
class |
Trim |
Ensure that Strings or String-representations of objects are trimmed (contain no surrounding whitespace).
|
class |
Truncate |
Ensure that Strings or String-representations of objects are truncated to a maximum size.
|
Modifier and Type | Class | Description |
---|---|---|
class |
DMinMax |
Converts the input data to a Double and ensures that number is within a specified numeric range (inclusive).
|
class |
Equals |
This constraint ensures that all input data is equal (to each other, or to a supplied constant value).
|
class |
ForbidSubStr |
Converts the input to a String and ensures that it doesn't contain any of the supplied substrings.
|
class |
IsElementOf |
This processor ensures that the input value is an element of a Collection.
|
class |
IsIncludedIn |
This processor ensures that the input value belongs to a specific set of (unchangeable) values.
|
class |
LMinMax |
Converts the input data to a Long and and ensures the value is between the supplied min and max values (inclusive).
|
class |
NotNull |
This processor ensures that the input is not null.
|
class |
RequireHashCode |
This processor converts the input to a String, and ensures that the input's hash function matches any of a given set
of hashcodes.
|
class |
RequireSubStr |
Converts the input to a String and ensures that the input contains at least one of the specified substrings.
|
class |
Strlen |
This processor ensures that the input String has a length equal to any of the supplied lengths.
|
class |
StrMinMax |
This constraint ensures that the input data has a string length between the supplied min and max values (both
inclusive).
|
class |
StrNotNullOrEmpty |
This processor checks if the input is null or an empty string, and raises an exception in that case.
|
class |
StrRegEx |
This constraint ensures that the input data matches the given regular expression.
|
class |
Unique |
Ensure that upon processing a CSV file (reading or writing), that values of the column all are unique.
|
class |
UniqueHashCode |
Ensure that upon processing a CSV file (reading or writing), that values of the column are all unique.
|
Copyright © 2007–2018 Super CSV. All rights reserved.