I have been using the Java Zip API and am generally satisfied with it for my purposes, except for one thing which is causing me to look for an alternative.
I have a process which reclaims disc space by finding jobs that are older than a specified number of days, and then zipping those jobs into an 'archive' folder. The problem that I have is that the Java API does not retain file timestamps, but stamps every file with the time that the archive was created. Since the archives are being created a month or more after the job ran we are losing that information.
My question then is whether Zip4j retains the file's timestamp, or at the least has that capability.