Package org.aksw.commons.util.convert
Class ConverterRegistries
java.lang.Object
org.aksw.commons.util.convert.ConverterRegistries
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddDefaultConversions(ConverterRegistry registry) static Objectconvert(ConverterRegistry converterRegistry, Object input, Class<?> target) static ConvertFunctionRawgetConverterBoxed(ConverterRegistry registry, Class<?> from, Class<?> to) If the initial lookup fails and any argument is a primitive type then retry with boxed typesstatic ConverterRegistry
-
Constructor Details
-
ConverterRegistries
public ConverterRegistries()
-
-
Method Details
-
getConverterBoxed
public static ConvertFunctionRaw getConverterBoxed(ConverterRegistry registry, Class<?> from, Class<?> to) If the initial lookup fails and any argument is a primitive type then retry with boxed types -
getDefaultConverterRegistry
-
convert
-
addDefaultConversions
-