public class GetOpt
extends java.lang.Object
| Constructor and Description |
|---|
GetOpt(java.lang.String[] args,
java.lang.String optString) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getCmdArgs()
gets list of the commandline arguments.
|
int |
getNextOption()
gets the next option found in the commandline.
|
java.lang.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 java.lang.String getOptionArg()
public java.lang.String[] getCmdArgs()
Copyright © 2014 Apache XML Project. All Rights Reserved.