JavaTM 2 Platform
Standard Ed. 6

类 javax.script.CompiledScript
的使用

使用 CompiledScript 的软件包
javax.script 脚本 API 由定义 Java TM Scripting Engines 的接口和类组成,并为它们在 Java 应用程序中的使用提供框架。 
 

javax.script 中 CompiledScript 的使用
 

返回 CompiledScript 的 javax.script 中的方法
 CompiledScript Compilable.compile(Reader script)
          编译脚本(从 Reader 读取的源),以便以后执行。
 CompiledScript Compilable.compile(String script)
          编译脚本(以 String 形式表示的源),以便以后执行。
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。