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

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

public class ShortPatternFormat
extends NumberPatternFormat<Short>


Constructor Summary
ShortPatternFormat()
           
ShortPatternFormat(String pattern)
           
 
Method Summary
 Short 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

ShortPatternFormat

public ShortPatternFormat()

ShortPatternFormat

public ShortPatternFormat(String pattern)
Method Detail

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


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.