public final class Serialization
extends java.lang.Object
| Constructor and Description |
|---|
Serialization() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
deserialize(byte[] buf)
Deserialize an object from a byte array
|
static byte[] |
serialize(java.lang.Object obj)
Serialize the object into a byte array.
|
public static byte[] serialize(java.lang.Object obj)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.Object deserialize(byte[] buf)
throws java.lang.ClassNotFoundException,
java.io.IOException
java.lang.ClassNotFoundExceptionjava.io.IOExceptionCees de Groot (C) 2000-2001. All rights reserved http://jdbm.sourceforge.net