randoop.experiments
Class ClassListPrinter
Object
ClassListPrinter
public class ClassListPrinter
extends Object
Finds all files ending in ".class" in the given package, located
in directory classDir. For each file, it strips the file extension,
converts "/" to "." and returns the
result. For example, file "foo/bar/MyClass.class" would be returned
as "foo.bar.MyClass".
Inner classes (those ending in $D, where D is a digit) are ignored.
If the -omit:"REGEXP" option is given, then any class names that
match REGEXP will be omitted.
Results are output to destinationFile.
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassListPrinter
public ClassListPrinter()
findPublicTopLevelClasses
public static void findPublicTopLevelClasses(String destinationFile,
String classDir,
String packageName,
ClassFilter filter)
throws IOException
- Parameters:
destinationFile - classDir - packageName - may be null.filter -
- Throws:
IOException