public class ConverterUUID extends AbstractCsvConverter
UUID
instance.errorLocale, locale, type, writeLocale| Constructor and Description |
|---|
ConverterUUID(Locale errorLocale)
Initializes the class.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
convertToRead(String value)
Method for converting from a string to the proper data type of the
destination field.
|
convertToWrite, setErrorLocale, setLocale, setType, setWriteLocalepublic ConverterUUID(Locale errorLocale)
errorLocale - The locale to use for error messagespublic Object convertToRead(String value) throws CsvDataTypeMismatchException
CsvConvertervalue - The string from the selected field of the CSV file. If the
field is marked as required in the annotation, this value is guaranteed
not to be null, empty or blank according to
StringUtils.isBlank(java.lang.CharSequence)Object representing the input data converted
into the proper typeCsvDataTypeMismatchException - If the input string cannot be converted into
the proper typeCopyright © 2005–2025. All rights reserved.