Class PreparsedScript
java.lang.Object
bsh.PreparsedScript
With this class the script source is only parsed once and the resulting AST is used for
every invocation
. This class is designed to be thread-safe.-
Constructor Summary
ConstructorsConstructorDescriptionPreparsedScript
(String source) PreparsedScript
(String source, ClassLoader classLoader) -
Method Summary
-
Constructor Details
-
PreparsedScript
-
PreparsedScript
- Throws:
EvalError
-
-
Method Details
-
invoke
-
setOut
-
setErr
-