org.apache.camel.dataformat.bindy.format
Class ByteFormat
java.lang.Object
org.apache.camel.dataformat.bindy.format.ByteFormat
- All Implemented Interfaces:
- Format<Byte>
public class ByteFormat
- extends Object
- implements Format<Byte>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteFormat
public ByteFormat()
format
public String format(Byte object)
throws Exception
- Description copied from interface:
Format
- Formats the object into a String
- Specified by:
format
in interface Format<Byte>
- Parameters:
object
- the object
- Returns:
- formatted as a String
- Throws:
Exception
- can be thrown
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>
- Parameters:
string
- the string
- Returns:
- T the object
- Throws:
Exception
- can be thrown
Apache CAMEL