public interface IObjectSerialDeserial<T>
Modifier and Type | Method and Description |
---|---|
<E> E |
deserializeObject(T source,
Class<E> targetClass,
String mimeType)
Extract an object instance from a given source object.
|
T |
serializeObject(Object target,
String mimeType)
Returns a given representation of the target object.
|
T serializeObject(Object target, String mimeType)
targetObject
- the object to convert to the given format.mimeType
- the target MIME type.<E> E deserializeObject(T source, Class<E> targetClass, String mimeType)
T
- the source object type.source
- the source object.targetClass
- the type of the returned object.mimeType
- the target MIME type.Copyright © 2015. All rights reserved.