|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.alicebot.server.core.interpreter.RhinoInterpreter
public class RhinoInterpreter
An implementation of Interpreter
that handles server-side JavaScript using the Rhino package.
Constructor Summary | |
---|---|
RhinoInterpreter()
|
Method Summary | |
---|---|
java.lang.String |
evaluate(java.lang.String expression)
Evaluates a given JavaScript expression for a given userid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RhinoInterpreter()
Method Detail |
---|
public java.lang.String evaluate(java.lang.String expression)
Interpreter
evaluate
in interface Interpreter
expression
- the expression to evaluate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |