|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qtunes.auth.control.SimpleParser
public abstract class SimpleParser
A ParamParser suitable for interactive use. Requests are made as you would invoke a method in JavaScript, eg "Player.addTrack(3)" or "db.getField(1, 'Title')". Responses are formatted as plain text.
| Constructor Summary | |
|---|---|
SimpleParser()
|
|
| Method Summary | |
|---|---|
java.util.List<Call> |
getMethodCalls()
Get the name of the ControlMethod we want to invoke |
java.lang.String |
getObjectName()
Get the name of the Object we want to invoke the method on |
abstract Session |
getSession()
Get the Session that was specified in the Parameters |
void |
parse(java.lang.String in)
|
java.lang.String |
toString(java.lang.Object o)
Convert the specified Object to a String in a form that would be usable by this ParamParser |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleParser()
| Method Detail |
|---|
public void parse(java.lang.String in)
throws java.lang.Exception
parse in interface ParamParserjava.lang.Exceptionpublic java.lang.String getObjectName()
ParamParser
getObjectName in interface ParamParserpublic java.util.List<Call> getMethodCalls()
ParamParser
getMethodCalls in interface ParamParserpublic abstract Session getSession()
ParamParser
getSession in interface ParamParserpublic java.lang.String toString(java.lang.Object o)
ParamParser
toString in interface ParamParser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||