public abstract class

SerializationUtils

extends Object
java.lang.Object
   ↳ org.springframework.util.SerializationUtils

Class Overview

Static utilities for serialization and deserialization.

Summary

Public Constructors
SerializationUtils()
Public Methods
static Object deserialize(byte[] bytes)
Deserialize the byte array into an object.
static byte[] serialize(Object object)
Serialize the given object to a byte array.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SerializationUtils ()

Also: SpringCore

Public Methods

public static Object deserialize (byte[] bytes)

Also: SpringCore

Deserialize the byte array into an object.

Parameters
bytes a serialized object
Returns
  • the result of deserializing the bytes

public static byte[] serialize (Object object)

Also: SpringCore

Serialize the given object to a byte array.

Parameters
object the object to serialize
Returns
  • an array of bytes representing the object in a portable fashion