org.apache.commons.io
Class FileDeleteStrategy.ForceFileDeleteStrategy
- FileDeleteStrategy
(package private) static class FileDeleteStrategy.ForceFileDeleteStrategy
Force file deletion strategy.
protected boolean | doDelete(File fileToDelete) - Deletes the file object.
|
ForceFileDeleteStrategy
(package private) ForceFileDeleteStrategy()
Default Constructor
doDelete
protected boolean doDelete(File fileToDelete)
throws IOException
Deletes the file object.
This implementation uses
FileUtils.forceDelete()
if the file exists.
- doDelete in interface FileDeleteStrategy
fileToDelete
- the file to delete, not null