Package | Description |
---|---|
org.supercsv.cellprocessor |
Provides CellProcessor classes for conversion, formatting and parsing.
|
org.supercsv.cellprocessor.constraint |
Provides CellProcessor classes for enforcing constraints.
|
org.supercsv.cellprocessor.joda |
Provides CellProcessor classes for formatting and parsing Joda-Time classes.
|
org.supercsv.cellprocessor.time |
Provides CellProcessor classes for converting, formatting and parsing
java.time classes. |
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 |
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 and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractJodaFormattingProcessor<T>
Abstract base class for cell processors converting Joda types to Strings.
|
class |
AbstractJodaParsingProcessor<T>
Abstract base class for cell processors converting Strings to Joda types.
|
class |
FmtDateTime
Converts a Joda DateTime to a String.
|
class |
FmtDateTimeZone
Converts a Joda DateTimeZone to a String (the ID of the timezone, e.g.
|
class |
FmtDuration
Converts a Joda Duration to a String in the ISO8601 duration format including
only seconds and milliseconds.
|
class |
FmtInterval
Converts a Joda Interval to a String in ISO8601 interval format.
|
class |
FmtLocalDate
Converts a Joda LocalDate to a String.
|
class |
FmtLocalDateTime
Converts a Joda LocalDateTime to a String.
|
class |
FmtLocalTime
Converts a Joda LocalTime to a String.
|
class |
FmtPeriod
Converts a Joda Period to a String.
|
class |
ParseDateTime
Converts a String to a Joda DateTime.
|
class |
ParseDateTimeZone
Converts a String (the ID of the timezone, e.g.
|
class |
ParseDuration
Converts a String to a Joda Duration.
|
class |
ParseInterval
Converts a String (in ISO8601 interval format) to a Joda Interval.
|
class |
ParseLocalDate
Converts a String to a Joda LocalDate.
|
class |
ParseLocalDateTime
Converts a String to a Joda LocalDateTime.
|
class |
ParseLocalTime
Converts a String to a Joda LocalTime.
|
class |
ParsePeriod
Converts a String to a Joda Period.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTemporalAccessorFormattingProcessor<T extends TemporalAccessor>
Abstract base class for cell processors converting
TemporalAccessor types to Strings. |
class |
AbstractTemporalAccessorParsingProcessor<T extends TemporalAccessor>
Abstract base class for cell processors converting Strings to
TemporalAccessor types. |
class |
FmtZonedDateTime
Converts a ZonedDateTime to a String.
|
class |
FmtZoneId
Converts a ZoneId to a String.
|
class |
ParseZonedDateTime
Converts a String to a ZonedDateTime.
|
class |
ParseZoneId
Converts a String to a ZoneId.
|
Copyright © 2007–2015 Super CSV. All rights reserved.