How to create Uncompressed Zip archive in Java
I’m leery of aperkins solution (since deleted), but I know why it worked. The line (which has since been corrected in his answer) zipOut.setLevel(ZipOutputStream.STORED); // accidentally right was using the static value ZipOutputStream.STORED, which coincidentally equals 0. So what that line is doing is setting the level used by the default DEFLATED method to zero … Read more