Package org.apache.ofbiz.base.conversion
Class MiscConverters.StringToDecimalFormat
- java.lang.Object
-
- org.apache.ofbiz.base.conversion.AbstractConverter<java.lang.String,java.text.DecimalFormat>
-
- org.apache.ofbiz.base.conversion.MiscConverters.StringToDecimalFormat
-
- All Implemented Interfaces:
Converter<java.lang.String,java.text.DecimalFormat>
,ConverterLoader
- Enclosing class:
- MiscConverters
public static class MiscConverters.StringToDecimalFormat extends AbstractConverter<java.lang.String,java.text.DecimalFormat>
-
-
Constructor Summary
Constructors Constructor Description StringToDecimalFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.text.DecimalFormat
convert(java.lang.String obj)
Convertsobj
toT
.-
Methods inherited from class org.apache.ofbiz.base.conversion.AbstractConverter
canConvert, convert, getSourceClass, getTargetClass, loadConverters
-
-
-
-
Method Detail
-
convert
public java.text.DecimalFormat convert(java.lang.String obj) throws ConversionException
Description copied from interface:Converter
Convertsobj
toT
.- Parameters:
obj
- The sourceObject
to convert- Returns:
- The converted
Object
- Throws:
ConversionException
-
-