f00f.net.irc.martyr.commands
Class UserModeCommand

java.lang.Object
  |
  +--f00f.net.irc.martyr.commands.ModeCommand
        |
        +--f00f.net.irc.martyr.commands.UserModeCommand
All Implemented Interfaces:
Command

public class UserModeCommand
extends ModeCommand

Defines KICK command.


Constructor Summary
UserModeCommand(java.lang.String prefix, java.lang.String userStr, java.util.StringTokenizer tokens)
           
 
Method Summary
 FullNick getUser()
           
 Command parse(java.lang.String prefix, java.lang.String identifier, java.lang.String params)
          Should not be called, as ModeCommand does the parsing and instantiation of this class.
 java.lang.String render()
          Should not be called, as ModeCommand doesn't actually represent a command.
 java.lang.String toString()
           
 boolean updateClientState(ClientState state)
          Does nothing, as this is a factory command.
 
Methods inherited from class f00f.net.irc.martyr.commands.ModeCommand
getSourceString, getState, parseModes, registerMode, selfRegister, setSourceString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserModeCommand

public UserModeCommand(java.lang.String prefix,
                       java.lang.String userStr,
                       java.util.StringTokenizer tokens)
Method Detail

parse

public Command parse(java.lang.String prefix,
                     java.lang.String identifier,
                     java.lang.String params)
Should not be called, as ModeCommand does the parsing and instantiation of this class.
Overrides:
parse in class ModeCommand

render

public java.lang.String render()
Description copied from class: ModeCommand
Should not be called, as ModeCommand doesn't actually represent a command.
Overrides:
render in class ModeCommand

getUser

public FullNick getUser()

updateClientState

public boolean updateClientState(ClientState state)
Description copied from class: ModeCommand
Does nothing, as this is a factory command.
Overrides:
updateClientState in class ModeCommand

toString

public java.lang.String toString()
Overrides:
toString in class ModeCommand


Copyright ? 2000,2001, f00f networks. All Rights Reserved.