f00f.net.irc.martyr
Class CommandRegister

java.lang.Object
  extended by 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, InCommand command)
           
 InCommand 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,
                       InCommand command)

getCommand

public InCommand getCommand(java.lang.String ident)


Copyright © 2000-2007 Ben Damm, Daniel Henninger, et al.