|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectks.common.ArgumentList
ks.common.command.Command
Root class for all Command objects sent from the client and the server.
There are several attributes associated with a Command.
Method Summary | |
static java.lang.String |
formatString(java.lang.String s)
Insert backslash before 'quote' characters. |
boolean |
isError()
Determine if parsing the command was in error. |
boolean |
isQuittable()
Determine if execution of command causes client to quit. |
void |
setQuittable(boolean newQuittable)
Set determination of quittable. |
java.lang.String |
toString()
Present readable format for command. |
Methods inherited from class ks.common.ArgumentList |
addArgMulti, addArgMulti, addArgMulti, addArgMulti, addArgMulti, addArgMulti, addArgMulti, addArgMulti, clearArg, clearArg, clearArgMulti, clearArgMulti, getArg, getArg, getArgMulti, getArgMulti, multiArgs, removeArgMulti, removeArgMulti, removeArgMulti, removeArgMulti, removeArgMulti, removeArgMulti, removeArgMulti, removeArgMulti, setArg, setArg, singleArgs |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static java.lang.String formatString(java.lang.String s)
Note sure how much of this is necessary. Make sure that starting and terminating quotes are untouched.
s
- the value
public boolean isError()
public boolean isQuittable()
public void setQuittable(boolean newQuittable)
newQuittable
- booleanpublic java.lang.String toString()
toString
in class ArgumentList
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |