Package org.zeroturnaround.zip.extra
Class ZipConstants
- java.lang.Object
-
- org.zeroturnaround.zip.extra.ZipConstants
-
final class ZipConstants extends java.lang.Object
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
Fields Modifier and Type Field Description (package private) static int
BYTE_MASK
Masks last eight bits(package private) static int
DATA_DESCRIPTOR_MIN_VERSION
ZIP specification version that introduced data descriptor method(package private) static int
DWORD
length of a ZipEightByteInteger in bytes(package private) static int
INITIAL_VERSION
Initial ZIP specification version(package private) static int
SHORT
length of a ZipShort in bytes(package private) static int
WORD
length of a ZipLong in bytes(package private) static long
ZIP64_MAGIC
Value stored in four-byte size and similar fields if ZIP64 extensions are used.(package private) static int
ZIP64_MAGIC_SHORT
Value stored in two-byte size and similar fields if ZIP64 extensions are used.(package private) static int
ZIP64_MIN_VERSION
ZIP specification version that introduced ZIP64
-
Constructor Summary
Constructors Modifier Constructor Description private
ZipConstants()
-
-
-
Field Detail
-
BYTE_MASK
static final int BYTE_MASK
Masks last eight bits- See Also:
- Constant Field Values
-
SHORT
static final int SHORT
length of a ZipShort in bytes- See Also:
- Constant Field Values
-
WORD
static final int WORD
length of a ZipLong in bytes- See Also:
- Constant Field Values
-
DWORD
static final int DWORD
length of a ZipEightByteInteger in bytes- See Also:
- Constant Field Values
-
INITIAL_VERSION
static final int INITIAL_VERSION
Initial ZIP specification version- See Also:
- Constant Field Values
-
DATA_DESCRIPTOR_MIN_VERSION
static final int DATA_DESCRIPTOR_MIN_VERSION
ZIP specification version that introduced data descriptor method- See Also:
- Constant Field Values
-
ZIP64_MIN_VERSION
static final int ZIP64_MIN_VERSION
ZIP specification version that introduced ZIP64- See Also:
- Constant Field Values
-
ZIP64_MAGIC_SHORT
static final int ZIP64_MAGIC_SHORT
Value stored in two-byte size and similar fields if ZIP64 extensions are used.- See Also:
- Constant Field Values
-
ZIP64_MAGIC
static final long ZIP64_MAGIC
Value stored in four-byte size and similar fields if ZIP64 extensions are used.- See Also:
- Constant Field Values
-
-