首页> 外国专利> Java I/O toolkit for applications and applets

Java I/O toolkit for applications and applets

机译:适用于应用程序和小程序的Java I / O工具箱

摘要

A method to perform I/O (Input/Output) operations in a data processing unit running an interpretative based program in an Interpretive Machine (IM). One example on an interpretative based program running in an IM is a Java based program. An I/O class for passing data into the interpretative based program and out of a the interpretative based program is defined. An object representing an instance of this I/O class is created. The I/O class includes a first member function called an Applet function for handling I/O operations when the IM is running as an Applet coupled to a Web browser. The Applet function has its own procedures and data variables for performing I/O operations. The I/O class includes a second member function called and Application function for handling I/O operations when the IM is running as an Application not coupled to a Web browser. The Application function has its own procedures and variables for performing I/O operations. A check is made to determine whether the interpretative based program is being executed with or without a browser. When the interpretative based program is being executed with a browser, the Applet function performs I/O operations and when the interpretive based program is being executed without a browser, the Application function performs the I/O operations. In accordance with another embodiment of the present invention, a computer readable medium is disclosed corresponding to the above method.
机译:一种在运行解释机(IM)中基于解释程序的数据处理单元中执行I / O(输入/输出)操作的方法。在IM中运行的基于解释性程序的一个示例是基于Java的程序。定义了一个I / O类,用于将数据传递到基于解释程序中和从基于解释程序中传递出去。创建了一个代表该I / O类实例的对象。 I / O类包括称为Applet函数的第一个成员函数,用于在IM作为与Web浏览器耦合的Applet运行时处理I / O操作。 Applet函数具有用于执行I / O操作的自己的过程和数据变量。 I / O类包括第二个成员函数,称为和Application函数,用于在IM作为未连接到Web浏览器的Application运行时处理I / O操作。应用程序功能具有自己的过程和变量,用于执行I / O操作。进行检查以确定是否在具有浏览器的情况下执行基于解释性的程序。当使用浏览器执行基于解释性的程序时,Applet函数执行I / O操作,当不使用浏览器执行基于解释性的程序时,Application函数将执行I / O操作。根据本发明的另一个实施例,公开了一种与上述方法相对应的计算机可读介质。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号