Method and apparatus for customizing Java API implementations
First Claim
1. A computer-implemented method for customizing an application program interface (API) implementation, comprising the operations of:
- obtaining a plurality of class files, the class files capable of being used together to provide a plurality of functional behaviors to an application, wherein the plurality of class files comprise a first Java Archive (JAR) file;
associating a feature marker with each class file of the plurality of class files based on a functionality provided by the class file, wherein each feature marker indicates a particular functionality provided by the plurality of class files;
selecting particular class files from the plurality of class files based on the feature markers associated with the particular class files; and
generating a second JAR file using the selected class files.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system is provided for customizing Java API implementations. A plurality of class files is obtained, wherein the class files are capable of being used together to provide a plurality of functional behaviors to an application. A feature marker is then associated with each of the class files based on a functionality provided by the class file. Each feature marker indicates a particular functionality provided by the plurality of class files. Particular class files are then selected from the plurality of class files based on the feature markers associated with the particular class files. The plurality of class files can comprise a first JAR file, and the selected class files can be used to generate a second JAR file. The second JAR file can also exclude class files that are not selected. Further, non-Java based native files, if any, utilized by the plurality of class files can also be customized to a subset of the original native files in a similar manner.
34 Citations
15 Claims
-
1. A computer-implemented method for customizing an application program interface (API) implementation, comprising the operations of:
-
obtaining a plurality of class files, the class files capable of being used together to provide a plurality of functional behaviors to an application, wherein the plurality of class files comprise a first Java Archive (JAR) file;
associating a feature marker with each class file of the plurality of class files based on a functionality provided by the class file, wherein each feature marker indicates a particular functionality provided by the plurality of class files;
selecting particular class files from the plurality of class files based on the feature markers associated with the particular class files; and
generating a second JAR file using the selected class files. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-implemented method for customizing an application program interface (API) implementation, comprising the operations of:
-
extracting a plurality of class files from a first Java Archive (JAR) file, the class files capable of being used together to provide a plurality of functional behaviors to an application;
generating a link file listing interdependencies of the class files of the plurality of class files;
associating a feature marker with particular class files of the plurality of class files utilizing the link file, wherein class files dependent on a particular class file are associated with the same feature marker, and wherein each feature marker indicates a particular functionality provided by the plurality of class files;
selecting particular class files from the plurality of class files based on the feature markers associated with the particular class files; and
generating a second JAR file using the selected class files. - View Dependent Claims (7, 8, 9, 10, 11, 12)
-
-
13. A computer program embodied on a computer readable medium for customizing an application program interface (API) implementation, comprising:
-
a code segment that receives a plurality of class files, the class files capable of being used together to provide a plurality of functional behaviors to an application wherein the plurality of class files comprise a first Java Archive (JAR) file;
a code segment that associates a feature marker with each class file of the plurality of class files based on a functionality provided by the class file, wherein each feature marker indicates a particular functionality provided by the plurality of class files;
a code segment that selects particular class files from the plurality of class files based on the feature markers associated with the particular class files; and
a code segment that generates a second JAR file using the selected class files. - View Dependent Claims (14, 15)
-
Specification