Package dev.orne.beans.converters
Class EnumConvertUtilsBean
java.lang.Object
org.apache.commons.beanutils.ConvertUtilsBean
dev.orne.beans.converters.EnumConvertUtilsBean
@API(status=STABLE,
since="0.4")
public class EnumConvertUtilsBean
extends org.apache.commons.beanutils.ConvertUtilsBean
Extension of
ConvertUtilsBean
that falls back to converter registered
for Enum
class when converting enumeration types.- Since:
- 0.4
- Version:
- 1.0, 2021-09
- Author:
- (w) Iker Hernaez
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.commons.beanutils.ConvertUtilsBean
convert, convert, convert, convert, deregister, deregister, getDefaultBoolean, getDefaultByte, getDefaultCharacter, getDefaultDouble, getDefaultFloat, getDefaultInteger, getDefaultLong, getDefaultShort, getInstance, lookup, register, register, setDefaultBoolean, setDefaultByte, setDefaultCharacter, setDefaultDouble, setDefaultFloat, setDefaultInteger, setDefaultLong, setDefaultShort
-
Constructor Details
-
EnumConvertUtilsBean
public EnumConvertUtilsBean()Creates a new instance.
-
-
Method Details
-
lookup
- Overrides:
lookup
in classorg.apache.commons.beanutils.ConvertUtilsBean
-