Method to automate resource management in computer applications
First Claim
Patent Images
1. A computer system which comprises:
- a computer, a user interface and a memory that comprises an application, a resource manager and a resource manager wrapper;
wherein said application in response to a request from said user interface for a presentation of an item generates a call having a resource name and a default value for a resource associated with said item;
wherein said resource manager responds to said call by determining if said resource name is defined in a first localized resource file;
wherein said resource manager wrapper writes said resource name in a second resource file, and automatically writes said default value as a value associated with said resource name in said second resource file, if said first localized resource file does not contain said resource name, or said resource manager retrieves a corresponding resource value from said first localized resource file if said first localized resource file contains said resource name, and provides a return value associated with said resource name to said application for use in providing data to said user interface for said presentation; and
wherein said resource name is a dynamic resource name, and wherein said first localized file contains only static resource names and localization values and said second resource file contains dynamic resource names and default values that are not localized.
1 Assignment
0 Petitions
Accused Products
Abstract
There is provided a computer comprising an application that generates a call having a resource name and a default value. A resource manager compares an entry in a localized resource file to the resource name. A resource manager wrapper adds said resource name to a resource file if the localized resource file does not contain the resource name. The resource manager wrapper then sends a return value to the application to be used with presentations to an end user.
25 Citations
21 Claims
-
1. A computer system which comprises:
-
a computer, a user interface and a memory that comprises an application, a resource manager and a resource manager wrapper; wherein said application in response to a request from said user interface for a presentation of an item generates a call having a resource name and a default value for a resource associated with said item; wherein said resource manager responds to said call by determining if said resource name is defined in a first localized resource file; wherein said resource manager wrapper writes said resource name in a second resource file, and automatically writes said default value as a value associated with said resource name in said second resource file, if said first localized resource file does not contain said resource name, or said resource manager retrieves a corresponding resource value from said first localized resource file if said first localized resource file contains said resource name, and provides a return value associated with said resource name to said application for use in providing data to said user interface for said presentation; and wherein said resource name is a dynamic resource name, and wherein said first localized file contains only static resource names and localization values and said second resource file contains dynamic resource names and default values that are not localized. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method of operating a computer that comprises a user interface and a memory that contains an application, a resource manager and a resource manager wrapper, said method comprising:
-
in response to a request from said user interface for presentation of an item, generating from said application running on said computer a call that has an associated resource name and an associated default value; in response to said call, said resource manager determines if said resource name is defined in a first localized resource file; if said resource name is defined in said first localized resource file, then said resource manager retrieves a corresponding resource value from said first localized resource file; if said resource name is not defined in said first localized file, then said resource manager wrapper writes said resource name in a second resource file, and automatically writes said default value as a value associated with said resource name in said second resource file; and providing a return value associated with said resource name for use in said presentation of said item by said user interface, wherein said return value comprises said resource value or said default value, and wherein said resource name is a dynamic resource name, and wherein said first localized file contains only static resource names and localization values and said second resource file contains dynamic resource names and default values that are not localized. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A computer storage medium that stores a plurality of instructions of a computer program comprising:
-
one or more said instructions for operating a computer to receive a call that has an associated resource name and an associated default value; one or more said instructions for operating said computer in response to said call to determine if said resource name is defined in a first localized resource file; if said resource name is defined in said first localized resource file, one or more instructions for operating said computer to retrieve a corresponding resource value from said first localized resource file; if said resource name is not defined in said first localized resource file, one or more of said instructions for operating said computer to automatically write said resource name in a second resource file and to write said default value as a corresponding default value for said resource name in said second resource file; and providing a return value associated with said resource name for use in said presentation of said item by said user interface, wherein said return value comprises said resource value or said default value, wherein said resource name is a dynamic resource name, and wherein said first localized file contains only static resource names and localization values and said second resource file contains dynamic resource names and default values that are not localized.
-
Specification