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
Classes in org.supercsv.cellprocessor that implement StringCellProcessorModifier and TypeClassDescriptionprivate static final classThis is an implementation-specific processor and should only be used by the CellProcessorAdaptor class.classThis processor collects each value it encounters and adds it to the supplied Collection.classThis processor returns a specified default value if the input is null.classMaps from one object to another, by looking up a Map with the input as the key, and returning its corresponding value.classThis processor is used to indicate that a cell is optional, and will avoid executing further processors if it encounters null.classConvert a String to a BigDecimal.classConverts a String to a Boolean.classConverts a String to a Character.classConverts a String to a Date using theSimpleDateFormatclass.classConverts a String to a Double.classConverts a String to an Enum.classConverts a String to an Integer.classConverts a String to a Long.classReplaces each substring of the input string that matches the given regular expression with the given replacement.classThis processor is used in the situations you want to be able to check for the presence of a "special token".classEnsure that Strings or String-representations of objects are trimmed (contain no surrounding whitespace).classEnsure that Strings or String-representations of objects are truncated to a maximum size.Constructors in org.supercsv.cellprocessor with parameters of type StringCellProcessorModifierConstructorDescriptionFmtBool(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.FmtNumber(DecimalFormat formatter, StringCellProcessor next) 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.Trim(StringCellProcessor next) 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 thesuffixString 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
Classes in org.supercsv.cellprocessor.constraint that implement StringCellProcessorModifier and TypeClassDescriptionclassConverts the input data to a Double and ensures that number is within a specified numeric range (inclusive).classThis constraint ensures that all input data is equal (to each other, or to a supplied constant value).classConverts the input to a String and ensures that it doesn't contain any of the supplied substrings.classThis processor ensures that the input value is an element of a Collection.classThis processor ensures that the input value belongs to a specific set of (unchangeable) values.classConverts the input data to a Long and and ensures the value is between the supplied min and max values (inclusive).classThis processor ensures that the input is not null.classThis processor converts the input to a String, and ensures that the input's hash function matches any of a given set of hashcodes.classConverts the input to a String and ensures that the input contains at least one of the specified substrings.classThis processor ensures that the input String has a length equal to any of the supplied lengths.classThis constraint ensures that the input data has a string length between the supplied min and max values (both inclusive).classThis processor checks if the input is null or an empty string, and raises an exception in that case.classThis constraint ensures that the input data matches the given regular expression.Constructors in org.supercsv.cellprocessor.constraint with parameters of type StringCellProcessorModifierConstructorDescriptionStrRegEx(String regex, StringCellProcessor next) 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
Classes in org.supercsv.cellprocessor.time that implement StringCellProcessorModifier and TypeClassDescriptionclassAbstract base class for cell processors converting Strings toTemporalAccessortypes.classConverts a String to a LocalDate.classConverts a String to a LocalDateTime.classConverts a String to a LocalTime.classConverts a String to a ZonedDateTime.