Package edu.jas.kern

Class PyScriptEngine

  • All Implemented Interfaces:
    javax.script.ScriptEngine

    public class PyScriptEngine
    extends javax.script.AbstractScriptEngine
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) org.python.util.PythonInterpreter pyint  
      • Fields inherited from class javax.script.AbstractScriptEngine

        context
      • Fields inherited from interface javax.script.ScriptEngine

        ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.script.Bindings createBindings()  
      java.lang.Object eval​(java.io.Reader r, javax.script.ScriptContext c)  
      java.lang.Object eval​(java.lang.String s, javax.script.ScriptContext c)  
      javax.script.ScriptEngineFactory getFactory()  
      java.lang.String toString()  
      • Methods inherited from class javax.script.AbstractScriptEngine

        eval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • pyint

        org.python.util.PythonInterpreter pyint
    • Method Detail

      • eval

        public java.lang.Object eval​(java.io.Reader r,
                                     javax.script.ScriptContext c)
      • eval

        public java.lang.Object eval​(java.lang.String s,
                                     javax.script.ScriptContext c)
      • getFactory

        public javax.script.ScriptEngineFactory getFactory()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object