org.xnap.chat.command
Class AbstractIgnoreCommand

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

public abstract class AbstractIgnoreCommand
extends AbstractCommand

This class provides the default /ignore command for sending action messages.


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

AbstractIgnoreCommand

public AbstractIgnoreCommand()
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 mask)


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