public class CommandLineParser
extends java.lang.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(java.lang.String[] args)
Parse out the command line options and configure
the give Jelly instance.
|
org.apache.commons.cli.CommandLine |
parseCommandLineOptions(java.lang.String[] args)
Parse the command line using CLI.
|
protected static CommandLineParser _instance
public static CommandLineParser getInstance()
public void invokeCommandLineJelly(java.lang.String[] args)
throws JellyException
args - options from the command lineJellyException - if the command line could not be parsedpublic org.apache.commons.cli.CommandLine parseCommandLineOptions(java.lang.String[] args)
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseExceptionCopyright © 2012. All Rights Reserved.