T - Deserialized typepublic interface ProgressiveDeserializer<T> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
T |
deserialize(Map<String,Object> deferredAttributes,
ObjectInputStream is,
SubProgressObserver po)
Reconstruct object.
|
T deserialize(Map<String,Object> deferredAttributes, ObjectInputStream is, SubProgressObserver po) throws IOException, ClassNotFoundException
deferredAttributes - Deferred attributes passed to
ProgressiveSerialization#addDeferredAttribute(java.lang.String, java.lang.Class)is - Stream to read from. Will not be closed upon finishing the deserialization.po - Progess observer to track progress. Possibly will be swithced to determinate using
ProgressObserver.switchToDeterminate(long). Method ProgressObserver.done() will be called
upon finishing.IOExceptionClassNotFoundException