public class DoubleConverter extends AbstractDecimalConverter<Double>
| Modifier and Type | Field and Description |
|---|---|
static IConverter<Double> |
INSTANCE
The singleton instance for a double converter
|
| Constructor and Description |
|---|
DoubleConverter() |
| Modifier and Type | Method and Description |
|---|---|
Double |
convertToObject(String value,
Locale locale)
Converts the given
String value |
protected Class<Double> |
getTargetType() |
getNumberFormat, newNumberFormat, setNumberFormatconvertToString, parsenewConversionException, parsepublic static final IConverter<Double> INSTANCE
public Double convertToObject(String value, Locale locale)
IConverterString valuevalue - The string value to convertlocale - The locale used to convert the valueIConverter.convertToObject(String, java.util.Locale)protected Class<Double> getTargetType()
getTargetType in class AbstractConverter<Double>AbstractConverter.getTargetType()Copyright © 2006–2014 Apache Software Foundation. All rights reserved.