Class ZipConstants
java.lang.Object
org.apache.commons.compress.archivers.zip.ZipConstants
Various constants used throughout the package.
- Since:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final int
Masks last eight bits(package private) static final int
ZIP specification version that introduced data descriptor method(package private) static final int
ZIP specification version that introduced DEFLATE compression method.(package private) static final int
length of a ZipEightByteInteger in bytes(package private) static final int
Initial ZIP specification version(package private) static final int
length of a ZipShort in bytes(package private) static final int
length of a ZipLong in bytes(package private) static final long
Value stored in four-byte size and similar fields if ZIP64 extensions are used.(package private) static final int
Value stored in two-byte size and similar fields if ZIP64 extensions are used.(package private) static final int
ZIP 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:
-
DEFLATE_MIN_VERSION
static final int DEFLATE_MIN_VERSIONZIP specification version that introduced DEFLATE compression method.- Since:
- 1.15
- 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()
-