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 and 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 |
FmtDate
Converts a date into a formatted string using the
SimpleDateFormat class. |
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 |
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.
|
Constructor and Description |
---|
ParseDate(String dateFormat,
boolean lenient,
DateCellProcessor next)
Constructs a new ParseDate processor which converts a String to a Date using the supplied date format,
then calls the next processor in the chain.
|
ParseDate(String dateFormat,
boolean lenient,
Locale locale,
DateCellProcessor next)
Constructs a new ParseDate processor which converts a String to a Date using the supplied date format
and Locale, then calls the next processor in the chain.
|
ParseDate(String dateFormat,
DateCellProcessor next)
Constructs a new ParseDate processor which converts a String to a Date using the supplied date format,
then calls the next processor in the chain.
|
Modifier and Type | Class and Description |
---|---|
class |
Equals
This constraint ensures that all input data is equal (to each other, or to a supplied constant value).
|
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 |
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.
|
Copyright © 2007–2015 Super CSV. All rights reserved.