Uses of Interface
org.supercsv.cellprocessor.ift.StringCellProcessor
-
Packages that use StringCellProcessor 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.time Provides CellProcessor classes for converting, formatting and parsingjava.timeclasses. -
-
Uses of StringCellProcessor in org.supercsv.cellprocessor
Classes in org.supercsv.cellprocessor that implement StringCellProcessor Modifier and Type Class Description private static classCellProcessorAdaptor.NullObjectPatternThis is an implementation-specific processor and should only be used by the CellProcessorAdaptor class.classCollectorThis processor collects each value it encounters and adds it to the supplied Collection.classConvertNullToThis processor returns a specified default value if the input is null.classHashMapperMaps from one object to another, by looking up a Map with the input as the key, and returning its corresponding value.classOptionalThis processor is used to indicate that a cell is optional, and will avoid executing further processors if it encounters null.classParseBigDecimalConvert a String to a BigDecimal.classParseBoolConverts a String to a Boolean.classParseCharConverts a String to a Character.classParseDateConverts a String to a Date using theSimpleDateFormatclass.classParseDoubleConverts a String to a Double.classParseEnumConverts a String to an Enum.classParseIntConverts a String to an Integer.classParseLongConverts a String to a Long.classStrReplaceReplaces each substring of the input string that matches the given regular expression with the given replacement.classTokenThis processor is used in the situations you want to be able to check for the presence of a "special token".classTrimEnsure that Strings or String-representations of objects are trimmed (contain no surrounding whitespace).classTruncateEnsure that Strings or String-representations of objects are truncated to a maximum size.Constructors in org.supercsv.cellprocessor with parameters of type StringCellProcessor Constructor Description FmtBool(java.lang.String trueValue, java.lang.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(java.lang.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(java.lang.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(java.text.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(java.lang.String regex, java.lang.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, java.lang.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 StringCellProcessor Modifier and Type Class Description classDMinMaxConverts the input data to a Double and ensures that number is within a specified numeric range (inclusive).classEqualsThis constraint ensures that all input data is equal (to each other, or to a supplied constant value).classForbidSubStrConverts the input to a String and ensures that it doesn't contain any of the supplied substrings.classIsElementOfThis processor ensures that the input value is an element of a Collection.classIsIncludedInThis processor ensures that the input value belongs to a specific set of (unchangeable) values.classLMinMaxConverts the input data to a Long and and ensures the value is between the supplied min and max values (inclusive).classNotNullThis processor ensures that the input is not null.classRequireHashCodeThis processor converts the input to a String, and ensures that the input's hash function matches any of a given set of hashcodes.classRequireSubStrConverts the input to a String and ensures that the input contains at least one of the specified substrings.classStrlenThis processor ensures that the input String has a length equal to any of the supplied lengths.classStrMinMaxThis constraint ensures that the input data has a string length between the supplied min and max values (both inclusive).classStrNotNullOrEmptyThis processor checks if the input is null or an empty string, and raises an exception in that case.classStrRegExThis constraint ensures that the input data matches the given regular expression.Constructors in org.supercsv.cellprocessor.constraint with parameters of type StringCellProcessor Constructor Description StrRegEx(java.lang.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 StringCellProcessor Modifier and Type Class Description classAbstractTemporalAccessorParsingProcessor<T extends java.time.temporal.TemporalAccessor>Abstract base class for cell processors converting Strings toTemporalAccessortypes.classParseLocalDateConverts a String to a LocalDate.classParseLocalDateTimeConverts a String to a LocalDateTime.classParseLocalTimeConverts a String to a LocalTime.classParseZonedDateTimeConverts a String to a ZonedDateTime.
-