|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--f00f.net.irc.martyr.commands.RawCommand
| Constructor Summary | |
RawCommand(java.lang.String raw)
Tries to use the first "word" in the command as the identifier. |
|
RawCommand(java.lang.String identifier,
java.lang.String parameters)
The rendered command will be identifier + " " +
parameters. |
|
| Method Summary | |
java.lang.String |
getIrcIdentifier()
Returns the identifier, if supplied, or null. |
java.lang.String |
render()
Simply returns the string given in the constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RawCommand(java.lang.String raw)
public RawCommand(java.lang.String identifier,
java.lang.String parameters)
identifier + " " +
parameters. This constructure simply allows a correct
response to the getIrcIdentifier method.| Method Detail |
public java.lang.String getIrcIdentifier()
getIrcIdentifier in interface Commandpublic java.lang.String render()
render in interface OutCommand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||