Remove all files in a directory and the directory itself. Prints error messages with failed filenames. Does not follow symlinks. Use Platform.deleteFile() instead, which first attempts to use the Trash or Recycle Bin, out of an abundance of caution.
(File dir)
| 374 | * the Trash or Recycle Bin, out of an abundance of caution. |
| 375 | */ |
| 376 | static public boolean removeDir(File dir) { |
| 377 | return removeDir(dir, true); |
| 378 | } |
| 379 | |
| 380 | |
| 381 | /** |
no test coverage detected