| java.lang.Object org.acm.seguin.io.DirectoryTreeTraversal
All known Subclasses: org.acm.seguin.tools.stub.StubGenTraversal, org.acm.seguin.tools.build.JarDirectoryBuilder, org.acm.seguin.tools.builder.PrettyPrinter, org.acm.seguin.summary.SummaryTraversal, org.acm.seguin.util.BackupTraversal, org.acm.seguin.tools.build.JavadocBuilder, org.acm.seguin.tools.build.CleanClassFiles, org.acm.seguin.metrics.LCTraversal, org.acm.seguin.refactor.undo.UndoCleaner, org.acm.seguin.tools.international.StringListTraversal, org.acm.seguin.tools.build.CodeStoreBuilder,
DirectoryTreeTraversal | abstract public class DirectoryTreeTraversal implements Runnable(Code) | | Traverses a directory structure.
author: Chris Seguin |
DirectoryTreeTraversal | public DirectoryTreeTraversal(String init)(Code) | | Traverses a directory tree structure
Parameters: init - the initial directory |
arriveAtDir | protected void arriveAtDir(File currentFile)(Code) | | Program called when we arrive at a directory
Parameters: currentFile - the current file |
isAllowed | protected boolean isAllowed(File currentDirectory)(Code) | | Gets the Allowed attribute of the DirectoryTreeTraversal object
Parameters: currentDirectory - Description of Parameter The Allowed value |
isTarget | abstract protected boolean isTarget(File currentFile)(Code) | | Determines if this file should be handled by this traversal
Parameters: currentFile - the current file true if the file should be handled |
leaveDir | protected void leaveDir(File currentFile)(Code) | | Program called when we arrive at a directory
Parameters: currentFile - the current file |
run | public void run()(Code) | | Starts the tree traversal
|
traverse | protected void traverse(File current)(Code) | | Starts the tree traversal
Parameters: current - Description of Parameter |
visit | abstract protected void visit(File currentFile)(Code) | | Visits the current file
Parameters: currentFile - the current file |
|
|