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

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

public class BytePatternFormat
extends NumberPatternFormat<Byte>


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

BytePatternFormat

public BytePatternFormat()

BytePatternFormat

public BytePatternFormat(String pattern,
                         Locale locale)
Method Detail

parse

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

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


Apache CAMEL