org.apache.commons.convert
Class NumberConverters.BigDecimalToString

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<BigDecimal>
              extended by org.apache.commons.convert.NumberConverters.BigDecimalToString
All Implemented Interfaces:
Converter<BigDecimal,String>, ConverterLoader, LocalizedConverter<BigDecimal,String>
Enclosing class:
NumberConverters

public static class NumberConverters.BigDecimalToString
extends NumberConverters.AbstractNumberToStringConverter<BigDecimal>

An object that converts a BigDecimal to a String.


Constructor Summary
NumberConverters.BigDecimalToString()
           
 
Method Summary
protected  String format(BigDecimal 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.BigDecimalToString

public NumberConverters.BigDecimalToString()
Method Detail

format

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


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