org.apache.commons.io
static class FileDeleteStrategy.ForceFileDeleteStrategy extends FileDeleteStrategy
| Constructor Summary | |
|---|---|
| ForceFileDeleteStrategy() Default Constructor | |
| Method Summary | |
|---|---|
| protected boolean | doDelete(File fileToDelete)
Deletes the file object.
|
This implementation uses Parameters: fileToDelete the file to delete, not null Returns: Always returns Throws: NullPointerException if the file is null IOException if an error occurs during file deletion FileUtils.forceDelete()
if the file exists.
true