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

java.lang.Object
  extended by org.apache.camel.dataformat.bindy.format.IntegerFormat
All Implemented Interfaces:
Format<java.lang.Integer>

public class IntegerFormat
extends java.lang.Object
implements Format<java.lang.Integer>


Constructor Summary
IntegerFormat()
           
 
Method Summary
 java.lang.String format(java.lang.Integer object)
          Formats the object into a String
 java.lang.Integer parse(java.lang.String string)
          Parses a String into an object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerFormat

public IntegerFormat()
Method Detail

format

public java.lang.String format(java.lang.Integer object)
                        throws java.lang.Exception
Description copied from interface: Format
Formats the object into a String

Specified by:
format in interface Format<java.lang.Integer>
Parameters:
object - the object
Returns:
formatted as a String
Throws:
java.lang.Exception - can be thrown

parse

public java.lang.Integer parse(java.lang.String string)
                        throws java.lang.Exception
Description copied from interface: Format
Parses a String into an object

Specified by:
parse in interface Format<java.lang.Integer>
Parameters:
string - the string
Returns:
T the object
Throws:
java.lang.Exception - can be thrown


Apache CAMEL