public class CommandLineParser extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static CommandLineParser |
_instance |
| Constructor and Description |
|---|
CommandLineParser() |
| Modifier and Type | Method and Description |
|---|---|
static CommandLineParser |
getInstance() |
void |
invokeCommandLineJelly(String[] args)
Parse out the command line options and configure
the give Jelly instance.
|
org.apache.commons.cli.CommandLine |
parseCommandLineOptions(String[] args)
Parse the command line using CLI.
|
protected static CommandLineParser _instance
public static CommandLineParser getInstance()
public void invokeCommandLineJelly(String[] args) throws JellyException
args - options from the command lineJellyException - if the command line could not be parsedpublic org.apache.commons.cli.CommandLine parseCommandLineOptions(String[] args) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseExceptionCopyright © 2012 Apache Software Foundation. All Rights Reserved.