wt.tools.xref
Class ProcessDirectory
java.lang.Object
wt.tools.xref.ProcessDirectory
- public class ProcessDirectory
- extends Object
This class is used to process each .java file in the current directory
and the .java files in all subdirectories
Method Summary |
static void |
main(String[] args)
|
void |
processDirectory(String directoryName,
String rootPackageName)
This method builds a list of all files and directories in the specified directory
and then iterates through each one. |
void |
run(String directoryName,
String rootPackageName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
d_processFileObject
public ProcessFileInterface d_processFileObject
ProcessDirectory
public ProcessDirectory()
ProcessDirectory
ProcessDirectory(ProcessFileInterface pfi)
main
public static void main(String[] args)
run
public void run(String directoryName,
String rootPackageName)
processDirectory
public void processDirectory(String directoryName,
String rootPackageName)
- This method builds a list of all files and directories in the specified directory
and then iterates through each one. When a directory is encountered, then this method
is called recursively to process all files in each subdirectory as well.