public final class SerializationUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
deserialize(byte[] bytes)
Deserialize the bytes.
|
static java.lang.Object |
deserialize(java.io.ObjectInputStream stream)
Deserialize the stream.
|
static byte[] |
serialize(java.lang.Object object)
Serialize the object provided.
|
public static byte[] serialize(java.lang.Object object)
object
- the object to serializepublic static java.lang.Object deserialize(byte[] bytes)
bytes
- a serialized object createdpublic static java.lang.Object deserialize(java.io.ObjectInputStream stream)
stream
- an object stream created from a serialized object