ch.javasoft.jbase.marshal
Class BigIntegerMarshaller
java.lang.Object
ch.javasoft.jbase.marshal.BigIntegerMarshaller
- All Implemented Interfaces:
- EntityMarshaller<BigInteger>
public class BigIntegerMarshaller
- extends Object
- implements EntityMarshaller<BigInteger>
The BigIntegerMarshaller can be used as marshaller for
big integer numbers together with
variable width tables.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BigIntegerMarshaller
public BigIntegerMarshaller()
writeTo
public void writeTo(BigInteger entity,
DataOutput out)
throws IOException
- Description copied from interface:
EntityMarshaller
- Writes the given entity to the given data output
- Specified by:
writeTo in interface EntityMarshaller<BigInteger>
- Throws:
IOException
readFrom
public BigInteger readFrom(DataInput in)
throws IOException
- Description copied from interface:
EntityMarshaller
- Reads from the given data input and creates an entity
instance from the read data
- Specified by:
readFrom in interface EntityMarshaller<BigInteger>
- Throws:
IOException