wt.tools.xref
Class ProcessDirectory

java.lang.Object
  extended bywt.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


Field Summary
 ProcessFileInterface d_processFileObject
           
 
Constructor Summary
  ProcessDirectory()
           
(package private) ProcessDirectory(ProcessFileInterface pfi)
           
 
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
 

Field Detail

d_processFileObject

public ProcessFileInterface d_processFileObject
Constructor Detail

ProcessDirectory

public ProcessDirectory()

ProcessDirectory

ProcessDirectory(ProcessFileInterface pfi)
Method Detail

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.