public class GetOpt
extends java.lang.Object
Constructor | Description |
---|---|
GetOpt(java.lang.String[] args,
java.lang.String optString) |
Modifier and Type | Method | 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
org.apache.xalan.xsltc.cmdline.getopt.IllegalArgumentException
org.apache.xalan.xsltc.cmdline.getopt.MissingOptArgException
public java.lang.String getOptionArg()
public java.lang.String[] getCmdArgs()
Copyright © 2014 Apache XML Project. All Rights Reserved.