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

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

public class DoubleFormat
extends Object
implements Format<Double>


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

DoubleFormat

public DoubleFormat()
Method Detail

format

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

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

parse

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

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


Apache CAMEL