|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwater.Arguments.Arg
water.Arguments.Opt
public static class Arguments.Opt
Optional arguments. The instance fields of this class are treated as optional arguments, if they appear on the command line they will be extracted and the corresponding field will be set to the extracted value. If not found the field is left untouched (the orginal value is not modified).
Constructor Summary | |
---|---|
Arguments.Opt()
|
Method Summary | |
---|---|
java.lang.String |
usage()
|
boolean |
validate()
|
Methods inherited from class water.Arguments.Arg |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Arguments.Opt()
Method Detail |
---|
public java.lang.String usage()
usage
in class Arguments.Arg
public boolean validate()
validate
in class Arguments.Arg
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |