public class SerializationHelper extends Object
| Constructor and Description |
|---|
SerializationHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
deserialize(byte[] bytes) |
static Object |
deserializeFromString(String key) |
static byte[] |
serialize(Object obj) |
static String |
serializeToString(Object key) |
public static byte[] serialize(Object obj)
public static Object deserialize(byte[] bytes)
public static Object deserializeFromString(String key) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static String serializeToString(Object key) throws IOException
IOExceptionCopyright 2001-2019, Terracotta, Inc.