org.xnap.chat.command
Class JoinChannelCommand

java.lang.Object
  extended by org.xnap.cmdl.AbstractCommand
      extended by org.xnap.chat.command.JoinChannelCommand
All Implemented Interfaces:
Command

public class JoinChannelCommand
extends AbstractCommand

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

JoinChannelCommand

public JoinChannelCommand(ChatProvider cp,
                          java.lang.String defaultChannel)
Method Detail

execute

public void execute(java.lang.String command,
                    Console console)
             throws SyntaxException
Description copied from interface: Command
Executes this command with argv parameters.

Parameters:
command - the command to execute
Throws:
SyntaxException

join

public void join(java.lang.String channel)


Copyright © 2001-2005 XNap Team. All Rights Reserved.