public final class Serialization extends Object
Constructor and Description |
---|
Serialization() |
Modifier and Type | Method and Description |
---|---|
static Object |
deserialize(byte[] buf)
Deserialize an object from a byte array
|
static byte[] |
serialize(Object obj)
Serialize the object into a byte array.
|
public static byte[] serialize(Object obj) throws IOException
IOException
public static Object deserialize(byte[] buf) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
Copyright © 2003-2013 Apache Software Foundation. All Rights Reserved.