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

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

public class FloatPatternFormat
extends NumberPatternFormat<Float>


Constructor Summary
FloatPatternFormat()
           
FloatPatternFormat(String pattern, Locale locale)
           
 
Method Summary
 Float 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

FloatPatternFormat

public FloatPatternFormat()

FloatPatternFormat

public FloatPatternFormat(String pattern,
                          Locale locale)
Method Detail

parse

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

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


Apache CAMEL