|
||||||||||
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.AbstractPartChannelCommand
public abstract class AbstractPartChannelCommand
Provides the default part command.
Field Summary |
---|
Fields inherited from interface org.xnap.cmdl.Command |
---|
ALIASES, CMD, LONG_HELP, PARAMETER, SHORT_HELP |
Constructor Summary | |
---|---|
AbstractPartChannelCommand()
|
Method Summary | |
---|---|
void |
execute(java.lang.String command,
Console console)
Executes this command with argv parameters. |
abstract void |
part(java.lang.String channel)
|
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 AbstractPartChannelCommand()
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 part(java.lang.String channel)
channel
- null, if no channel was passed; the channel, otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |