public class FindPackages
extends java.lang.Object
Constructor and Description |
---|
FindPackages() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
findPackages(java.io.File ptII,
ExecuteCommands executeCommands)
Look for class files under a directory and return package names.
|
static void |
main(java.lang.String[] args)
Print out any packages found under the directory named
by the first argument.
|
public static java.lang.String findPackages(java.io.File ptII, ExecuteCommands executeCommands)
ptII
- The File under which to look for classes.executeCommands
- The ExecuteCommands object in which to report
status. If null, then print to standard out.public static void main(java.lang.String[] args)
Usage: java -classpath $PTII ptolemy.vergil.actor.FindPackages $PTII
args
- An array of Strings, where the first argument is
a string that names the directory under which we search for packages.