org.apache.camel.dataformat.bindy.format
Class LongFormat

java.lang.Object
  extended by org.apache.camel.dataformat.bindy.format.AbstractNumberFormat<Long>
      extended by org.apache.camel.dataformat.bindy.format.LongFormat
All Implemented Interfaces:
Format<Long>

public class LongFormat
extends AbstractNumberFormat<Long>


Constructor Summary
LongFormat()
           
 
Method Summary
 String format(Long object)
          Formats the object into a String
 Long parse(String string)
          Parses a String into an object
 
Methods inherited from class org.apache.camel.dataformat.bindy.format.AbstractNumberFormat
getFormat, getMultiplier, getPrecision, hasImpliedDecimalPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongFormat

public LongFormat()
Method Detail

format

public String format(Long object)
              throws Exception
Description copied from interface: Format
Formats the object into a String

Parameters:
object - the object
Returns:
formatted as a String
Throws:
Exception - can be thrown

parse

public Long parse(String string)
           throws Exception
Description copied from interface: Format
Parses a String into an object

Parameters:
string - the string
Returns:
T the object
Throws:
Exception - can be thrown


Apache Camel