Uses of Class
org.apache.commons.compress.archivers.zip.Zip64Mode
-
Packages that use Zip64Mode Package Description org.apache.commons.compress.archivers.zip Provides stream classes for reading and writing archives using the ZIP format. -
-
Uses of Zip64Mode in org.apache.commons.compress.archivers.zip
Fields in org.apache.commons.compress.archivers.zip declared as Zip64Mode Modifier and Type Field Description private Zip64Mode
ZipArchiveOutputStream. zip64Mode
Methods in org.apache.commons.compress.archivers.zip that return Zip64Mode Modifier and Type Method Description private Zip64Mode
ZipArchiveOutputStream. getEffectiveZip64Mode(ZipArchiveEntry ze)
If the mode is AsNeeded and the entry is a compressed entry of unknown size that gets written to a non-seekable stream then change the default to Never.static Zip64Mode
Zip64Mode. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Zip64Mode[]
Zip64Mode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.commons.compress.archivers.zip with parameters of type Zip64Mode Modifier and Type Method Description private boolean
ZipArchiveOutputStream. checkIfNeedsZip64(Zip64Mode effectiveMode)
Verifies the sizes aren't too big in the Zip64Mode.Never case and returns whether the entry would require a Zip64 extra field.private boolean
ZipArchiveOutputStream. handleSizesAndCrc(long bytesWritten, long crc, Zip64Mode effectiveMode)
Ensures the current entry's size and CRC information is set to the values just written, verifies it isn't too big in the Zip64Mode.Never case and returns whether the entry would require a Zip64 extra field.private boolean
ZipArchiveOutputStream. isZip64Required(ZipArchiveEntry entry1, Zip64Mode requestedMode)
void
ZipArchiveOutputStream. setUseZip64(Zip64Mode mode)
Whether Zip64 extensions will be used.private boolean
ZipArchiveOutputStream. shouldAddZip64Extra(ZipArchiveEntry entry, Zip64Mode mode)
Whether to addd a Zip64 extended information extra field to the local file header.private void
ZipArchiveOutputStream. validateSizeInformation(Zip64Mode effectiveMode)
Throws an exception if the size is unknown for a stored entry that is written to a non-seekable output or the entry is too big to be written without Zip64 extra but the mode has been set to Never.
-