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 CompiledScript in javax.script
Methods in javax.script that return CompiledScript Modifier and Type Method Description
compile(Reader script)Compiles the script (source read from
Reader) for later execution.
compile(String script)Compiles the script (source represented as a
String) for later execution.