public class SerializableUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Serializable |
deserialize(byte[] byteArray) |
static Serializable |
deserialize(byte[] byteArray,
ClassLoader classLoader) |
static byte[] |
serialize(Serializable object) |
static byte[] |
serialize(Serializable object,
ClassLoader classLoader) |
public static byte[] serialize(Serializable object) throws IOException
IOExceptionpublic static byte[] serialize(Serializable object, ClassLoader classLoader) throws IOException
IOExceptionpublic static Serializable deserialize(byte[] byteArray) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static Serializable deserialize(byte[] byteArray, ClassLoader classLoader) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.