T
- the type of object to create from the deserialized representation.public interface Deserializer<T>
Modifier and Type | Method and Description |
---|---|
T |
deserialize(Path filePath,
OperationContext context)
Deserializes a representation of an object stored on the filesystem.
|
T deserialize(Path filePath, OperationContext context) throws DeserializationFailedException
filePath
- the path on the file-system where the object is stored.context
- context for reading a stack from the file-system.DeserializationFailedException
- if deserialization fails, including IO failures.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.