×

Interface between programming languages and method therefor

  • US 20030145011A1
  • Filed: 01/31/2002
  • Published: 07/31/2003
  • Est. Priority Date: 01/31/2002
  • Status: Active Grant
First Claim
Patent Images

1. In a device that uses a Java programming language and a second programming language, a method of emulating more simultaneously open files in the device than is permitted by an operating system of the device comprising:

  • while running a predetermined program in the Java programming language, attempting to access a file stored within the device;

    determining whether the file is already open from prior execution;

    if the file is open, access to the file proceeds;

    if the file is not open, a determination is made by the device of a number of files the device permits to be simultaneously open;

    if the number is not exceeded by opening the file, the file is opened;

    if the number is exceeded by opening the file, the device emulates having more files open than the number allowed by;

    (1) saving a file position for at least one open file, the file position designating where a next byte in the at least one open file would be accessed;

    (2) closing the at least one open file; and

    (3) opening the file;

    wherein subsequent accesses to the at least one open file that has been closed are made transparently to the predetermined program in the Java programming language by closing at least one currently open file, retrieving the file position previously saved, and opening and restoring the file position for that file.

View all claims
  • 22 Assignments
Timeline View
Assignment View
    ×
    ×