Package gw.lang.gosuc
Class GosucArg
- java.lang.Object
-
- gw.lang.gosuc.GosucArg
-
public class GosucArg extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
String
getError()
String
getName()
String
getValue()
boolean
hasError()
boolean
isFlag()
boolean
isMatched()
boolean
isRequired()
static String
parseArgs(String[] args)
void
setError(String error)
void
setValue(String value)
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
isRequired
public boolean isRequired()
-
isFlag
public boolean isFlag()
-
getDescription
public String getDescription()
-
isMatched
public boolean isMatched()
-
getError
public String getError()
-
setError
public void setError(String error)
-
hasError
public boolean hasError()
-
-