Package org.apache.ofbiz.base.conversion
Class NumberConverters
java.lang.Object
org.apache.ofbiz.base.conversion.NumberConverters
- All Implemented Interfaces:
ConverterLoader
Number Converter classes.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
NumberConverters.GenericNumberToFloat<N extends Number>
static class
static class
NumberConverters.GenericNumberToLong<N extends Number>
static class
NumberConverters.GenericNumberToShort<N extends Number>
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Create and register converters with the Java object type conversion framework.
-
Constructor Details
-
NumberConverters
public NumberConverters()
-
-
Method Details
-
loadConverters
public void loadConverters()Description copied from interface:ConverterLoader
Create and register converters with the Java object type conversion framework. If the converter extends one of the converter abstract classes, then the converter will register itself when an instance is created. Otherwise, callConverters.registerConverter(Converter)
with theConverter
instance.- Specified by:
loadConverters
in interfaceConverterLoader
-