public abstract class ObjectUtils extends Object
| Constructor and Description | 
|---|
| ObjectUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> T | deserialize(byte[] objectData)Deserializes a single object from an array of bytes. | 
| static byte[] | serializeMap(Map<String,Object> map)Converts a map to a byte array for storage/serialization. | 
public ObjectUtils()
public static byte[] serializeMap(Map<String,Object> map) throws Exception
map - The Map to convert.Exception - A generic exception.public static <T> T deserialize(byte[] objectData)
T - type of the object to returnobjectData - The serialized object.null on failure.Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.