|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.io.FileDeleteStrategy
org.apache.commons.io.FileDeleteStrategy.ForceFileDeleteStrategy
static class FileDeleteStrategy.ForceFileDeleteStrategy
Force file deletion strategy.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.commons.io.FileDeleteStrategy |
|---|
FileDeleteStrategy.ForceFileDeleteStrategy |
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.io.FileDeleteStrategy |
|---|
FORCE, NORMAL |
| Constructor Summary | |
|---|---|
FileDeleteStrategy.ForceFileDeleteStrategy()
Default Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
doDelete(java.io.File fileToDelete)
Deletes the file object. |
| Methods inherited from class org.apache.commons.io.FileDeleteStrategy |
|---|
delete, deleteQuietly, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
FileDeleteStrategy.ForceFileDeleteStrategy()
| Method Detail |
|---|
protected boolean doDelete(java.io.File fileToDelete)
throws java.io.IOException
This implementation uses
FileUtils.forceDelete()
if the file exists.
doDelete in class FileDeleteStrategy
fileToDelete - the file to delete, not null
true
java.lang.NullPointerException - if the file is null
java.io.IOException - if an error occurs during file deletion
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||