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

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

public class DoublePatternFormat
extends NumberPatternFormat<Double>


Constructor Summary
DoublePatternFormat()
           
DoublePatternFormat(String pattern, Locale locale)
           
 
Method Summary
 Double parse(String string)
          Parses a String into an object
 
Methods inherited from class org.apache.camel.dataformat.bindy.format.NumberPatternFormat
format, getNumberFormat, getPattern, setPattern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoublePatternFormat

public DoublePatternFormat()

DoublePatternFormat

public DoublePatternFormat(String pattern,
                           Locale locale)
Method Detail

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>
Overrides:
parse in class NumberPatternFormat<Double>
Parameters:
string - the string
Returns:
T the object
Throws:
Exception - can be thrown


Apache CAMEL