public class StringSerializer extends Object implements Serializer
| Constructor and Description |
|---|
StringSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(byte[] bites)
Deserialize the content of an object from a byte array.
|
byte[] |
serialize(Object str)
Serialize the content of an object into a byte array.
|
public Object deserialize(byte[] bites) throws IOException
Serializerdeserialize in interface Serializerbites - Byte array representation of the objectIOExceptionpublic byte[] serialize(Object str) throws IOException
Serializerserialize in interface Serializerstr - Object to serializeIOExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.