System and method for controlling activity of temporary files in a computer system
First Claim
Patent Images
1. A method for controlling activity of a temporary file associated with a target file to which data is to be written in an object-oriented programming environment comprising the steps of:
- creating a file controller object within a user program;
registering, with the file controller object, a file closing mode;
creating a temporary file for writing data thereto from the user program;
passing indicia of the temporary file, from the controller object to the user program;
writing said data to the temporary file, using said indicia; and
closing the temporary file, in the event of an error condition, in accordance with the file closing mode registered with the file controller object.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for controlling activity of a temporary file associated with a target file to which data is to be written.
-
Citations
21 Claims
-
1. A method for controlling activity of a temporary file associated with a target file to which data is to be written in an object-oriented programming environment comprising the steps of:
-
creating a file controller object within a user program;
registering, with the file controller object, a file closing mode;
creating a temporary file for writing data thereto from the user program;
passing indicia of the temporary file, from the controller object to the user program;
writing said data to the temporary file, using said indicia; and
closing the temporary file, in the event of an error condition, in accordance with the file closing mode registered with the file controller object. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A system for controlling activity of a temporary file associated with a target file to which data is to be written in a software programming environment comprising:
-
a file opening function for creating a temporary file for writing data thereto from a user program, and a global data structure, accessible to the file closing function and the user program; and
a file closing function for closing the temporary file, in the event of an error condition, in accordance with a file closing mode located in the data structure;
wherein the file opening function creates an entry in the data structure comprising data indicative of a name of said temporary file, a name of a target file associated with said temporary file, and the file closing mode with which temporary file is to be closed. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A method for controlling activity of a temporary file associated with a target file to which data is to be written in a software programming environment comprising the steps of:
-
creating a file opening function;
creating a file closing function for handling the temporary file in accordance with a file closing mode;
creating a global data structure, accessible to the file closing function and the user program;
registering, with the file opening function, a file closing mode;
creating a temporary file for writing data thereto from the user program;
creating an entry in the data structure comprising data indicative of a name of said temporary file, the name of the target file, and the file closing mode with which temporary file is to be closed;
writing data to the temporary file, using the data in the entry in the data structure; and
handling the temporary file in accordance with the file closing mode in the data structure, in the event of an error condition. - View Dependent Claims (18, 19, 20)
-
-
21. A system for controlling activity of a temporary file associated with a target file to which data is to be written in an object-oriented programming environment comprising:
-
means for creating a file controller object within a user program;
means for registering, with the file controller object, a file closing mode;
means for creating a temporary file for writing data thereto from the user program;
means for passing indicia of the temporary file, from the controller object to the user program;
means for writing said data to the temporary file, using said indicia; and
means for closing the temporary file, in the event of an error condition, in accordance with the file closing mode registered with the file controller object.
-
Specification