SimpleScriptContext
Class SimpleScriptContext
- java.lang.Object
-
- javax.script.SimpleScriptContext
- All Implemented Interfaces:
- ScriptContext
public class SimpleScriptContext extends Object implements ScriptContext
Simple implementation of ScriptContext.
- Since:
- 1.6
Fields
writer
protected Writer writer
This is the writer to be used to output from scripts. By default, a PrintWriter
based on System.out
is used. Accessor methods getWriter, setWriter are used to manage this field.
- See Also:
-
System.out
, 登录查看完整内容