|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.io.DirectoryTreeTraversal
org.acm.seguin.refactor.undo.UndoCleaner
public class UndoCleaner
Clase responsible for cleaning up all the undo files that are left on the hard disk.
Constructor Summary | |
---|---|
UndoCleaner(java.lang.String dir)
Constructor for the UndoCleaner object |
Method Summary | |
---|---|
protected boolean |
isTarget(java.io.File currentFile)
Determines if this file should be handled by this traversal |
static void |
main(java.lang.String[] args)
The main program for the UndoCleaner class |
protected void |
visit(java.io.File currentFile)
Visits the current file |
Methods inherited from class org.acm.seguin.io.DirectoryTreeTraversal |
---|
arriveAtDir, isAllowed, leaveDir, run, traverse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UndoCleaner(java.lang.String dir)
dir
- Description of ParameterMethod Detail |
---|
protected boolean isTarget(java.io.File currentFile)
isTarget
in class DirectoryTreeTraversal
currentFile
- the current file
protected void visit(java.io.File currentFile)
visit
in class DirectoryTreeTraversal
currentFile
- the current filepublic static void main(java.lang.String[] args)
args
- The command line arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |