/** * Set the object converters to add to the default converters * @param converters a map of converters to add to the default set, null to just use the default set */ public void setConverters(Map<Class<?>, Converter<?>> converters) { getConversionUtils().setConverters(converters); }
/** * Set the object converters to add to the default converters * @param converters a map of converters to add to the default set, null to just use the default set */ public void setConverters(Map<Class<?>, Converter<?>> converters) { getConversionUtils().setConverters(converters); }
/** * Constructor which allows adding to the initial set of converters * <br/> * <b>WARNING:</b> if you don't need this control then just use the {@link #getInstance()} method to get this * * @param converters a map of converters to add to the default set */ public ConversionUtils(Map<Class<?>, Converter<?>> converters) { // populate the converters setConverters(converters); setVariableConverters(null); ConversionUtils.setInstance(this); }
/** * Constructor which allows adding to the initial set of converters * <br/> * <b>WARNING:</b> if you don't need this control then just use the {@link #getInstance()} method to get this * * @param converters a map of converters to add to the default set */ public ConversionUtils(Map<Class<?>, Converter<?>> converters) { // populate the converters setConverters(converters); setVariableConverters(null); ConversionUtils.setInstance(this); }