Class ZipConstants


  • final class ZipConstants
    extends java.lang.Object
    Various constants used throughout the package.
    Since:
    1.3
    • 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 DEFLATE_MIN_VERSION
      ZIP specification version that introduced DEFLATE compression 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()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • INITIAL_VERSION

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

        static final int DEFLATE_MIN_VERSION
        ZIP specification version that introduced DEFLATE compression method.
        Since:
        1.15
        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
    • Constructor Detail

      • ZipConstants

        private ZipConstants()