public class RshellReply
extends java.lang.Object
Status=SUCCESS,1
key1=value1
key2=value2
...
This modules parses the response status into a string and a value (to use
either independently). It then parses the tokens so you can query the
value of any individual token.Constructor and Description |
---|
RshellReply(java.lang.String s)
Contruct an Rshell Reply object from the response string from the
rshell command
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get(java.lang.String key)
Gets the value of the rshell token with name key
|
public RshellReply(java.lang.String s)
s
- the response from an rshell commandRshellEngine.send(java.lang.String)