public class Serialization extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Serialization.ClassResolvingObjectInputStream |
static class |
Serialization.PersistentObjectInputStream
Object input stream that replaces oids with their objects.
|
static class |
Serialization.PersistentObjectOutputStream
Object output stream that replaces persistent objects with their oids.
|
Constructor and Description |
---|
Serialization() |
Modifier and Type | Method and Description |
---|---|
static Object |
deserialize(byte[] bytes,
StoreContext ctx)
Deserialize an object value from the given bytes.
|
static Object |
deserialize(InputStream in,
StoreContext ctx)
Deserialize an object value from the given stream.
|
static byte[] |
serialize(Object val,
StoreContext ctx)
Serialize a value that might contain persistent objects.
|
public static byte[] serialize(Object val, StoreContext ctx)
public static Object deserialize(byte[] bytes, StoreContext ctx)
public static Object deserialize(InputStream in, StoreContext ctx)
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.