Package bsh
Class PreparsedScript
- java.lang.Object
-
- bsh.PreparsedScript
-
public class PreparsedScript extends java.lang.ObjectWith this class the script source is only parsed once and the resulting AST is used forevery invocation. This class is designed to be thread-safe.
-
-
Constructor Summary
Constructors Constructor Description PreparsedScript(java.lang.String source)PreparsedScript(java.lang.String source, java.lang.ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectinvoke(java.util.Map<java.lang.String,?> context)voidsetErr(java.io.PrintStream value)voidsetOut(java.io.PrintStream value)
-