public class IndexValueSerializer extends Object implements Serializer
| Constructor and Description |
|---|
IndexValueSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(byte[] serialized)
Deserialize the content of an object from a byte array.
|
byte[] |
serialize(Object obj)
Serialize the object.
|
public Object deserialize(byte[] serialized) throws IOException
Serializerdeserialize in interface Serializerserialized - Byte array representation of the objectIOExceptionpublic byte[] serialize(Object obj) throws IOException
serialize in interface Serializerobj - The object to serializeIOException - If the serialization failedCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.