|
||||||||||
| 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.StringSerializer
public class StringSerializer
A custom String serializer to [de]serialize Strings.
| Constructor Summary | |
|---|---|
StringSerializer()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
deserialize(byte[] bites)
Deserialize the content of an object from a byte array. |
byte[] |
serialize(java.lang.Object str)
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 StringSerializer()
| Method Detail |
|---|
public java.lang.Object deserialize(byte[] bites)
throws java.io.IOException
Serializer
deserialize in interface Serializerbites - Byte array representation of the object
java.io.IOException
public byte[] serialize(java.lang.Object str)
throws java.io.IOException
Serializer
serialize in interface Serializerstr - Object to serialize
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||