|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.util.ArgParser.Arg com.bbn.openmap.util.ArgParser.HelpArg
public class ArgParser.HelpArg
A Arg class to spur off help messages. Gets added automatically to the parser.
Field Summary |
---|
Fields inherited from class com.bbn.openmap.util.ArgParser.Arg |
---|
c, dashedArguments, description, flagged, name, numExpectedValues, values |
Constructor Summary | |
---|---|
ArgParser.HelpArg()
|
Method Summary | |
---|---|
boolean |
is(java.lang.String arg,
boolean allowAbbr)
Returns true if the atg string matches the name of the Arg, or, if allowAbbr is true, returns true if the arg length is one and it matches the first letter of the arg name. |
Methods inherited from class com.bbn.openmap.util.ArgParser.Arg |
---|
readArgs, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArgParser.HelpArg()
Method Detail |
---|
public boolean is(java.lang.String arg, boolean allowAbbr)
ArgParser.Arg
is
in class ArgParser.Arg
arg
- string to testallowAbbr
- ok to check first letter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |