/** * Registers a <code>Converter</code> instance to be used by the {@link * org.ofbiz.base.conversion.Converters#getConverter(Class, Class)} method. * * @param <S> The source object type * @param <T> The target object type * @param converter The <code>Converter</code> instance to register */ public static <S, T> void registerConverter(Converter<S, T> converter) { registerConverter(converter, converter.getSourceClass(), converter.getTargetClass()); }