|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.io.DirectoryWalker<Object>
org.jvnet.hudson.plugins.thinbackup.backup.DirectoryCleaner
public class DirectoryCleaner
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.commons.io.DirectoryWalker |
|---|
org.apache.commons.io.DirectoryWalker.CancelException |
| Constructor Summary | |
|---|---|
DirectoryCleaner()
|
|
| Method Summary | |
|---|---|
protected void |
handleDirectoryEnd(File directory,
int depth,
Collection results)
|
void |
removeEmptyDirectories(File rootDir)
Deletes all empty directories, including rootDir if it is empty at the end. |
| Methods inherited from class org.apache.commons.io.DirectoryWalker |
|---|
checkIfCancelled, filterDirectoryContents, handleCancelled, handleDirectory, handleDirectoryStart, handleEnd, handleFile, handleIsCancelled, handleRestricted, handleStart, walk |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectoryCleaner()
| Method Detail |
|---|
public void removeEmptyDirectories(File rootDir)
throws IOException
rootDir -
IOException
protected void handleDirectoryEnd(File directory,
int depth,
Collection results)
handleDirectoryEnd in class org.apache.commons.io.DirectoryWalker<Object>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||