|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.util.Args
public final class Args
This class parses command-line arguments.
| Constructor Summary | |
|---|---|
Args(String[] a)
Default constructor. |
|
| Method Summary | |
|---|---|
boolean |
dash()
Checks if the current argument starts with a dash. |
boolean |
more()
Checks if more arguments are available. |
char |
next()
Returns the next character. |
int |
num()
Returns the next number. |
String |
remaining()
Returns the remaining string. |
String |
string()
Returns the next string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Args(String[] a)
a - arguments| Method Detail |
|---|
public boolean more()
public boolean dash()
public char next()
public String string()
public int num()
public String remaining()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||