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, wait
of
public Enum<?> convert(Class<? extends Enum<?>> targetType, String value)
PropertyConverter
convert
in interface PropertyConverter<Enum<?>>
targetType
- the type of the target propertyvalue
- the value in the import fileCopyright © 2022 fastnate.org. All rights reserved.