org.apache.commons.convert
Class MiscConverters.DecimalFormatToString

java.lang.Object
  extended by org.apache.commons.convert.AbstractConverter<DecimalFormat,String>
      extended by org.apache.commons.convert.MiscConverters.DecimalFormatToString
All Implemented Interfaces:
Converter<DecimalFormat,String>, ConverterLoader
Enclosing class:
MiscConverters

public static class MiscConverters.DecimalFormatToString
extends AbstractConverter<DecimalFormat,String>

An object that converts a DecimalFormat to a format pattern String.


Constructor Summary
MiscConverters.DecimalFormatToString()
           
 
Method Summary
 String convert(DecimalFormat obj)
          Converts obj to T.
 
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
 

Constructor Detail

MiscConverters.DecimalFormatToString

public MiscConverters.DecimalFormatToString()
Method Detail

convert

public String convert(DecimalFormat 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.