public class SerializableObjectCopier
extends java.lang.Object
Constructor and Description |
---|
SerializableObjectCopier() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
copy(java.lang.Object orig)
Deep copies the input object.
|
public static java.lang.Object copy(java.lang.Object orig) throws java.io.IOException, java.lang.ClassNotFoundException
orig
- is the object to be copied, must be serializablejava.io.IOException
- if the streams returned an exceptionjava.lang.ClassNotFoundException
- if the de-serialize fails