Package com.univocity.parsers.conversions
package com.univocity.parsers.conversions
-
ClassDescriptionConverts Strings to BigDecimals and vice versaConverts Strings to BigIntegers and vice versaConverts Strings to Booleans and vice versaConverts Strings to Bytes and vice versaConverts Strings to instances of
Calendar
and vice versa.Converts Strings to Characters and vice versaConversion<I,O> The interface that defines the conversion from one type of value to another, and vice versa.This class provides default instances of common implementations ifcom.univocity.parsers.conversions.Conversion
, as well as useful methods for obtaining new instances of these.Converts Strings to instances ofDate
and vice versa.Converts Strings to Doubles and vice versaEnumConversion<T extends Enum<T>>Converts Strings to enumeration constants and vice versa.Identifies a property of an enumeration that should be used byEnumOptions
to identify an input value.Converts Strings to Floats and vice versaConverts formatted Strings to instances ofBigDecimal
and vice versa.This interface identifies conversions associated with theFormat
annotation.Converts objects of different date types (java.util.Date
andjava.util.Calendar
) to a formatted dateString
.Converts Strings to Integers and vice versaConverts Strings to Longs and vice versaConverts an input String to its lower case representation TheLowerCaseConversion.revert(String)
implements the same behavior ofLowerCaseConversion.execute(String)
.NullConversion<I,O> Default implementation for conversions from input Objects of type I to output Objects of type OConverts Strings to null and vice versaNumericConversion<T extends Number>Converts Strings to instances ofNumber
and vice versa.Default implementation for conversions from an input String to Objects of a given type TReplaces contents of a given input String, identified by a regular expression, with a replacement String.Converts Strings to Shorts and vice versaConverts any non-null object to its String representation.Removes leading and trailing white spaces from an input String TheTrimConversion.revert(String)
implements the same behavior ofTrimConversion.execute(String)
.Converts an input String to its upper case representation TheUpperCaseConversion.revert(String)
implements the same behavior ofUpperCaseConversion.execute(String)
.Performs one or more validations against the values of a given record.Validator<T>Defines a custom validation process to be executed when reading or writing values into a field of a java bean that is annotated withValidate