public class GetOpt extends Object
| Constructor and Description |
|---|
GetOpt(String[] args,
String optString) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getCmdArgs()
gets list of the commandline arguments.
|
int |
getNextOption()
gets the next option found in the commandline.
|
String |
getOptionArg()
gets the argument for the current parsed option.
|
void |
printOptions()
debugging routine to print out all options collected
|
public void printOptions()
public int getNextOption()
throws org.apache.xalan.xsltc.cmdline.getopt.IllegalArgumentException,
org.apache.xalan.xsltc.cmdline.getopt.MissingOptArgException
IllegalArgumentException, - MissingOptArgException.org.apache.xalan.xsltc.cmdline.getopt.IllegalArgumentExceptionorg.apache.xalan.xsltc.cmdline.getopt.MissingOptArgExceptionpublic String getOptionArg()
public String[] getCmdArgs()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.