Class FileUtil

java.lang.Object
org.eclipse.rdf4j.common.io.FileUtil

public class FileUtil extends Object
Utility methods for operations on Files.
  • Constructor Details

    • FileUtil

      public FileUtil()
  • Method Details

    • deleteDir

      public static void deleteDir(File dir) throws IOException
      Deletes the specified directory and any files and directories in it recursively.
      Parameters:
      dir - The directory to remove.
      Throws:
      IOException - If the directory could not be removed.