Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.util
Class SerializationUtils

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

    public abstract class SerializationUtils

extends java.lang.Object

Static utilities for serialization and deserialization.

Since:
  3.0.5
Author:
  Dave Syer

Constructor Summary
`SerializationUtils()`

Method Summary
`static java.lang.Object` | `deserialize(byte[] bytes)` Deserialize the byte array into an object.
`static byte[]` | `serialize(java.lang.Object object)` Serialize the given object to a byte array.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SerializationUtils

    public SerializationUtils()

Method Detail

### serialize

    public static byte[] serialize(java.lang.Object object)

  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

### deserialize

    public static java.lang.Object deserialize(byte[] bytes)

  Deserialize the byte array into an object.

  Parameters:
    `bytes` - a serialized object
  Returns:
    the result of deserializing the bytes

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD