|
||||||||||
| 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.tools.builder.PrettyPrinter
public class PrettyPrinter
Traverses a directory structure and performs all refactorings on the files.
| Constructor Summary | |
|---|---|
PrettyPrinter(java.lang.String init,
boolean quiet)
Creates a refactory |
|
| 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 |
static void |
prettyPrinter(boolean quiet)
Refactor the current file |
static void |
prettyPrinter(java.lang.String filename,
boolean quiet)
Refactor the current file |
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 PrettyPrinter(java.lang.String init,
boolean quiet)
init - the initial directory or filequiet - Description of Parameter| Method Detail |
|---|
protected boolean isTarget(java.io.File currentFile)
isTarget in class DirectoryTreeTraversalcurrentFile - the current file
protected void visit(java.io.File currentFile)
visit in class DirectoryTreeTraversalcurrentFile - the current filepublic static void main(java.lang.String[] args)
args - Description of Parameter
public static void prettyPrinter(java.lang.String filename,
boolean quiet)
filename - Description of Parameterquiet - Description of Parameterpublic static void prettyPrinter(boolean quiet)
quiet - Description of Parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||