T
- Type of deserialized object.public static class ProgressiveSerializationImpl.DeserializerImpl<T> extends Object implements Deserializer<T>
Constructor and Description |
---|
DeserializerImpl(Class<T> deserializedType,
ProgressiveDeserializer<T> progressiveDeserializer) |
Modifier and Type | Method and Description |
---|---|
T |
deserialize(ObjectInputStream ois,
SubProgressObserver po)
Deserialize.
|
Class<T> |
getDeserializedType()
Type to be deserialized.
|
public DeserializerImpl(Class<T> deserializedType, ProgressiveDeserializer<T> progressiveDeserializer)
public Class<T> getDeserializedType()
Deserializer
getDeserializedType
in interface Deserializer<T>
public T deserialize(ObjectInputStream ois, SubProgressObserver po) throws IOException, ClassNotFoundException
Deserializer
deserialize
in interface Deserializer<T>
ois
- Stream to read from. Will not be closed upon finishing.po
- Progess observer to track progress. Possibly will be swithced to determinate using
ProgressObserver.switchToDeterminate(long)
. Method ProgressObserver.done()
will be called
upon finishing.IOException
- when deserialization failedClassNotFoundException