Package org.supercsv.cellprocessor


package org.supercsv.cellprocessor
Provides CellProcessor classes for conversion, formatting and parsing.
  • Classes
    Class
    Description
    Abstract super class containing shared behaviour of all cell processors.
    This is an implementation-specific processor and should only be used by the CellProcessorAdaptor class.
    This processor collects each value it encounters and adds it to the supplied Collection.
    This processor returns a specified default value if the input is null.
    Converts a Boolean into a formatted string.
    Converts a date into a formatted string using the SimpleDateFormat class.
    Converts a double into a formatted string using the DecimalFormat class and the default locale.
    Maps from one object to another, by looking up a Map with the input as the key, and returning its corresponding value.
    This processor is used to indicate that a cell is optional, and will avoid executing further processors if it encounters null.
    Convert a String to a BigDecimal.
    Converts a String to a Boolean.
    Converts a String to a Character.
    Converts a String to a Date using the SimpleDateFormat class.
    Converts a String to a Double.
    Converts a String to an Enum.
    Converts a String to an Integer.
    Converts a String to a Long.
    Replaces each substring of the input string that matches the given regular expression with the given replacement.
    This processor is used in the situations you want to be able to check for the presence of a "special token".
    Ensure that Strings or String-representations of objects are trimmed (contain no surrounding whitespace).
    Ensure that Strings or String-representations of objects are truncated to a maximum size.