org.incava.jagol
Class OptionSet
java.lang.Object
org.incava.jagol.OptionSet
public class OptionSet
extends java.lang.Object
A group of options.
OptionSet(String appName, String description)
|
OptionSet
public OptionSet(String appName,
String description)
add
public void add(Option opt)
Adds an options to this set.
addRunControlFile
public void addRunControlFile(String name)
Adds a run control file to be processed.
getAppName
public String getAppName()
Returns the application name.
getDescription
public String getDescription()
Returns the description.
process
public String[] process(String[] args)
Processes the run control files and command line arguments. Returns the
arguments that were not consumed by option processing.
processCommandLine
protected String[] processCommandLine(String[] args)
Processes the command line arguments. Returns the arguments that were not
consumed by option processing.
processRunControlFiles
protected void processRunControlFiles()
Processes the run control files, if any.
showConfig
protected void showConfig()
showUsage
protected void showUsage()