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

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

public class StringFormat
extends Object
implements Format<String>


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

StringFormat

public StringFormat()
Method Detail

format

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

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

parse

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

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


Apache CAMEL