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

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

Introduction

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

The text is from its open source code.

Subclass

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

Method

Objectclone(Serializable 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.

Objectdeserialize(InputStream inputStream)

Deserializes an Object from the specified stream.

The stream will be closed once the object is written.

Objectdeserialize(byte[] objectData)

Deserializes a single Object from an array of bytes.

voidserialize(Serializable obj, OutputStream outputStream)

Serializes an Object to the specified stream.

The stream will be closed once the object is written.

byte[]serialize(Serializable obj)

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