org.xnap.chat.command
Class AbstractPartChannelCommand

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

public abstract class AbstractPartChannelCommand
extends AbstractCommand

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

AbstractPartChannelCommand

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

part

public abstract void part(java.lang.String channel)
Parameters:
channel - null, if no channel was passed; the channel, otherwise


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