com.liferay.portal.kernel.util
Class SerializableUtil

java.lang.Object
  extended by com.liferay.portal.kernel.util.SerializableUtil

public class SerializableUtil
extends java.lang.Object

View Source

Author:
Alexander Chow

Constructor Summary
SerializableUtil()
           
 
Method Summary
static java.lang.Object deserialize(byte[] bytes)
           
static byte[] serialize(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializableUtil

public SerializableUtil()
Method Detail

deserialize

public static java.lang.Object deserialize(byte[] bytes)
                                    throws java.lang.ClassNotFoundException,
                                           java.io.IOException
Throws:
java.lang.ClassNotFoundException
java.io.IOException

serialize

public static byte[] serialize(java.lang.Object obj)
                        throws java.io.IOException
Throws:
java.io.IOException