Enum HeaderSignature

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<HeaderSignature>

    public enum HeaderSignature
    extends java.lang.Enum<HeaderSignature>
    • Enum Constant Detail

      • END_OF_CENTRAL_DIRECTORY

        public static final HeaderSignature END_OF_CENTRAL_DIRECTORY
      • TEMPORARY_SPANNING_MARKER

        public static final HeaderSignature TEMPORARY_SPANNING_MARKER
      • ZIP64_END_CENTRAL_DIRECTORY_LOCATOR

        public static final HeaderSignature ZIP64_END_CENTRAL_DIRECTORY_LOCATOR
      • ZIP64_END_CENTRAL_DIRECTORY_RECORD

        public static final HeaderSignature ZIP64_END_CENTRAL_DIRECTORY_RECORD
      • ZIP64_EXTRA_FIELD_SIGNATURE

        public static final HeaderSignature ZIP64_EXTRA_FIELD_SIGNATURE
      • AES_EXTRA_DATA_RECORD

        public static final HeaderSignature AES_EXTRA_DATA_RECORD
    • Field Detail

      • value

        private long value
    • Constructor Detail

      • HeaderSignature

        private HeaderSignature​(long value)
    • Method Detail

      • values

        public static HeaderSignature[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (HeaderSignature c : HeaderSignature.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static HeaderSignature valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public long getValue()