Package org.anchoranalysis.annotation.io
Interface AnnotationWriter<T extends Annotation>
- Type Parameters:
T
- annotation-type.
- All Known Implementing Classes:
DualMarksAnnotationWriter
,ImageLabelAnnotationWriter
public interface AnnotationWriter<T extends Annotation>
Allows an annotation to be written to the file-system.
- Author:
- Owen Feehan
-
Method Summary
-
Method Details
-
write
Saves the annotation to the filesystem.- Parameters:
annotation
- the annotation to save.path
- the path to write to (or a slightly-modified path is derived from this).- Throws:
IOException
- if the annotation fails to write successfully.
-