Class FileUtils
- java.lang.Object
-
- org.apache.lucene.benchmark.byTask.utils.FileUtils
-
public class FileUtils extends Object
File utilities.
-
-
Constructor Summary
Constructors Constructor Description FileUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
fullyDelete(File dir)
Delete files and directories, even if non-empty.
-
-
-
Method Detail
-
fullyDelete
public static boolean fullyDelete(File dir) throws IOException
Delete files and directories, even if non-empty.- Parameters:
dir
- file or directory- Returns:
- true on success, false if no or part of files have been deleted
- Throws:
IOException
-
-