public class Serializer extends Object
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
static Object |
deserialize(Object data,
boolean zipped)
deserializes DBBinary/byte[] to object
|
static byte[] |
serialize(Object o,
boolean zip)
serializes object to byte[]
|
public static byte[] serialize(Object o, boolean zip) throws IOException
IOException
public static Object deserialize(Object data, boolean zipped) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
Copyright © 2013. All Rights Reserved.