org.apache.commons.convert
Class NumberConverters.LongToString

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

public static class NumberConverters.LongToString
extends NumberConverters.AbstractNumberToStringConverter<Long>

An object that converts a Long to a String.


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

public NumberConverters.LongToString()
Method Detail

format

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


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