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

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

public class IntegerPatternFormat
extends NumberPatternFormat<Integer>


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

IntegerPatternFormat

public IntegerPatternFormat()

IntegerPatternFormat

public IntegerPatternFormat(String pattern,
                            Locale locale)
Method Detail

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