|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object f00f.net.irc.martyr.commands.AbstractInCommand f00f.net.irc.martyr.commands.AbstractCommand
public abstract class AbstractCommand
Defines a generic command. Most commands will simply have to override the getIrcIdentifier method and implement the parse and render methods using convenience methods.
Field Summary |
---|
Fields inherited from class f00f.net.irc.martyr.commands.AbstractInCommand |
---|
attributes |
Constructor Summary | |
---|---|
AbstractCommand()
|
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.AbstractInCommand |
---|
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 AbstractCommand()
Method Detail |
---|
public java.lang.String render()
render
in interface OutCommand
public abstract java.lang.String renderParams()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |