|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.devexperts.qd.util.ObjectUtil
IOUtil
class instead.
public class ObjectUtil
Utility methods for object serialization and deserialization.
Note: this class is deprecated and is replaced by IOUtil
class.
See IOUtil
class, section Object API, and individual methods for documentation.
Method Summary | |
---|---|
static java.lang.Object |
bytesToObject(byte[] b)
Deprecated. Use IOUtil.bytesToObject(byte[]) method instead. |
static java.lang.Object[] |
bytesToObjects(java.lang.Class[] types,
byte[] bytes)
Deprecated. Use IOUtil.bytesToObjects(Class[], byte[]) method instead. |
static java.lang.Object[] |
bytesToObjects(java.lang.Class[] types,
byte[] bytes,
java.lang.ClassLoader cl)
Deprecated. Use IOUtil.bytesToObjects(Class[], byte[], ClassLoader) method instead. |
static byte[] |
objectsToBytes(java.lang.Class[] types,
java.lang.Object... objects)
Deprecated. Use IOUtil.objectsToBytes(java.lang.Class[], java.lang.Object...) method instead. |
static byte[] |
objectToBytes(java.lang.Object value)
Deprecated. Use IOUtil.objectToBytes(java.lang.Object) method instead. |
static byte[] |
readByteArray(java.io.DataInput in)
Deprecated. Use IOUtil.readByteArray(java.io.DataInput) method instead. |
static java.lang.Object |
readObject(java.io.DataInput in)
Deprecated. Use IOUtil.readObject(java.io.DataInput) method instead. |
static void |
writeByteArray(java.io.DataOutput out,
byte[] bytes)
Deprecated. Use IOUtil.writeByteArray(java.io.DataOutput, byte[]) method instead. |
static void |
writeObject(java.io.DataOutput out,
java.lang.Object value)
Deprecated. Use IOUtil.writeObject(java.io.DataOutput, java.lang.Object) method instead. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static byte[] objectToBytes(java.lang.Object value) throws java.io.IOException
IOUtil.objectToBytes(java.lang.Object)
method instead.
java.io.IOException
public static java.lang.Object bytesToObject(byte[] b) throws java.io.IOException
IOUtil.bytesToObject(byte[])
method instead.
java.io.IOException
public static byte[] objectsToBytes(java.lang.Class[] types, java.lang.Object... objects) throws java.io.IOException
IOUtil.objectsToBytes(java.lang.Class[], java.lang.Object...)
method instead.
java.io.IOException
public static java.lang.Object[] bytesToObjects(java.lang.Class[] types, byte[] bytes) throws java.io.IOException
IOUtil.bytesToObjects(Class[], byte[])
method instead.
java.io.IOException
public static java.lang.Object[] bytesToObjects(java.lang.Class[] types, byte[] bytes, java.lang.ClassLoader cl) throws java.io.IOException
IOUtil.bytesToObjects(Class[], byte[], ClassLoader)
method instead.
java.io.IOException
public static void writeObject(java.io.DataOutput out, java.lang.Object value) throws java.io.IOException
IOUtil.writeObject(java.io.DataOutput, java.lang.Object)
method instead.
java.io.IOException
public static java.lang.Object readObject(java.io.DataInput in) throws java.io.IOException
IOUtil.readObject(java.io.DataInput)
method instead.
java.io.IOException
public static void writeByteArray(java.io.DataOutput out, byte[] bytes) throws java.io.IOException
IOUtil.writeByteArray(java.io.DataOutput, byte[])
method instead.
java.io.IOException
public static byte[] readByteArray(java.io.DataInput in) throws java.io.IOException
IOUtil.readByteArray(java.io.DataInput)
method instead.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |