randoop.experiments
Class ClassListPrinter

Object
  extended by 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.


Constructor Summary
Constructor and Description
ClassListPrinter()
           
 
Method Summary
Modifier and Type Method and Description
static void findPublicTopLevelClasses(String destinationFile, String classDir, String packageName, ClassFilter filter)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassListPrinter

public ClassListPrinter()
Method Detail

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