org.apache.camel.dataformat.bindy.format
Class FloatPatternFormat
java.lang.Object
org.apache.camel.dataformat.bindy.format.NumberPatternFormat<Float>
org.apache.camel.dataformat.bindy.format.FloatPatternFormat
- All Implemented Interfaces:
- Format<Float>, PatternFormat<Float>
public class FloatPatternFormat
- extends NumberPatternFormat<Float>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FloatPatternFormat
public FloatPatternFormat()
FloatPatternFormat
public FloatPatternFormat(String pattern,
Locale locale)
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