Class ObjectInputStreamDeserializer<T>
Object
ObjectInputStreamDeserializer<T>
- Type Parameters:
T- type of object to deserialize.
- All Implemented Interfaces:
Deserializer<T>
Deserializes using Java's Native serialization framework.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(Path filePath, OperationContext context) Deserializes a representation of an object stored on the filesystem.
-
Constructor Details
-
ObjectInputStreamDeserializer
public ObjectInputStreamDeserializer()
-
-
Method Details
-
deserialize
Description copied from interface:DeserializerDeserializes a representation of an object stored on the filesystem.- Specified by:
deserializein interfaceDeserializer<T>- Parameters:
filePath- the path on the file-system where the object is stored.context- context for reading a stack from the file-system.- Returns:
- the deserialized object.
- Throws:
DeserializationFailedException- if deserialization fails, including IO failures.
-