static class FileDeleteStrategy.ForceFileDeleteStrategy extends FileDeleteStrategy
FileDeleteStrategy.ForceFileDeleteStrategyFORCE, NORMAL| Constructor and Description |
|---|
FileDeleteStrategy.ForceFileDeleteStrategy()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doDelete(java.io.File fileToDelete)
Deletes the file object.
|
delete, deleteQuietly, toStringFileDeleteStrategy.ForceFileDeleteStrategy()
protected boolean doDelete(java.io.File fileToDelete)
throws java.io.IOException
This implementation uses FileUtils.forceDelete()
if the file exists.
doDelete in class FileDeleteStrategyfileToDelete - the file to delete, not nulltruejava.lang.NullPointerException - if the file is nulljava.io.IOException - if an error occurs during file deletionCopyright (c) 2002-2016 Apache Software Foundation