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

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

public class LongPatternFormat
extends NumberPatternFormat<Long>


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

LongPatternFormat

public LongPatternFormat()

LongPatternFormat

public LongPatternFormat(String pattern,
                         Locale locale)
Method Detail

parse

public Long parse(String string)
           throws Exception
Description copied from interface: Format
Parses a String into an object

Specified by:
parse in interface Format<Long>
Overrides:
parse in class NumberPatternFormat<Long>
Parameters:
string - the string
Returns:
T the object
Throws:
Exception - can be thrown


Apache CAMEL