jxl.util
Class SerializationUtils
java.lang.Object
jxl.util.SerializationUtils
public class SerializationUtils
- extends java.lang.Object
- Author:
- alex
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toBytes
public static byte[] toBytes(java.lang.Object o)
throws java.io.IOException
- Throws:
java.io.IOException
toObject
public static java.lang.Object toObject(byte[] bytes)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
testSerialization
public static java.lang.Object testSerialization(java.lang.Object o)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
toBytesString
public static java.lang.String toBytesString(java.lang.Object o)
throws java.io.IOException
- Throws:
java.io.IOException
fromBytesString
public static java.lang.Object fromBytesString(java.lang.String bytes)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException