| class used to configure a RootLoader from a stream or by using
it's methods.
The stream can be for example a FileInputStream from a file with
the following format:
# comment
main is classname
load path
load file
load pathWith${property}
load path/*.jar
- All lines starting with "#" are ignored.
- The "main is" part may only be once in the file. The String
afterwards is the name of a class if a main method.
- The "load" command will add the given file or path to the
classpath in this configuration object.
Defining the main class is optional if @see #setRequireMain(boolean) was
called with false, before reading the configuration.
You can use the wildcard "*" to filter the path, but only for files, not
directories. The ${propertyname} is replaced by the value of the system's
propertyname. You can use user.home here for example. If the property does
not exist, an empty string will be used. If the path or file after the load
does not exist, the path will be ignored.
See Also: RootLoader author: Jochen Theodorou version: $Revision: 3103 $ |