发明名称 |
Java I/O toolkit for applications and applets |
摘要 |
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.
|
申请公布号 |
US6011916(A) |
申请公布日期 |
2000.01.04 |
申请号 |
US19980076391 |
申请日期 |
1998.05.12 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORP. |
发明人 |
MOORE, VICTOR S.;WALTERS, GLEN R. |
分类号 |
G06F9/44;G06F9/455;(IPC1-7):G06F9/45 |
主分类号 |
G06F9/44 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|