public class ObjectSerializationUtil extends Object
| Constructor and Description |
|---|
ObjectSerializationUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertObjectToString(Object obj)
Convert object to Base64 String
|
static Object |
convertStringToObject(String objectString)
Converts Base64 string to object.
|
public static String convertObjectToString(Object obj) throws IOException
obj - Object to be serializedIOExceptionpublic static Object convertStringToObject(String objectString) throws IOException
objectString - serialized object in string formatIOExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.