public class Args extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
current()
Get the current argument without advancing
|
boolean |
ifMatch(String val) |
boolean |
ifMatch(String val,
int numargs) |
boolean |
isMinusArg() |
boolean |
more() |
String |
next()
Get the current argument and advance the index
|
boolean |
test(int numargs) |
public Args(String[] args)
args - public String current()
public String next()
public boolean more()
public boolean test(int numargs)
numargs - public boolean isMinusArg()
public boolean ifMatch(String val) throws Exception
val - ExceptionCopyright © 2017 Bedework. All rights reserved.