org.apache.commons.convert
Class NumberConverters.DoubleToString

java.lang.Object
  extended by org.apache.commons.convert.AbstractConverter<S,T>
      extended by org.apache.commons.convert.AbstractLocalizedConverter<N,String>
          extended by org.apache.commons.convert.NumberConverters.AbstractNumberToStringConverter<Double>
              extended by org.apache.commons.convert.NumberConverters.DoubleToString
All Implemented Interfaces:
Converter<Double,String>, ConverterLoader, LocalizedConverter<Double,String>
Enclosing class:
NumberConverters

public static class NumberConverters.DoubleToString
extends NumberConverters.AbstractNumberToStringConverter<Double>

An object that converts a Double to a String.


Constructor Summary
NumberConverters.DoubleToString()
           
 
Method Summary
protected  String format(Double obj, NumberFormat nf)
           
 
Methods inherited from class org.apache.commons.convert.NumberConverters.AbstractNumberToStringConverter
convert, convert
 
Methods inherited from class org.apache.commons.convert.AbstractLocalizedConverter
convert
 
Methods inherited from class org.apache.commons.convert.AbstractConverter
canConvert, 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.commons.convert.Converter
canConvert, getSourceClass, getTargetClass
 

Constructor Detail

NumberConverters.DoubleToString

public NumberConverters.DoubleToString()
Method Detail

format

protected String format(Double obj,
                        NumberFormat nf)
                 throws ConversionException
Specified by:
format in class NumberConverters.AbstractNumberToStringConverter<Double>
Throws:
ConversionException


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.