Package org.springframework.util
Class SerializationUtils
java.lang.Object
org.springframework.util.SerializationUtils
Static utilities for serialization and deserialization.
- Since:
- 3.0.5
- Author:
- Dave Syer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Objectdeserialize(byte[] bytes) Deserialize the byte array into an object.static byte[]Serialize the given object to a byte array.
- 
Constructor Details- 
SerializationUtilspublic SerializationUtils()
 
- 
- 
Method Details- 
serializeSerialize 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
 
- 
deserializeDeserialize the byte array into an object.- Parameters:
- bytes- a serialized object
- Returns:
- the result of deserializing the bytes
 
 
-