org.xnap.chat.command
Class AbstractBanCommand

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

public abstract class AbstractBanCommand
extends AbstractCommand

This class provides the default join action.


Field Summary
 
Fields inherited from interface org.xnap.cmdl.Command
ALIASES, CMD, LONG_HELP, PARAMETER, SHORT_HELP
 
Constructor Summary
AbstractBanCommand()
           
 
Method Summary
 void execute(java.lang.String command, Console console)
          Executes this command with argv parameters.
abstract  void send(Console console, java.lang.String channelName, java.lang.String nick, java.lang.String reason)
           
 
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

AbstractBanCommand

public AbstractBanCommand()
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

send

public abstract void send(Console console,
                          java.lang.String channelName,
                          java.lang.String nick,
                          java.lang.String reason)


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