|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectf00f.net.irc.martyr.commands.RawCommand
public class 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)
raw - Raw command to send to server
public RawCommand(java.lang.String identifier,
java.lang.String parameters)
identifier + " " +
parameters. This constructure simply allows a correct
response to the getIrcIdentifier method.
identifier - Command identifierparameters - Parameters to pass| 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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||