Top Description Fields Constructors Methods
org.apache.commons.compress.archivers.zip

pack-priv final Class ZipConstants

extends Object
Class Inheritance

Various constants used throughout the package.
Since
1.3

Field Summary

Modifier and TypeField and Description
pack-priv static final int
BYTE_MASK

Masks last eight bits

pack-priv static final int
DATA_DESCRIPTOR_MIN_VERSION

ZIP specification version that introduced data descriptor method

pack-priv static final int
DEFLATE_MIN_VERSION

ZIP specification version that introduced DEFLATE compression method.

pack-priv static final int
DWORD

Length of a ZipEightByteInteger in bytes

pack-priv static final int
INITIAL_VERSION

Initial ZIP specification version

pack-priv static final int
SHORT

Length of a ZipShort in bytes

pack-priv static final int
WORD

Length of a ZipLong in bytes

pack-priv static final long
ZIP64_MAGIC

Value stored in four-byte size and similar fields if ZIP64 extensions are used.

pack-priv static final int
ZIP64_MAGIC_SHORT

Value stored in two-byte size and similar fields if ZIP64 extensions are used.

pack-priv static final int
ZIP64_MIN_VERSION

ZIP specification version that introduced ZIP64

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BYTE_MASKback to summary
pack-priv static final int BYTE_MASK

Masks last eight bits

DATA_DESCRIPTOR_MIN_VERSIONback to summary
pack-priv static final int DATA_DESCRIPTOR_MIN_VERSION

ZIP specification version that introduced data descriptor method

DEFLATE_MIN_VERSIONback to summary
pack-priv static final int DEFLATE_MIN_VERSION

ZIP specification version that introduced DEFLATE compression method.

Since
1.15
DWORDback to summary
pack-priv static final int DWORD

Length of a ZipEightByteInteger in bytes

INITIAL_VERSIONback to summary
pack-priv static final int INITIAL_VERSION

Initial ZIP specification version

SHORTback to summary
pack-priv static final int SHORT

Length of a ZipShort in bytes

WORDback to summary
pack-priv static final int WORD

Length of a ZipLong in bytes

ZIP64_MAGICback to summary
pack-priv static final long ZIP64_MAGIC

Value stored in four-byte size and similar fields if ZIP64 extensions are used.

ZIP64_MAGIC_SHORTback to summary
pack-priv static final int ZIP64_MAGIC_SHORT

Value stored in two-byte size and similar fields if ZIP64 extensions are used.

ZIP64_MIN_VERSIONback to summary
pack-priv static final int ZIP64_MIN_VERSION

ZIP specification version that introduced ZIP64

Constructor Detail

ZipConstantsback to summary
private ZipConstants()