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

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

public class ShortFormat
extends Object
implements Format<Short>


Constructor Summary
ShortFormat()
           
 
Method Summary
 String format(Short object)
          Formats the object into a String
 Short parse(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

ShortFormat

public ShortFormat()
Method Detail

format

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

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

parse

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

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


Apache CAMEL