|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.core.partition.impl.btree.jdbm.BigIntegerSerializer
public class BigIntegerSerializer
A custom BigInteger serializer to [de]serialize BigIntegers.
| Constructor Summary | |
|---|---|
BigIntegerSerializer()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
deserialize(byte[] bigIntBytes)
Deserialize the content of an object from a byte array. |
byte[] |
serialize(java.lang.Object bigInt)
Serialize the content of an object into a byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BigIntegerSerializer()
| Method Detail |
|---|
public java.lang.Object deserialize(byte[] bigIntBytes)
throws java.io.IOException
Serializer
deserialize in interface SerializerbigIntBytes - Byte array representation of the object
java.io.IOException
public byte[] serialize(java.lang.Object bigInt)
throws java.io.IOException
Serializer
serialize in interface SerializerbigInt - Object to serialize
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||