public class SerializeUtil extends Object
| Constructor and Description |
|---|
SerializeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Serializable |
copy(Serializable serializable) |
static Serializable |
deserialize(byte[] dataBytes) |
static Serializable |
deserializeFromString(String s) |
static byte[] |
serialize(Serializable serializable) |
static String |
serializeToString(Serializable serializable) |
public static Serializable copy(Serializable serializable) throws IOException
IOExceptionpublic static String serializeToString(Serializable serializable) throws IOException
IOExceptionpublic static byte[] serialize(Serializable serializable) throws IOException
IOExceptionpublic static Serializable deserializeFromString(String s) throws IOException
IOExceptionpublic static Serializable deserialize(byte[] dataBytes) throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.