T
- rejection-reasonpublic class DualMarksAnnotationWriter<T> extends Object implements AnnotationWriter<DualMarksAnnotation<T>>
DualMarksAnnotation
s to the file-system.
Different paths are used when the annotations are considered finished or unfinished.
Constructor and Description |
---|
DualMarksAnnotationWriter() |
DualMarksAnnotationWriter(boolean disablePathModification) |
Modifier and Type | Method and Description |
---|---|
void |
write(DualMarksAnnotation<T> annotation,
Path path)
Saves the annotation to the filesystem.
|
public DualMarksAnnotationWriter()
public DualMarksAnnotationWriter(boolean disablePathModification)
public void write(DualMarksAnnotation<T> annotation, Path path) throws IOException
AnnotationWriter
write
in interface AnnotationWriter<DualMarksAnnotation<T>>
annotation
- the annotation to save.path
- the path to write to (or a slightly-modified path is derived from this).IOException
- if the annotation fails to write successfully.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.