Uses of Interface
javax.script.ScriptEngine
Package
Description
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 ScriptEngine in javax.script
Modifier and TypeClassDescriptionclass
Provides a standard implementation for several of the variants of theeval
method.Modifier and TypeMethodDescriptionabstract ScriptEngine
CompiledScript.getEngine()
Returns theScriptEngine
whosecompile
method created thisCompiledScript
.ScriptEngineManager.getEngineByExtension
(String extension) Look up and create aScriptEngine
for a given extension.ScriptEngineManager.getEngineByMimeType
(String mimeType) Look up and create aScriptEngine
for a given mime type.ScriptEngineManager.getEngineByName
(String shortName) Looks up and creates aScriptEngine
for a given name.ScriptEngineFactory.getScriptEngine()
Returns an instance of theScriptEngine
associated with thisScriptEngineFactory
.