public interface ISerializer
| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserializeObject(java.lang.String inputString,
java.lang.Class<T> clazz)
Deserialize an object from the input string.
|
<T> java.lang.String |
serializeObject(T serializableObject)
Serializes an object into a string.
|
<T> T deserializeObject(java.lang.String inputString,
java.lang.Class<T> clazz)
T - The type of the item to be deserialized.inputString - The string that stores the representation of the item.clazz - The .class of the item to be deserialized.<T> java.lang.String serializeObject(T serializableObject)
T - The type of the item to be serialized.serializableObject - The object to convert into a string.