|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Compilable
Compilable -- an optional interface contains methods which support the re-execution of intermediate code retained from previous script compilations.
Method Summary | |
---|---|
CompiledScript |
compile(java.io.Reader reader)
Retrieves a CompileScript implementation for the script obtained using java.io.Reader as the script source. |
CompiledScript |
compile(java.lang.String script)
Retrieves a CompileScript implementation for the given piece of script which is a abstraction for the intermediate code produced by the compilation. |
Method Detail |
---|
CompiledScript compile(java.lang.String script) throws ScriptException
script
- the source of the script represented as String
ScriptException
- if the compilation fials due to any
reasonCompiledScript compile(java.io.Reader reader) throws ScriptException
reader
- the reader form which the script source is
obtained
ScriptException
- if the compilation fials due to any
reason
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |