java.lang.Enum by calling Enum#valueOf(Class, String).
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public <T extends Enum | getConverter(Class<T>
the target type to convert to targetType)Implements org. Get the converter to convert from S to target type T, where T is also an instance of R. |
| StringToEnumConverterFactory | back to summary |
|---|---|
| pack-priv StringToEnumConverterFactory() | |
| getConverter | back to summary |
|---|---|
| public <T extends Enum Implements org. Doc from org. Get the converter to convert from S to target type T, where T is also an instance of R. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public T | convert(String
the source object to convert, which must be an instance of source)S (never null)Implements org. Convert the source object of type |
| enumType | back to summary |
|---|---|
| private final Class<T> enumType | |
| StringToEnum | back to summary |
|---|---|
| pack-priv StringToEnum(Class<T> enumType) | |
| convert | back to summary |
|---|---|
| public T convert(String source) Implements org. Doc from org. Convert the source object of type | |