| Access | Constructor and Description |
|---|---|
| public | ConverterEnum(Class<?>
The class of the type of the data being processed type, String If not null or empty, specifies the locale used for
converting locale-specific data types locale, String If not null or empty, specifies the locale used for
converting locale-specific data types for writing writeLocale, Locale The locale to use for error messages. errorLocale)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | convertToRead(String value)
Implements com. Method for converting from a string to the proper data type of the destination field. |
| public String | convertToWrite(Object value)
Overrides com. Implements com. This implementation simply calls |
| ConverterEnum | back to summary |
|---|---|
public ConverterEnum(Class<?> type, String locale, String writeLocale, Locale errorLocale)
| |
| convertToRead | back to summary |
|---|---|
| public Object convertToRead(String value) throws CsvDataTypeMismatchException Implements com. Doc from com. Method for converting from a string to the proper data type of the destination field.
| |
| convertToWrite | back to summary |
|---|---|
| public String convertToWrite(Object value) Overrides com. Implements com. Doc from com. This implementation simply calls
| |