f00f.net.irc.martyr
Class CommandRegister

java.lang.Object
  |
  +--f00f.net.irc.martyr.CommandRegister

public class CommandRegister
extends java.lang.Object

CommandRegister is basically a big hashtable that maps IRC identifiers to command objects that can be used as factories to do self-parsing. CommandRegister is also the central list of commands.


Constructor Summary
CommandRegister()
           
 
Method Summary
 void addCommand(java.lang.String ident, Command command)
           
 Command getCommand(java.lang.String ident)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandRegister

public CommandRegister()
Method Detail

addCommand

public void addCommand(java.lang.String ident,
                       Command command)

getCommand

public Command getCommand(java.lang.String ident)


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