net.sf.jaer.util
Class RemoteControlCommand
java.lang.Object
net.sf.jaer.util.RemoteControlCommand
public class RemoteControlCommand
- extends java.lang.Object
A single command decrription.
- Author:
- tobi
Constructor Summary |
RemoteControlCommand(java.lang.String cmd,
java.lang.String description)
Creates a new instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RemoteControlCommand
public RemoteControlCommand(java.lang.String cmd,
java.lang.String description)
- Creates a new instance.
- Parameters:
cmd
- the specifier. The first token is the command,
e.g. "set". The following tokens are arguments that can
be retrieved by name from an input command.
For example, "set value enabled" specifies a command "set"
with two arguments "value" and "enabled".description
- help for the command.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getCmdName
public java.lang.String getCmdName()
setCmdName
public void setCmdName(java.lang.String cmdName)
getCmd
public java.lang.String getCmd()
setCmd
public void setCmd(java.lang.String cmd)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getTokens
public java.lang.String[] getTokens()
setTokens
public void setTokens(java.lang.String[] tokens)