|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.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 |