|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlocal.tomas.util.options.Option
local.tomas.util.options.BooleanOption
public class BooleanOption
Boolean option.
| Constructor Summary | |
|---|---|
BooleanOption(String longName)
Construct option. |
|
BooleanOption(String longName,
char shortName)
Construct option. |
|
| Method Summary | |
|---|---|
boolean |
getValue()
Get the value. |
void |
setBoolean(boolean value)
|
void |
setValue(String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanOption(String longName,
char shortName)
longName - long nameshortName - single character descriptorpublic BooleanOption(String longName)
longName - long name| Method Detail |
|---|
public void setValue(String value)
throws OptionException
setValue in class OptionOptionException
public void setBoolean(boolean value)
throws OptionException
setBoolean in class OptionOptionExceptionpublic boolean getValue()
|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||