|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.SerializationHelper
public class SerializationHelper
SerializationHelper
Constructor Summary | |
---|---|
SerializationHelper()
|
Method Summary | |
---|---|
static Object |
deserialize(byte[] byteArray)
deserialize, using the current Thread Context classloader |
static Object |
deserialize(byte[] byteArray,
ClassLoader cl)
deserialize an object using a specific ClassLoader |
static byte[] |
serialize(Object obj)
serialize an object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SerializationHelper()
Method Detail |
---|
public static Object deserialize(byte[] byteArray) throws IOException, ClassNotFoundException
byteArray
-
IOException
ClassNotFoundException
public static Object deserialize(byte[] byteArray, ClassLoader cl) throws IOException, ClassNotFoundException
byteArray
- cl
-
IOException
ClassNotFoundException
public static byte[] serialize(Object obj) throws IOException
obj
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |