Class ZipConstants
java.lang.Object
org.zeroturnaround.zip.extra.ZipConstants
This is a class that has been made significantly smaller (deleted a bunch of methods) and originally
is from the Apache Ant Project (http://ant.apache.org), org.apache.tools.zip package.
All license and other documentation is intact.
Various constants used throughout the package.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final intMasks last eight bits(package private) static final intZIP specification version that introduced data descriptor method(package private) static final intlength of a ZipEightByteInteger in bytes(package private) static final intInitial ZIP specification version(package private) static final intlength of a ZipShort in bytes(package private) static final intlength of a ZipLong in bytes(package private) static final longValue stored in four-byte size and similar fields if ZIP64 extensions are used.(package private) static final intValue stored in two-byte size and similar fields if ZIP64 extensions are used.(package private) static final intZIP specification version that introduced ZIP64 -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BYTE_MASK
static final int BYTE_MASKMasks last eight bits- See Also:
-
SHORT
static final int SHORTlength of a ZipShort in bytes- See Also:
-
WORD
static final int WORDlength of a ZipLong in bytes- See Also:
-
DWORD
static final int DWORDlength of a ZipEightByteInteger in bytes- See Also:
-
INITIAL_VERSION
static final int INITIAL_VERSIONInitial ZIP specification version- See Also:
-
DATA_DESCRIPTOR_MIN_VERSION
static final int DATA_DESCRIPTOR_MIN_VERSIONZIP specification version that introduced data descriptor method- See Also:
-
ZIP64_MIN_VERSION
static final int ZIP64_MIN_VERSIONZIP specification version that introduced ZIP64- See Also:
-
ZIP64_MAGIC_SHORT
static final int ZIP64_MAGIC_SHORTValue stored in two-byte size and similar fields if ZIP64 extensions are used.- See Also:
-
ZIP64_MAGIC
static final long ZIP64_MAGICValue stored in four-byte size and similar fields if ZIP64 extensions are used.- See Also:
-
-
Constructor Details
-
ZipConstants
private ZipConstants()
-