Class FileSetOverPathBase

java.lang.Object
org.aksw.jenax.dataaccess.sparql.creator.FileSetOverPathBase
All Implemented Interfaces:
FileSet
Direct Known Subclasses:
FileSetOverPathMatcher

public abstract class FileSetOverPathBase extends Object implements FileSet
  • Field Details

    • basePath

      protected Path basePath
  • Constructor Details

    • FileSetOverPathBase

      public FileSetOverPathBase(Path basePath)
  • Method Details

    • safetyCheck

      public static void safetyCheck(Path path)
      Prevent placing a database directly in the home or root directory.
    • getBasePath

      public Path getBasePath()
    • delete

      public void delete() throws IOException
      Override that prevents deletion outside of the base path
      Specified by:
      delete in interface FileSet
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object