Method, apparatus, and program for updating a java archive to encode a file system delta
First Claim
1. A method for updating a file system, comprising:
- identifying a target file system tree;
receiving a delta pre-specified archive file that includes at least one difference entry and an extractor class,wherein the delta pre-specified archive file includes a main class specification the extractor class as the main class; and
executing the extractor class,wherein the extractor class applies difference information in the at least one difference entry to the target file system tree to form a final file system tree, andwherein the extractor class applies the difference information by performing an update operation comprising at least one of removing a file, removing a directory, creating a directory, updating directory attributes, placing file contents, and updating file attributes.
0 Assignments
0 Petitions
Accused Products
Abstract
A mechanism is provided for extending a Java archive file to include additional information that describes the contents of the archive as update information. A program is provided for determining differences between an initial file system tree and a final file system tree and encoding those differences into entries in a Java archive file. An extractor class is included in the Java archive file and named as the main class. The Java archive file may be transported to a site that needs a file system update. The Java archive file may be executed in a Java runtime environment to update a target file system. The extractor class is executed to decode and effectuate the difference entries in the archive file.
-
Citations
5 Claims
-
1. A method for updating a file system, comprising:
-
identifying a target file system tree; receiving a delta pre-specified archive file that includes at least one difference entry and an extractor class, wherein the delta pre-specified archive file includes a main class specification the extractor class as the main class; and executing the extractor class, wherein the extractor class applies difference information in the at least one difference entry to the target file system tree to form a final file system tree, and wherein the extractor class applies the difference information by performing an update operation comprising at least one of removing a file, removing a directory, creating a directory, updating directory attributes, placing file contents, and updating file attributes. - View Dependent Claims (2)
-
-
3. An apparatus for updating a file system, comprising:
-
identification means for identifying a target file system tree; receipt means for receiving a delta pre-specified archive file that includes at least one difference entry and an extractor class, wherein the delta pre-specified archive file includes a main class specification the extractor class as the main class; and execution means for executing the extractor class, wherein the extractor class applies difference information in the at least one difference entry to the target file system tree to form a final file system tree, and wherein the extractor class applies the difference information by performing an update operation comprising at least one of removing a file, removing a directory, creating a directory, updating directory attributes, placing file contents, and updating file attributes. - View Dependent Claims (4)
-
-
5. A computer program product, in a computer readable storage medium, for updating a file system, comprising:
-
instructions for identifying a target file system tree; instructions for receiving a delta pre-specified archive file that includes at least one difference entry and an extractor class, wherein the delta pre-specified archive file includes a main class specification the extractor class as the main class; and instructions for executing the extractor class, wherein the extractor class applies difference information in the at least one difference entry to the target file system tree to form a final file system tree, and wherein the extractor class applies the difference information by performing an update operation comprising at least one of removing a file, removing a directory, creating a directory, updating directory attributes, placing file contents, and updating file attributes.
-
Specification