Class SimpleAnnotationDeleter

Object
org.anchoranalysis.annotation.io.SimpleAnnotationDeleter
All Implemented Interfaces:
AnnotationDeleter

public class SimpleAnnotationDeleter
extends Object
implements AnnotationDeleter
Deletes any annotation when it is represented by a single file.

This file should refer to this annotation alone, exclusively.

  • Constructor Details

  • Method Details

    • delete

      public void delete​(Path path) throws IOException
      Description copied from interface: AnnotationDeleter
      Deletes all files at this path (or any other paths derived from this one.
      Specified by:
      delete in interface AnnotationDeleter
      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.