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

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

public class CharacterFormat
extends Object
implements Format<Character>


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

CharacterFormat

public CharacterFormat()
Method Detail

format

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

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

parse

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

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


Apache CAMEL