T
- annotation-type.public interface AnnotationReader<T extends Annotation>
Modifier and Type | Method and Description |
---|---|
Optional<T> |
read(Path path,
OperationContext context)
Reads an annotation, if possible, from the file-system.
|
Optional<T> read(Path path, OperationContext context) throws InputReadFailedException
path
- a path representing the annotation (or we derive another path from this path).context
- TODOOptional.empty()
if it can't be read.InputReadFailedException
- if the annotation cannot be read successfully.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.