ch.javasoft.jbase.marshal
Class BigIntegerMarshaller

java.lang.Object
  extended by 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.


Constructor Summary
BigIntegerMarshaller()
           
 
Method Summary
 BigInteger readFrom(DataInput in)
          Reads from the given data input and creates an entity instance from the read data
 void writeTo(BigInteger entity, DataOutput out)
          Writes the given entity to the given data output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BigIntegerMarshaller

public BigIntegerMarshaller()
Method Detail

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