Class OrneBeansConverters

java.lang.Object
dev.orne.beans.converters.OrneBeansConverters

@API(status=STABLE, since="0.1") public final class OrneBeansConverters extends Object
Since:
0.1
Version:
1.0, 2020-05
Author:
(w) Iker Hernaez
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Registers all the Orne custom converters in ConvertUtils.
    static void
    register(boolean defaultToNull)
    Registers all the Orne custom converters in ConvertUtils.
    static void
    register(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter)
    Registers all the Orne custom converters in the specified ConvertUtilsBean.
    static void
    register(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter, boolean defaultToNull)
    Registers all the Orne custom converters in the specified ConvertUtilsBean.
    static void
    Registers all the Orne custom converters for dev.orne.beans in ConvertUtils.
    static void
    registerBeansConversors(boolean defaultToNull)
    Registers all the Orne custom converters for dev.orne.beans in ConvertUtils.
    static void
    registerBeansConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter)
    Registers all the Orne custom converters for dev.orne.beans in the specified ConvertUtilsBean.
    static void
    registerBeansConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter, boolean defaultToNull)
    Registers all the Orne custom converters for dev.orne.beans in the specified ConvertUtilsBean.
    static void
    Registers all the Orne custom converters for java.util in ConvertUtils.
    static void
    registerNetConversors(boolean defaultToNull)
    Registers all the Orne custom converters for java.net in ConvertUtils.
    static void
    registerNetConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter)
    Registers all the Orne custom converters for java.net in the specified ConvertUtilsBean.
    static void
    registerNetConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter, boolean defaultToNull)
    Registers all the Orne custom converters for java.net in the specified ConvertUtilsBean.
    static void
    Registers all the Orne custom converters for java.time in ConvertUtils.
    static void
    registerTimeConversors(boolean defaultToNull)
    Registers all the Orne custom converters for java.time in ConvertUtils.
    static void
    registerTimeConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter)
    Registers all the Orne custom converters for java.time in the specified ConvertUtilsBean.
    static void
    registerTimeConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter, boolean defaultToNull)
    Registers all the Orne custom converters for java.time in the specified ConvertUtilsBean.
    static void
    Registers all the Orne custom converters for java.util in ConvertUtils.
    static void
    registerUtilConversors(boolean defaultToNull)
    Registers all the Orne custom converters for java.util in ConvertUtils.
    static void
    registerUtilConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter)
    Registers all the Orne custom converters for java.util in the specified ConvertUtilsBean.
    static void
    registerUtilConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter, boolean defaultToNull)
    Registers all the Orne custom converters for java.util in the specified ConvertUtilsBean.

    Methods inherited from class java.lang.Object

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

    • register

      public static void register()
      Registers all the Orne custom converters in ConvertUtils.
      See Also:
      • ConvertUtils.register(Converter, Class)
    • register

      public static void register(boolean defaultToNull)
      Registers all the Orne custom converters in ConvertUtils.
      Parameters:
      defaultToNull - If null must be returned on missing (null) values and on conversion exceptions
      See Also:
      • ConvertUtils.register(Converter, Class)
    • register

      public static void register(@NotNull @NotNull org.apache.commons.beanutils.ConvertUtilsBean converter)
      Registers all the Orne custom converters in the specified ConvertUtilsBean.
      Parameters:
      converter - Converter to register the Orne converters to
      See Also:
      • ConvertUtilsBean.register(Converter, Class)
    • register

      public static void register(@NotNull @NotNull org.apache.commons.beanutils.ConvertUtilsBean converter, boolean defaultToNull)
      Registers all the Orne custom converters in the specified ConvertUtilsBean.
      Parameters:
      converter - Converter to register the Orne converters to
      defaultToNull - If null must be returned on missing (null) values and on conversion exceptions
      See Also:
      • ConvertUtilsBean.register(Converter, Class)
    • registerBeansConversors

      public static void registerBeansConversors()
      Registers all the Orne custom converters for dev.orne.beans in ConvertUtils.
      See Also:
      • ConvertUtils.register(Converter, Class)
    • registerBeansConversors

      public static void registerBeansConversors(boolean defaultToNull)
      Registers all the Orne custom converters for dev.orne.beans in ConvertUtils.
      Parameters:
      defaultToNull - If null must be returned on missing (null) values and on conversion exceptions
      See Also:
      • ConvertUtils.register(Converter, Class)
    • registerBeansConversors

      public static void registerBeansConversors(@NotNull @NotNull org.apache.commons.beanutils.ConvertUtilsBean converter)
      Registers all the Orne custom converters for dev.orne.beans in the specified ConvertUtilsBean.
      Parameters:
      converter - Converter to register the Orne converters to
      See Also:
      • ConvertUtilsBean.register(Converter, Class)
    • registerBeansConversors

      public static void registerBeansConversors(@NotNull @NotNull org.apache.commons.beanutils.ConvertUtilsBean converter, boolean defaultToNull)
      Registers all the Orne custom converters for dev.orne.beans in the specified ConvertUtilsBean.
      Parameters:
      converter - Converter to register the Orne converters to
      defaultToNull - If null must be returned on missing (null) values and on conversion exceptions
      See Also:
      • ConvertUtilsBean.register(Converter, Class)
    • registerNetConversors

      public static void registerNetConversors()
      Registers all the Orne custom converters for java.util in ConvertUtils.
      See Also:
      • ConvertUtils.register(Converter, Class)
    • registerNetConversors

      public static void registerNetConversors(boolean defaultToNull)
      Registers all the Orne custom converters for java.net in ConvertUtils.
      Parameters:
      defaultToNull - If null must be returned on missing (null) values and on conversion exceptions
      See Also:
      • ConvertUtils.register(Converter, Class)
    • registerNetConversors

      public static void registerNetConversors(@NotNull @NotNull org.apache.commons.beanutils.ConvertUtilsBean converter)
      Registers all the Orne custom converters for java.net in the specified ConvertUtilsBean.
      Parameters:
      converter - Converter to register the Orne converters to
      See Also:
      • ConvertUtilsBean.register(Converter, Class)
    • registerNetConversors

      public static void registerNetConversors(@NotNull @NotNull org.apache.commons.beanutils.ConvertUtilsBean converter, boolean defaultToNull)
      Registers all the Orne custom converters for java.net in the specified ConvertUtilsBean.
      Parameters:
      converter - Converter to register the Orne converters to
      defaultToNull - If null must be returned on missing (null) values and on conversion exceptions
      See Also:
      • ConvertUtilsBean.register(Converter, Class)
    • registerUtilConversors

      public static void registerUtilConversors()
      Registers all the Orne custom converters for java.util in ConvertUtils.
      See Also:
      • ConvertUtils.register(Converter, Class)
    • registerUtilConversors

      public static void registerUtilConversors(boolean defaultToNull)
      Registers all the Orne custom converters for java.util in ConvertUtils.
      Parameters:
      defaultToNull - If null must be returned on missing (null) values and on conversion exceptions
      See Also:
      • ConvertUtils.register(Converter, Class)
    • registerUtilConversors

      public static void registerUtilConversors(@NotNull @NotNull org.apache.commons.beanutils.ConvertUtilsBean converter)
      Registers all the Orne custom converters for java.util in the specified ConvertUtilsBean.
      Parameters:
      converter - Converter to register the Orne converters to
      See Also:
      • ConvertUtilsBean.register(Converter, Class)
    • registerUtilConversors

      public static void registerUtilConversors(@NotNull @NotNull org.apache.commons.beanutils.ConvertUtilsBean converter, boolean defaultToNull)
      Registers all the Orne custom converters for java.util in the specified ConvertUtilsBean.
      Parameters:
      converter - Converter to register the Orne converters to
      defaultToNull - If null must be returned on missing (null) values and on conversion exceptions
      See Also:
      • ConvertUtilsBean.register(Converter, Class)
    • registerTimeConversors

      public static void registerTimeConversors()
      Registers all the Orne custom converters for java.time in ConvertUtils.
      See Also:
      • ConvertUtils.register(Converter, Class)
    • registerTimeConversors

      public static void registerTimeConversors(boolean defaultToNull)
      Registers all the Orne custom converters for java.time in ConvertUtils.
      Parameters:
      defaultToNull - If null must be returned on missing (null) values and on conversion exceptions
      See Also:
      • ConvertUtils.register(Converter, Class)
    • registerTimeConversors

      public static void registerTimeConversors(@NotNull @NotNull org.apache.commons.beanutils.ConvertUtilsBean converter)
      Registers all the Orne custom converters for java.time in the specified ConvertUtilsBean.
      Parameters:
      converter - Converter to register the Orne converters to
      See Also:
      • ConvertUtilsBean.register(Converter, Class)
    • registerTimeConversors

      public static void registerTimeConversors(@NotNull @NotNull org.apache.commons.beanutils.ConvertUtilsBean converter, boolean defaultToNull)
      Registers all the Orne custom converters for java.time in the specified ConvertUtilsBean.
      Parameters:
      converter - Converter to register the Orne converters to
      defaultToNull - If null must be returned on missing (null) values and on conversion exceptions
      See Also:
      • ConvertUtilsBean.register(Converter, Class)