Saturday, 17 August 2013

File size limitations of ZipOutputStream?

File size limitations of ZipOutputStream?

I am using the ZipOutputStream to create ZIP files. It works fine, but the
Javadoc is quite sparse, so I'm left with questions about the
characteristics of ZipOutputStream:
Is there a limit for the maximum supported file sizes? Both for files
contained in the ZIP and for the resulting ZIP file itself? The size
argument is long, but who knows. (Let us assume that the filesystem
imposes no limits.)
What is the minimum input file size that justifies use of the DEFLATED
method?
I will always read the resulting ZIP file using ZipInputStream.

No comments:

Post a Comment