public class Serializer
extends java.lang.Object
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
deserialize(byte[] bytes) |
static byte[] |
serialize(java.lang.Object object) |
public static java.lang.Object deserialize(byte[] bytes) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public static byte[] serialize(java.lang.Object object) throws java.io.IOException
java.io.IOException