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

    Constructors
    Constructor
    Description
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.commons.beanutils.Converter
    lookup(@NotNull Class<?> clazz)

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EnumConvertUtilsBean

      public EnumConvertUtilsBean()
      Creates a new instance.
  • Method Details

    • lookup

      public org.apache.commons.beanutils.Converter lookup(@NotNull @NotNull Class<?> clazz)
      Overrides:
      lookup in class org.apache.commons.beanutils.ConvertUtilsBean