Class CmdOption
java.lang.Object
net.thevpc.common.swing.util.jcmd.CmdArg
net.thevpc.common.swing.util.jcmd.CmdOption
- Author:
- Taha BEN SALAH (taha.bensalah@gmail.com) %creationtime 13 juil. 2006 22:14:21
-
Method Summary
Modifier and TypeMethodDescriptionintgetFollowingParam(int i) getName()String[]getValue()booleanisAnyOption(String... names) booleanbooleanbooleanbooleanbooleanbooleanbooleanisUsed()voidsetUsed(boolean used) toString()voidvalidate()Methods inherited from class CmdArg
getArgument, getIndex
-
Method Details
-
validate
public void validate() -
getExpArg
-
isShortOption
public boolean isShortOption() -
getName
-
getValue
-
isSelected
public boolean isSelected() -
countFollowingParams
public int countFollowingParams() -
isLastOption
public boolean isLastOption() -
getFollowingParam
-
isBoolean
public boolean isBoolean() -
toString
-
getParamValues
-
getExpectOption
-
isUsed
public boolean isUsed() -
setUsed
public void setUsed(boolean used) -
isAnyOption
-
isOption
-
isOption
-