|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--f00f.net.irc.martyr.commands.GenericInCommand
|
+--f00f.net.irc.martyr.commands.GenericCommand
Defines a generic command. Most commands will simply have to override the getIrcIdentifier method and implement the parse and render methods using convenience methods.
| Fields inherited from class f00f.net.irc.martyr.commands.GenericInCommand |
attributes |
| Constructor Summary | |
GenericCommand()
|
|
| Method Summary | |
java.lang.String |
render()
Forms a string appropriate to send to the server. |
abstract java.lang.String |
renderParams()
Renders the parameters of this command. |
| Methods inherited from class f00f.net.irc.martyr.commands.GenericInCommand |
getAttribute, getAttributeKeys, getIntParameter, getParameter, getSourceString, getState, parse, selfRegister, setAttribute, setSourceString, updateClientState |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface f00f.net.irc.martyr.Command |
getIrcIdentifier |
| Constructor Detail |
public GenericCommand()
| Method Detail |
public java.lang.String render()
render in interface OutCommandpublic abstract java.lang.String renderParams()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||