|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.tools.xref.cdc
This class performs Circular Dependency Checking of a set of .class files in a particular codebase
Field Summary | |
(package private) Hashtable |
d_downwardDependencies
|
(package private) Hashtable |
d_upwardDependencies
|
Constructor Summary | |
cdc()
|
Method Summary | |
(package private) void |
addToHashtable(Hashtable theHashTable,
String classSpec)
This convenience method is intended to simplify the task of adding objects to the dependency Hashtables. |
(package private) boolean |
circularDependencyCheck(Hashtable ht,
String currentClassName,
String dependentClassName)
|
boolean |
directoryNameOk(String directoryName)
this method is provided so that the application can validate whether or not the specified directory is ok or not |
boolean |
fileTypeOk(String fileName)
This method is provided for the developer in case they do not want to process every single file in every directory. |
static void |
main(String[] args)
|
void |
processDirectory(String directoryName)
This method is provided for the developer in case they want to do something each time they enter a new directory |
void |
processFile(String fileName)
this method is provided for the developer in case they want to do something each time a file is encountered in a directory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
Hashtable d_downwardDependencies
Hashtable d_upwardDependencies
Constructor Detail |
public cdc()
Method Detail |
public void processDirectory(String directoryName)
ProcessFileInterface
processDirectory
in interface ProcessFileInterface
public boolean directoryNameOk(String directoryName)
ProcessFileInterface
directoryNameOk
in interface ProcessFileInterface
void addToHashtable(Hashtable theHashTable, String classSpec)
public void processFile(String fileName)
ProcessFileInterface
processFile
in interface ProcessFileInterface
boolean circularDependencyCheck(Hashtable ht, String currentClassName, String dependentClassName)
public boolean fileTypeOk(String fileName)
ProcessFileInterface
fileTypeOk
in interface ProcessFileInterface
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |