This class will try to use {@link java.io.RandomAccessFile RandomAccessFile} when you know that the output is going to go to afile.
If RandomAccessFile cannot be used, this implementation will use a Data Descriptor to store size and CRC information for {@link #DEFLATED DEFLATED} entries, this means, you don't need tocalculate them yourself. Unfortunately this is not possible for the {@link #STORED STORED} method, here setting the CRC anduncompressed size information is required before {@link #putNextEntry putNextEntry} can be called.
As of Apache Ant 1.9.0 it transparently supports Zip64 extensions and thus individual entries and archives larger than 4 GB or with more than 65536 entries in most cases but explicit control is provided via {@link #setUseZip64}. If the stream can not user RandomAccessFile and you try to write a ZipEntry of unknown size then Zip64 extensions will be disabled by default.
This class will try to use {@link java.io.RandomAccessFile RandomAccessFile} when you know that the output is going to go to afile.
If RandomAccessFile cannot be used, this implementation will use a Data Descriptor to store size and CRC information for {@link #DEFLATED DEFLATED} entries, this means, you don't need tocalculate them yourself. Unfortunately this is not possible for the {@link #STORED STORED} method, here setting the CRC anduncompressed size information is required before {@link #putNextEntry putNextEntry} can be called.
@author Stefan Bodewig @author Richard Evans @version $Revision: 1.1 $This class will try to use {@link java.io.RandomAccessFile RandomAccessFile} when you know that the output is going to go to afile.
If RandomAccessFile cannot be used, this implementation will use a Data Descriptor to store size and CRC information for {@link #DEFLATED DEFLATED} entries, this means, you don't need tocalculate them yourself. Unfortunately this is not possible for the {@link #STORED STORED} method, here setting the CRC anduncompressed size information is required before {@link #putNextEntry putNextEntry} can be called.
This class will try to use {@link java.io.RandomAccessFile RandomAccessFile}when you know that the output is going to go to a file.
If RandomAccessFile cannot be used, this implementation will use a Data Descriptor to store size and CRC information for {@link #DEFLATED DEFLATED}entries, this means, you don't need to calculate them yourself. Unfortunately this is not possible for the {@link #STORED STORED} method, here setting theCRC and uncompressed size information is required before {@link #putNextEntry putNextEntry} can be called.
This class will try to use {@link java.io.RandomAccessFile RandomAccessFile} when you know that the output is going to go to afile.
If RandomAccessFile cannot be used, this implementation will use a Data Descriptor to store size and CRC information for {@link #DEFLATED DEFLATED} entries, this means, you don't need tocalculate them yourself. Unfortunately this is not possible for the {@link #STORED STORED} method, here setting the CRC anduncompressed size information is required before {@link #putNextEntry putNextEntry} can be called.
@version $Revision$ $Date$from org.apache.ant.tools.zip.ZipOutputStream v1.24
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|