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 |
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 |
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 |
---|
ParseChar(DoubleCellProcessor next)
Constructs a new ParseChar processor, which converts a String to a Character, then calls the next
processor in the chain.
|
ParseDouble(DoubleCellProcessor next)
Constructs a new ParseDouble processor, which converts a String to a Double, 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.
|
Constructor and Description |
---|
DMinMax(double min,
double max,
DoubleCellProcessor next)
Constructs a new DMinMax processor, which converts the input to a Double, ensures the value is between
the supplied min and max values, then calls the next processor in the chain.
|
Copyright © 2007–2015 Super CSV. All rights reserved.