Package | Description |
---|---|
javax.script |
The scripting API consists of interfaces and classes that define
Java TM Scripting Engines and provides
a framework for their use in Java applications.
|
Modifier and Type | Method and Description |
---|---|
CompiledScript |
Compilable.compile(Reader script)
Compiles the script (source read from
Reader ) for
later execution. |
CompiledScript |
Compilable.compile(String script)
Compiles the script (source represented as a
String ) for
later execution. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.