Class EnumConverter
java.lang.Object
com.norconex.commons.lang.convert.AbstractConverter
com.norconex.commons.lang.convert.EnumConverter
- All Implemented Interfaces:
Converter
Enum converter.- Since:
- 2.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringnullSafeToString(Object object) protected <T> TnullSafeToType(String value, Class<T> type) Methods inherited from class com.norconex.commons.lang.convert.AbstractConverter
canEqual, equals, hashCode, toString, toString, toStringException, toStringException, toType, toTypeException, toTypeException, toUnsupportedTypeException
-
Constructor Details
-
EnumConverter
public EnumConverter()
-
-
Method Details
-
nullSafeToString
- Specified by:
nullSafeToStringin classAbstractConverter
-
nullSafeToType
- Specified by:
nullSafeToTypein classAbstractConverter
-