Uses of Class
org.supercsv.cellprocessor.CellProcessorAdaptor
-
Packages that use CellProcessorAdaptor 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 CellProcessorAdaptor in org.supercsv.cellprocessor
Subclasses of CellProcessorAdaptor in org.supercsv.cellprocessor Modifier and Type Class Description 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.classFmtBoolConverts a Boolean into a formatted string.classFmtDateConverts a date into a formatted string using theSimpleDateFormatclass.classFmtNumberConverts a double into a formatted string using theDecimalFormatclass and the default locale.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. -
Uses of CellProcessorAdaptor in org.supercsv.cellprocessor.constraint
Subclasses of CellProcessorAdaptor in org.supercsv.cellprocessor.constraint 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.classUniqueEnsure that upon processing a CSV file (reading or writing), that values of the column all are unique.classUniqueHashCodeEnsure that upon processing a CSV file (reading or writing), that values of the column are all unique. -
Uses of CellProcessorAdaptor in org.supercsv.cellprocessor.time
Subclasses of CellProcessorAdaptor in org.supercsv.cellprocessor.time Modifier and Type Class Description classAbstractTemporalAccessorFormattingProcessor<T extends java.time.temporal.TemporalAccessor>Abstract base class for cell processors convertingTemporalAccessortypes to Strings.classAbstractTemporalAccessorParsingProcessor<T extends java.time.temporal.TemporalAccessor>Abstract base class for cell processors converting Strings toTemporalAccessortypes.classFmtDurationConverts a Duration to a String.classFmtLocalDateConverts a LocalDate to a String.classFmtLocalDateTimeConverts a LocalDateTime to a String.classFmtLocalTimeConverts a LocalTime to a String.classFmtPeriodConverts a Period to a String.classFmtZonedDateTimeConverts a ZonedDateTime to a String.classFmtZoneIdConverts a ZoneId to a String.classParseDurationConverts a String to a Duration.classParseLocalDateConverts a String to a LocalDate.classParseLocalDateTimeConverts a String to a LocalDateTime.classParseLocalTimeConverts a String to a LocalTime.classParsePeriodConverts a String to a Period.classParseZonedDateTimeConverts a String to a ZonedDateTime.classParseZoneIdConverts a String to a ZoneId.
-