org.apache.camel.dataformat.bindy.format
Class IntegerPatternFormat
java.lang.Object
org.apache.camel.dataformat.bindy.format.NumberPatternFormat<Integer>
org.apache.camel.dataformat.bindy.format.IntegerPatternFormat
- All Implemented Interfaces:
- Format<Integer>, PatternFormat<Integer>
public class IntegerPatternFormat
- extends NumberPatternFormat<Integer>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegerPatternFormat
public IntegerPatternFormat()
IntegerPatternFormat
public IntegerPatternFormat(String pattern,
Locale locale)
parse
public Integer parse(String string)
throws FormatException
- Description copied from interface:
Format
- Parses a String into an object
- Specified by:
parse
in interface Format<Integer>
- Overrides:
parse
in class NumberPatternFormat<Integer>
- Parameters:
string
- the string
- Returns:
- T the object
- Throws:
FormatException
Apache CAMEL