Package dev.orne.beans.converters
Class OrneBeansConverters
java.lang.Object
dev.orne.beans.converters.OrneBeansConverters
Utility class for registration of default implementations of Orne custom converters
.Registers the following converters:
- Beans converters
- Net converters
- Util converters
- Time converters
- Since:
- 0.1
- Version:
- 1.0, 2020-05
- Author:
- (w) Iker Hernaez
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister()Registers all the Orne custom converters inConvertUtils.static voidregister(boolean defaultToNull) Registers all the Orne custom converters inConvertUtils.static voidregister(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter) Registers all the Orne custom converters in the specifiedConvertUtilsBean.static voidregister(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter, boolean defaultToNull) Registers all the Orne custom converters in the specifiedConvertUtilsBean.static voidRegisters all the Orne custom converters fordev.orne.beansinConvertUtils.static voidregisterBeansConversors(boolean defaultToNull) Registers all the Orne custom converters fordev.orne.beansinConvertUtils.static voidregisterBeansConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter) Registers all the Orne custom converters fordev.orne.beansin the specifiedConvertUtilsBean.static voidregisterBeansConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter, boolean defaultToNull) Registers all the Orne custom converters fordev.orne.beansin the specifiedConvertUtilsBean.static voidRegisters all the Orne custom converters forjava.utilinConvertUtils.static voidregisterNetConversors(boolean defaultToNull) Registers all the Orne custom converters forjava.netinConvertUtils.static voidregisterNetConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter) Registers all the Orne custom converters forjava.netin the specifiedConvertUtilsBean.static voidregisterNetConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter, boolean defaultToNull) Registers all the Orne custom converters forjava.netin the specifiedConvertUtilsBean.static voidRegisters all the Orne custom converters forjava.timeinConvertUtils.static voidregisterTimeConversors(boolean defaultToNull) Registers all the Orne custom converters forjava.timeinConvertUtils.static voidregisterTimeConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter) Registers all the Orne custom converters forjava.timein the specifiedConvertUtilsBean.static voidregisterTimeConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter, boolean defaultToNull) Registers all the Orne custom converters forjava.timein the specifiedConvertUtilsBean.static voidRegisters all the Orne custom converters forjava.utilinConvertUtils.static voidregisterUtilConversors(boolean defaultToNull) Registers all the Orne custom converters forjava.utilinConvertUtils.static voidregisterUtilConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter) Registers all the Orne custom converters forjava.utilin the specifiedConvertUtilsBean.static voidregisterUtilConversors(@NotNull org.apache.commons.beanutils.ConvertUtilsBean converter, boolean defaultToNull) Registers all the Orne custom converters forjava.utilin the specifiedConvertUtilsBean.
-
Method Details
-
register
public static void register()Registers all the Orne custom converters inConvertUtils.- See Also:
-
ConvertUtils.register(Converter, Class)
-
register
public static void register(boolean defaultToNull) Registers all the Orne custom converters inConvertUtils.- Parameters:
defaultToNull- Ifnullmust 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 specifiedConvertUtilsBean.- 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 specifiedConvertUtilsBean.- Parameters:
converter- Converter to register the Orne converters todefaultToNull- Ifnullmust 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 fordev.orne.beansinConvertUtils.- See Also:
-
ConvertUtils.register(Converter, Class)
-
registerBeansConversors
public static void registerBeansConversors(boolean defaultToNull) Registers all the Orne custom converters fordev.orne.beansinConvertUtils.- Parameters:
defaultToNull- Ifnullmust 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 fordev.orne.beansin the specifiedConvertUtilsBean.- 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 fordev.orne.beansin the specifiedConvertUtilsBean.- Parameters:
converter- Converter to register the Orne converters todefaultToNull- Ifnullmust 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 forjava.utilinConvertUtils.- See Also:
-
ConvertUtils.register(Converter, Class)
-
registerNetConversors
public static void registerNetConversors(boolean defaultToNull) Registers all the Orne custom converters forjava.netinConvertUtils.- Parameters:
defaultToNull- Ifnullmust 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 forjava.netin the specifiedConvertUtilsBean.- 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 forjava.netin the specifiedConvertUtilsBean.- Parameters:
converter- Converter to register the Orne converters todefaultToNull- Ifnullmust 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 forjava.utilinConvertUtils.- See Also:
-
ConvertUtils.register(Converter, Class)
-
registerUtilConversors
public static void registerUtilConversors(boolean defaultToNull) Registers all the Orne custom converters forjava.utilinConvertUtils.- Parameters:
defaultToNull- Ifnullmust 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 forjava.utilin the specifiedConvertUtilsBean.- 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 forjava.utilin the specifiedConvertUtilsBean.- Parameters:
converter- Converter to register the Orne converters todefaultToNull- Ifnullmust 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 forjava.timeinConvertUtils.- See Also:
-
ConvertUtils.register(Converter, Class)
-
registerTimeConversors
public static void registerTimeConversors(boolean defaultToNull) Registers all the Orne custom converters forjava.timeinConvertUtils.- Parameters:
defaultToNull- Ifnullmust 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 forjava.timein the specifiedConvertUtilsBean.- 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 forjava.timein the specifiedConvertUtilsBean.- Parameters:
converter- Converter to register the Orne converters todefaultToNull- Ifnullmust be returned on missing (null) values and on conversion exceptions- See Also:
-
ConvertUtilsBean.register(Converter, Class)
-