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, InCommand, OutCommand
- public class UserModeCommand
- extends ModeCommand
Defines a user MODE command.
|
Constructor Summary |
UserModeCommand(java.lang.String prefix,
java.lang.String userStr,
java.util.StringTokenizer tokens)
|
|
Method Summary |
FullNick |
getUser()
|
InCommand |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UserModeCommand
public UserModeCommand(java.lang.String prefix,
java.lang.String userStr,
java.util.StringTokenizer tokens)
parse
public InCommand 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. Use UserModeCommand or ChannelModeCommand instead.
- 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,2002,2003 f00f networks.