| |
|
| java.lang.Object org.apache.commons.jelly.util.CommandLineParser
CommandLineParser | public class CommandLineParser (Code) | | Utility class to parse command line options using CLI.
Using a separate class allows us to run Jelly without
CLI in the classpath when the command line interface
is not in use.
author: James Strachan author: Morgan Delagrange version: $Revision: 155420 $ |
invokeCommandLineJelly | public void invokeCommandLineJelly(String[] args) throws JellyException(Code) | | Parse out the command line options and configure
the give Jelly instance.
Parameters: args - options from the command line exception: JellyException - if the command line could not be parsed |
parseCommandLineOptions | public CommandLine parseCommandLineOptions(String[] args) throws ParseException(Code) | | Parse the command line using CLI. -o and -script are reserved for Jelly.
-Dsysprop=sysval is support on the command line as well.
|
|
|
|