Package org.anchoranalysis.annotation.io
Class SimpleAnnotationDeleter
Object
SimpleAnnotationDeleter
- All Implemented Interfaces:
AnnotationDeleter
Deletes any annotation when it is represented by a single file.
This file should refer to this annotation alone, exclusively.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimpleAnnotationDeleter
public SimpleAnnotationDeleter()
-
-
Method Details
-
delete
Description copied from interface:AnnotationDeleter
Deletes all files at this path (or any other paths derived from this one.- Specified by:
delete
in interfaceAnnotationDeleter
- Parameters:
path
- the path to the primary file where the annotation is stored. There may be additional files.- Throws:
IOException
- if the deletion does not occur successfully.
-