org.apache.commons.convert
Class MiscConverters.StringToDecimalFormat
java.lang.Object
org.apache.commons.convert.AbstractConverter<String,DecimalFormat>
org.apache.commons.convert.MiscConverters.StringToDecimalFormat
- All Implemented Interfaces:
- Converter<String,DecimalFormat>, ConverterLoader
- Enclosing class:
- MiscConverters
public static class MiscConverters.StringToDecimalFormat
- extends AbstractConverter<String,DecimalFormat>
An object that converts a format pattern String
to a
DecimalFormat
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MiscConverters.StringToDecimalFormat
public MiscConverters.StringToDecimalFormat()
convert
public DecimalFormat convert(String obj)
throws ConversionException
- Description copied from interface:
Converter
- Converts
obj
to T
.
- Parameters:
obj
- The source Object
to convert
- Returns:
- The converted
Object
- Throws:
ConversionException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.