|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.cmdl.AbstractCommand org.xnap.chat.command.AbstractMeCommand
public abstract class AbstractMeCommand
This class provides the default /me command for sending action messages.
Field Summary |
---|
Fields inherited from interface org.xnap.cmdl.Command |
---|
ALIASES, CMD, LONG_HELP, PARAMETER, SHORT_HELP |
Constructor Summary | |
---|---|
AbstractMeCommand()
|
Method Summary | |
---|---|
void |
execute(java.lang.String command,
Console console)
Executes this command with argv parameters. |
abstract void |
send(Console console,
java.lang.String action)
|
Methods inherited from class org.xnap.cmdl.AbstractCommand |
---|
getAliases, getCommand, getInt, getLongHelp, getParameter, getShortHelp, putValue, tokenize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractMeCommand()
Method Detail |
---|
public void execute(java.lang.String command, Console console) throws SyntaxException
Command
argv
parameters.
command
- the command to execute
SyntaxException
public abstract void send(Console console, java.lang.String action)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |