Package org.apache.ofbiz.base.conversion
Class NumberConverters.DoubleToString
- java.lang.Object
-
- org.apache.ofbiz.base.conversion.AbstractConverter<S,T>
-
- org.apache.ofbiz.base.conversion.AbstractLocalizedConverter<S,T>
-
- org.apache.ofbiz.base.conversion.NumberConverters.AbstractNumberConverter<N,java.lang.String>
-
- org.apache.ofbiz.base.conversion.NumberConverters.AbstractNumberToStringConverter<java.lang.Double>
-
- org.apache.ofbiz.base.conversion.NumberConverters.DoubleToString
-
- All Implemented Interfaces:
Converter<java.lang.Double,java.lang.String>
,ConverterLoader
,LocalizedConverter<java.lang.Double,java.lang.String>
- Enclosing class:
- NumberConverters
public static class NumberConverters.DoubleToString extends NumberConverters.AbstractNumberToStringConverter<java.lang.Double>
-
-
Constructor Summary
Constructors Constructor Description DoubleToString()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
format(java.lang.Double obj, java.text.NumberFormat nf)
-
Methods inherited from class org.apache.ofbiz.base.conversion.NumberConverters.AbstractNumberToStringConverter
convert, convert
-
Methods inherited from class org.apache.ofbiz.base.conversion.NumberConverters.AbstractNumberConverter
convert
-
Methods inherited from class org.apache.ofbiz.base.conversion.AbstractLocalizedConverter
convert, convert
-
Methods inherited from class org.apache.ofbiz.base.conversion.AbstractConverter
canConvert, convert, getSourceClass, getTargetClass, loadConverters
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ofbiz.base.conversion.Converter
canConvert, convert, getSourceClass, getTargetClass
-
-
-
-
Method Detail
-
format
protected java.lang.String format(java.lang.Double obj, java.text.NumberFormat nf) throws ConversionException
- Specified by:
format
in classNumberConverters.AbstractNumberToStringConverter<java.lang.Double>
- Throws:
ConversionException
-
-