public class ParamChecker extends Object
Constructor and Description |
---|
ParamChecker() |
Modifier and Type | Method and Description |
---|---|
void |
check(Object[] args) |
String |
getCommand() |
int |
getParam() |
void |
nullCheck(Object[] args) |
void |
numCheck(Object[] args) |
void |
setCommand(String command) |
void |
setParam(int param) |
void |
stringCheck(Object[] args) |
public String getCommand()
public void setCommand(String command)
public int getParam()
public void setParam(int param)
public void check(Object[] args) throws InvalidParameterException
InvalidParameterException
public void stringCheck(Object[] args) throws InvalidParameterException
InvalidParameterException
public void nullCheck(Object[] args) throws InvalidParameterException
InvalidParameterException
public void numCheck(Object[] args) throws InvalidParameterException
InvalidParameterException