org.apache.commons.convert
Class NumberConverters.IntegerToString

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

public static class NumberConverters.IntegerToString
extends NumberConverters.AbstractNumberToStringConverter<Integer>

An object that converts an Integer to a String.


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

public NumberConverters.IntegerToString()
Method Detail

format

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


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