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 |
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 | Description |
---|---|
ParseBool(boolean ignoreCase,
BoolCellProcessor next) |
Constructs a new ParseBool processor, which converts a String to a Boolean using the default values
(ignoring case if desired), then calls the next processor in the chain.
|
ParseBool(String[] trueValues,
String[] falseValues,
boolean ignoreCase,
BoolCellProcessor next) |
Constructs a new ParseBool processor, which converts a String to a Boolean using the supplied true/false
values (ignoring case if desired), then calls the next processor in the chain.
|
ParseBool(String[] trueValues,
String[] falseValues,
BoolCellProcessor next) |
Constructs a new ParseBool processor, which converts a String to a Boolean using the supplied true/false
values (ignoring case), then calls the next processor in the chain.
|
ParseBool(String trueValue,
String falseValue,
boolean ignoreCase,
BoolCellProcessor next) |
Constructs a new ParseBool processor, which converts a String to a Boolean using the supplied true/false
values (ignoring case if desired), then calls the next processor in the chain.
|
ParseBool(String trueValue,
String falseValue,
BoolCellProcessor next) |
Constructs a new ParseBool processor, which converts a String to a Boolean using the supplied true/false
values (ignoring case), then calls the next processor in the chain.
|
ParseBool(BoolCellProcessor next) |
Constructs a new ParseBool processor, which converts a String to a Boolean using the default values
(ignoring case), then calls the next processor in the chain.
|
Modifier and Type | Class | 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–2018 Super CSV. All rights reserved.