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
IOException
public static byte[] serialize(Serializable object, ClassLoader classLoader) throws IOException
IOException
public static Serializable deserialize(byte[] byteArray) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public static Serializable deserialize(byte[] byteArray, ClassLoader classLoader) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.