|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--irc.IRCObject
|
+--irc.RootInterpretor
|
+--irc.BasicInterpretor
Basic interpretor.
| Field Summary |
| Fields inherited from class irc.RootInterpretor |
_next, _parser |
| Fields inherited from class irc.IRCObject |
_ircConfiguration |
| Constructor Summary | |
BasicInterpretor(IRCConfiguration config)
|
|
BasicInterpretor(IRCConfiguration config,
Interpretor next)
Create a new BasicInterpretor. |
|
| Method Summary | |
protected void |
handleCommand(Source source,
java.lang.String cmd,
java.lang.String[] parts,
java.lang.String[] cumul)
Handle the received command. |
| Methods inherited from class irc.RootInterpretor |
addLast, getNextInterpretor, isInside, say, sendString, setNextInterpretor, test |
| Methods inherited from class irc.IRCObject |
getColor, getIRCConfiguration, getText, getText, getText, getText, getTimeStamp, release |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface irc.Interpretor |
addLast, getNextInterpretor, isInside, sendString, setNextInterpretor |
| Constructor Detail |
public BasicInterpretor(IRCConfiguration config)
public BasicInterpretor(IRCConfiguration config,
Interpretor next)
config - the configuration.next - next interpretor to be used if the command is unknown. If null,
the command will be sent as it to the server.| Method Detail |
protected void handleCommand(Source source,
java.lang.String cmd,
java.lang.String[] parts,
java.lang.String[] cumul)
handleCommand in class RootInterpretorsource - the source that emitted the command.cmd - the hole command line.parts - the parsed command line.cumul - the cumul parsed command line.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||