Uses of Interface
org.supercsv.cellprocessor.ift.StringCellProcessor

Packages that use StringCellProcessor
Package
Description
Provides CellProcessor classes for conversion, formatting and parsing.
Provides CellProcessor classes for enforcing constraints.
Provides CellProcessor classes for converting, formatting and parsing java.time classes.
  • Uses of StringCellProcessor in org.supercsv.cellprocessor

    Modifier and Type
    Class
    Description
    private static final class 
    This is an implementation-specific processor and should only be used by the CellProcessorAdaptor class.
    class 
    This processor collects each value it encounters and adds it to the supplied Collection.
    class 
    This processor returns a specified default value if the input is null.
    class 
    Maps from one object to another, by looking up a Map with the input as the key, and returning its corresponding value.
    class 
    This processor is used to indicate that a cell is optional, and will avoid executing further processors if it encounters null.
    class 
    Convert a String to a BigDecimal.
    class 
    Converts a String to a Boolean.
    class 
    Converts a String to a Character.
    class 
    Converts a String to a Date using the SimpleDateFormat class.
    class 
    Converts a String to a Double.
    class 
    Converts a String to an Enum.
    class 
    Converts a String to an Integer.
    class 
    Converts a String to a Long.
    class 
    Replaces each substring of the input string that matches the given regular expression with the given replacement.
    class 
    This processor is used in the situations you want to be able to check for the presence of a "special token".
    class 
    Ensure that Strings or String-representations of objects are trimmed (contain no surrounding whitespace).
    class 
    Ensure that Strings or String-representations of objects are truncated to a maximum size.
    Constructors in org.supercsv.cellprocessor with parameters of type StringCellProcessor
    Modifier
    Constructor
    Description
     
    FmtBool(String trueValue, String falseValue, StringCellProcessor next)
    Constructs a new FmtBool processor, which converts a Boolean into a formatted string, then calls the next processor in the chain.
     
    FmtDate(String dateFormat, StringCellProcessor next)
    Constructs a new FmtDate processor, which converts a date into a formatted string using SimpleDateFormat, then calls the next processor in the chain.
     
    FmtNumber(String decimalFormat, StringCellProcessor next)
    Constructs a new FmtNumber processor, which converts a double into a formatted string using the supplied decimal format String, then calls the next processor in the chain.
     
    Constructs a new FmtNumber processor, which converts a double into a formatted string using the supplied decimal format, then calls the next processor in the chain.
     
    StrReplace(String regex, String replacement, StringCellProcessor next)
    Constructs a new StrReplace processor, which replaces each substring of the input that matches the regex with the supplied replacement, then calls the next processor in the chain.
     
    Constructs a new Trim processor, which trims a String to ensure it has no surrounding whitespace then calls the next processor in the chain.
     
    Truncate(int maxSize, String suffix, StringCellProcessor next)
    Constructs a new Truncate processor, which truncates a String to ensure it is no longer than the specified size, then appends the suffix String to indicate that the String has been truncated and calls the next processor in the chain.
     
    Truncate(int maxSize, StringCellProcessor next)
    Constructs a new Truncate processor, which truncates a String to ensure it is no longer than the specified size, then calls the next processor in the chain.
  • Uses of StringCellProcessor in org.supercsv.cellprocessor.constraint

    Modifier and Type
    Class
    Description
    class 
    Converts the input data to a Double and ensures that number is within a specified numeric range (inclusive).
    class 
    This constraint ensures that all input data is equal (to each other, or to a supplied constant value).
    class 
    Converts the input to a String and ensures that it doesn't contain any of the supplied substrings.
    class 
    This processor ensures that the input value is an element of a Collection.
    class 
    This processor ensures that the input value belongs to a specific set of (unchangeable) values.
    class 
    Converts the input data to a Long and and ensures the value is between the supplied min and max values (inclusive).
    class 
    This processor ensures that the input is not null.
    class 
    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 
    Converts the input to a String and ensures that the input contains at least one of the specified substrings.
    class 
    This processor ensures that the input String has a length equal to any of the supplied lengths.
    class 
    This constraint ensures that the input data has a string length between the supplied min and max values (both inclusive).
    class 
    This processor checks if the input is null or an empty string, and raises an exception in that case.
    class 
    This constraint ensures that the input data matches the given regular expression.
    Constructors in org.supercsv.cellprocessor.constraint with parameters of type StringCellProcessor
    Modifier
    Constructor
    Description
     
    Constructs a new StrRegEx processor, which ensures that the input data matches the given regular expression, then calls the next processor in the chain.
  • Uses of StringCellProcessor in org.supercsv.cellprocessor.time

    Modifier and Type
    Class
    Description
    class 
    Abstract base class for cell processors converting Strings to TemporalAccessor types.
    class 
    Converts a String to a LocalDate.
    class 
    Converts a String to a LocalDateTime.
    class 
    Converts a String to a LocalTime.
    class 
    Converts a String to a ZonedDateTime.