Example usage for Java org.apache.commons.lang3 SerializationUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
T | clone(final T object) Deep clone an Object using serialization. This is many times slower than writing clone methods by hand on all objects in your object graph. |
T | deserialize(final InputStream inputStream) Deserializes an Object from the specified stream. |
T | deserialize(final byte[] objectData) Deserializes a single Object from an array of bytes. |
T | roundtrip(final T msg) Performs a serialization roundtrip. |
byte[] | serialize(final Serializable obj) Serializes an Object to a byte array for storage/serialization. |
void | serialize(final Serializable obj, final OutputStream outputStream) Serializes an Object to the specified stream. The stream will be closed once the object is written. |