Package cdc.converters.defaults
Class StringToEnum<E extends Enum<E>>
- Type Parameters:
E- The enum type.
Class that can convert a string to any enum type.
It can be specialized if necessary.
- Author:
- Damien Carbonne
-
Field Summary
FieldsFields inherited from interface cdc.converters.Converter
META_FARGS, SOURCE_CLASS, TARGET_CLASS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class cdc.converters.AbstractConverter
getSourceClass, getTargetClass, getWrappedSourceClass, getWrappedTargetClass, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface cdc.converters.Converter
adapt, andThen, andThenRaw, applyRaw, areCompliantSourceAndTargetClasses, areMatchingSourceAndTargetClasses, cast, compose, composeRaw, isCompliantSourceClass, isCompliantTargetClass, isMatchingSourceClass, isMatchingTargetClass, orElse, orElseRaw
-
Field Details
-
CLASS
-
FPARAMS
-
FACTORY
-
-
Constructor Details
-
StringToEnum
-
-
Method Details
-
create
-
apply
-
getParams
- Returns:
- The parameters used to configure this converter.
-