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
Serializer
deserialize
in interface Serializer
serialized
- Byte array representation of the objectIOException
public byte[] serialize(Object obj) throws IOException
serialize
in interface Serializer
obj
- The object to serializeIOException
- If the serialization failedCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.