Class ImageLabelAnnotationWriter
Object
ImageLabelAnnotationWriter
- All Implemented Interfaces:
AnnotationWriter<ImageLabelAnnotation>
public class ImageLabelAnnotationWriter
extends Object
implements AnnotationWriter<ImageLabelAnnotation>
Writes an
ImageLabelAnnotation to the file-system.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(ImageLabelAnnotation annotation, Path path) Saves the annotation to the filesystem.
-
Constructor Details
-
ImageLabelAnnotationWriter
public ImageLabelAnnotationWriter()
-
-
Method Details
-
write
Description copied from interface:AnnotationWriterSaves the annotation to the filesystem.- Specified by:
writein interfaceAnnotationWriter<ImageLabelAnnotation>- 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.
-