|
||||||||||
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.JoinChannelCommand
public class JoinChannelCommand
Provides the default join command.
Field Summary |
---|
Fields inherited from interface org.xnap.cmdl.Command |
---|
ALIASES, CMD, LONG_HELP, PARAMETER, SHORT_HELP |
Constructor Summary | |
---|---|
JoinChannelCommand(ChatProvider cp,
java.lang.String defaultChannel)
|
Method Summary | |
---|---|
void |
execute(java.lang.String command,
Console console)
Executes this command with argv parameters. |
void |
join(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 JoinChannelCommand(ChatProvider cp, java.lang.String defaultChannel)
Method Detail |
---|
public void execute(java.lang.String command, Console console) throws SyntaxException
Command
argv
parameters.
command
- the command to execute
SyntaxException
public void join(java.lang.String channel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |