|
||||||||||
| 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.summary.SummaryTraversal
public class SummaryTraversal
Summarizes a directory structure
| Constructor Summary | |
|---|---|
SummaryTraversal(java.lang.String init)
Traverses a directory tree structure and generates a summary of the classes. |
|
SummaryTraversal(java.lang.String init,
LoadStatus initStatus)
Traverses a directory tree structure and generates a summary of the classes. |
|
SummaryTraversal(java.lang.String init,
LoadStatus initStatus,
boolean useFramework)
Traverses a directory tree structure and generates a summary of the classes. |
|
| Method Summary | |
|---|---|
static void |
debug()
Print everything for debugging purposes |
protected boolean |
isAllowed(java.io.File currentDirectory)
Are we allowed to traverse this directory? |
protected boolean |
isTarget(java.io.File currentFile)
Determines if this file should be handled by this traversal |
static void |
main(java.lang.String[] args)
Main program |
void |
run()
Method that starts the traversal to generate the summaries. |
static void |
setFrameworkLoader(FrameworkLoader value)
Sets the framework loader |
protected void |
visit(java.io.File currentFile)
Visits the current file |
| Methods inherited from class org.acm.seguin.io.DirectoryTreeTraversal |
|---|
arriveAtDir, leaveDir, traverse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SummaryTraversal(java.lang.String init)
init - the initial directory
public SummaryTraversal(java.lang.String init,
LoadStatus initStatus)
init - the initial directoryinitStatus - Description of Parameter
public SummaryTraversal(java.lang.String init,
LoadStatus initStatus,
boolean useFramework)
init - the initial directoryinitStatus - Description of ParameteruseFramework - use the framework (i.e. load JDK stubs)| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class DirectoryTreeTraversalprotected boolean isTarget(java.io.File currentFile)
isTarget in class DirectoryTreeTraversalcurrentFile - the current file
protected boolean isAllowed(java.io.File currentDirectory)
isAllowed in class DirectoryTreeTraversalcurrentDirectory - the directory that we are about to enter
protected void visit(java.io.File currentFile)
visit in class DirectoryTreeTraversalcurrentFile - the current filepublic static void setFrameworkLoader(FrameworkLoader value)
value - The new FrameworkLoader valuepublic static void main(java.lang.String[] args)
args - the command line argumentspublic static void debug()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||