Java org.apache.commons.lang3 SerializationUtils fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.lang3 SerializationUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.lang3 SerializationUtils.

The text is from its open source code.

Subclass

org.apache.commons.lang3.SerializationUtils has subclasses.
Click this link to see all its subclasses.

Method

Tclone(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.

Tdeserialize(final InputStream inputStream)

Deserializes an Object from the specified stream.

Tdeserialize(final byte[] objectData)

Deserializes a single Object from an array of bytes.

Troundtrip(final T msg)
Performs a serialization roundtrip.
byte[]serialize(final Serializable obj)

Serializes an Object to a byte array for storage/serialization.

voidserialize(final Serializable obj, final OutputStream outputStream)

Serializes an Object to the specified stream.

The stream will be closed once the object is written.