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