Closed AozoraDev closed 2 years ago
Yeah, when an entry in a zip file is replaced, it basically removes that entry from that position in the zip file, and appends it to the end of the zip file. Zip4j cannot override in the existing location of the entry because the size of the entry might change.
Oh okay. Thanks!
Hey hay! So, I used
.addFile()
to replace a file into a zip.But after the process is complete and I refresh the FileHeaders list, the file position moves to the bottom.