|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object f00f.net.irc.martyr.CommandRegister
public class CommandRegister
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 |
---|
public CommandRegister()
Method Detail |
---|
public void addCommand(java.lang.String ident, InCommand command)
public InCommand getCommand(java.lang.String ident)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |