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