posted 21 years ago
Ok so it doesn't look like the java.util.zip.* classes allow for appending new entries into an existing zip archive through their APIs.
To get around this I do the following:
1) create a new Zip file
2) read the contents of the old Zip file and write them out to the new Zip, appending the new entries on the end of the new zip file
3) replace the old Zip file with the new one
Has anyone come up with a better way of achieving this?
Thanks.