public interface OpenmrsSerializer
Modifier and Type | Method and Description |
---|---|
<T> T |
deserialize(java.lang.String serializedObject,
java.lang.Class<? extends T> clazz)
Deserialize the given string into a full object
|
java.lang.String |
serialize(java.lang.Object o)
Turn the current object into an identifying string that can be retrieved later
|
java.lang.String serialize(java.lang.Object o) throws SerializationException
o
- - the object to serializeSerializationException
<T> T deserialize(java.lang.String serializedObject, java.lang.Class<? extends T> clazz) throws SerializationException
serializedObject
- - String to deserializeclazz
- - The class to deserialize the Object intoSerializationException
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.