public class EnumConverter extends Object implements PropertyConverter<Enum<?>>
Enum value.| Constructor and Description |
|---|
EnumConverter() |
| Modifier and Type | Method and Description |
|---|---|
Enum<?> |
convert(Class<? extends Enum<?>> targetType,
String value)
Converts a value from import file to Java.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofpublic Enum<?> convert(Class<? extends Enum<?>> targetType, String value)
PropertyConverterconvert in interface PropertyConverter<Enum<?>>targetType - the type of the target propertyvalue - the value in the import fileCopyright © 2022 fastnate.org. All rights reserved.