Package org.apache.ofbiz.base.conversion
Class NumberConverters
- java.lang.Object
-
- org.apache.ofbiz.base.conversion.NumberConverters
-
- All Implemented Interfaces:
ConverterLoader
public class NumberConverters extends java.lang.Object implements ConverterLoader
Number Converter classes.
-
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description NumberConverters()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static java.lang.Number
fromString(java.lang.String str, java.util.Locale locale)
void
loadConverters()
Create and register converters with the Java object type conversion framework.
-
-
-
Method Detail
-
fromString
protected static java.lang.Number fromString(java.lang.String str, java.util.Locale locale) throws ConversionException
- Throws:
ConversionException
-
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
-
-