Uses of Class
The scripting API consists of interfaces and classes that define Java Scripting Engines and provides a framework for their use in Java applications.
Uses of ScriptException in javax.scriptModifier and TypeMethodDescriptionCompiles the script (source read from
Reader) for later execution.Compiles the script (source represented as a
String) for later execution.
eval(Reader)calls the abstract
eval(Reader, ScriptContext)passing the value of the
eval(Reader, Bindings)calls the abstract
eval(Reader, ScriptContext)method, passing it a
ScriptContextwhose Reader, Writers and Bindings for scopes other that
ENGINE_SCOPEare identical to those members of the protected
eval(Reader)except that the abstract
eval(String, ScriptContext)is used.Same as
eval(Reader, Bindings)except that the abstract
eval(String, ScriptContext)is used.CompiledScript.
eval()Executes the program stored in the
CompiledScriptobject.Executes the program stored in the
CompiledScriptobject using the supplied
Bindingsof attributes as the
ENGINE_SCOPEof the associated
ScriptEngineduring script execution.
abstract ObjectExecutes the program stored in this
eval(String)except that the source of the script is provided as a
eval(String, Bindings)except that the source of the script is provided as a
eval(String, ScriptContext)where the source of the script is read from a
Reader.Executes the specified script.Executes the script using the
Bindingsargument as the
ScriptEngineduring the script execution.Causes the immediate execution of the script whose source is the String passed as the first argument.Used to call top-level procedures and functions defined in scripts.Calls a method on a script object compiled during a previous script execution, which is retained in the state of the