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
IOException
public static String serializeToString(Serializable serializable) throws IOException
IOException
public static byte[] serialize(Serializable serializable) throws IOException
IOException
public static Serializable deserializeFromString(String s) throws IOException
IOException
public static Serializable deserialize(byte[] dataBytes) throws IOException
IOException
Copyright © 2014. All Rights Reserved.