public class Serializers
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Serializers.ClassLoaderObjectInputStream
Follows pattern in org.apache.commons.io.input.ClassLoaderObjectInputStream
|
static interface |
Serializers.ObjectReplacer |
Constructor and Description |
---|
Serializers() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
reconstitute(T object) |
static <T> T |
reconstitute(T object,
java.lang.ClassLoader classLoader) |
static <T> T |
reconstitute(T object,
java.lang.ClassLoader classLoader,
Serializers.ObjectReplacer replacer) |
static <T> T |
reconstitute(T object,
Serializers.ObjectReplacer replacer) |
public static <T> T reconstitute(T object) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public static <T> T reconstitute(T object, Serializers.ObjectReplacer replacer) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public static <T> T reconstitute(T object, java.lang.ClassLoader classLoader) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public static <T> T reconstitute(T object, java.lang.ClassLoader classLoader, Serializers.ObjectReplacer replacer) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException