Uses of Class
javax.script.CompiledScript
-
Packages that use CompiledScript Package Description javax.script The scripting API consists of interfaces and classes that define Java™ Scripting Engines and provides a framework for their use in Java applications.jdk.nashorn.api.scripting This package provides thejavax.script
integration, which is the preferred way to use Nashorn. -
-
Uses of CompiledScript in javax.script
Methods in javax.script that return CompiledScript Modifier and Type Method Description CompiledScript
Compilable. compile(Reader script)
Compiles the script (source read fromReader
) for later execution.CompiledScript
Compilable. compile(String script)
Compiles the script (source represented as aString
) for later execution. -
Uses of CompiledScript in jdk.nashorn.api.scripting
Methods in jdk.nashorn.api.scripting that return CompiledScript Modifier and Type Method Description CompiledScript
NashornScriptEngine. compile(Reader reader)
CompiledScript
NashornScriptEngine. compile(String str)
-