Programmatically creating links in a zip file - java

I am creating a zip file using ZipOutputStream . There will also be a manifest file (csv file) that will have links to entries in the Zip file. How can I programmatically create links for zip records?

+4
source share
1 answer

If you keep track of all the records during their recording, you should be able to add another record containing “links” (but how should the csv link to the file be? Indicate what you are trying to achieve).

If you intend to use the file under the windows, you can create program files .lnk; but this only works for one file per link. In Unices, ZipOutputStream cannot create symbolic links, but ZipFileSystem can.

+1
source

All Articles