Class ZipConstants

java.lang.Object
org.apache.commons.compress.archivers.zip.ZipConstants

final class ZipConstants extends Object
Various constants used throughout the package.
Since:
1.3
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (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
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • BYTE_MASK

      static final int BYTE_MASK
      Masks last eight bits
      See Also:
    • SHORT

      static final int SHORT
      length of a ZipShort in bytes
      See Also:
    • WORD

      static final int WORD
      length of a ZipLong in bytes
      See Also:
    • DWORD

      static final int DWORD
      length of a ZipEightByteInteger in bytes
      See Also:
    • INITIAL_VERSION

      static final int INITIAL_VERSION
      Initial ZIP specification version
      See Also:
    • DEFLATE_MIN_VERSION

      static final int DEFLATE_MIN_VERSION
      ZIP specification version that introduced DEFLATE compression method.
      Since:
      1.15
      See Also:
    • DATA_DESCRIPTOR_MIN_VERSION

      static final int DATA_DESCRIPTOR_MIN_VERSION
      ZIP specification version that introduced data descriptor method
      See Also:
    • ZIP64_MIN_VERSION

      static final int ZIP64_MIN_VERSION
      ZIP specification version that introduced ZIP64
      See Also:
    • 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:
    • ZIP64_MAGIC

      static final long ZIP64_MAGIC
      Value stored in four-byte size and similar fields if ZIP64 extensions are used.
      See Also:
  • Constructor Details

    • ZipConstants

      private ZipConstants()