Package net.lingala.zip4j.headers
Enum HeaderSignature
- java.lang.Object
-
- java.lang.Enum<HeaderSignature>
-
- net.lingala.zip4j.headers.HeaderSignature
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HeaderSignature>
public enum HeaderSignature extends java.lang.Enum<HeaderSignature>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private long
value
-
Constructor Summary
Constructors Modifier Constructor Description private
HeaderSignature(long value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getValue()
static HeaderSignature
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HeaderSignature[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCAL_FILE_HEADER
public static final HeaderSignature LOCAL_FILE_HEADER
-
EXTRA_DATA_RECORD
public static final HeaderSignature EXTRA_DATA_RECORD
-
CENTRAL_DIRECTORY
public static final HeaderSignature CENTRAL_DIRECTORY
-
END_OF_CENTRAL_DIRECTORY
public static final HeaderSignature END_OF_CENTRAL_DIRECTORY
-
TEMPORARY_SPANNING_MARKER
public static final HeaderSignature TEMPORARY_SPANNING_MARKER
-
DIGITAL_SIGNATURE
public static final HeaderSignature DIGITAL_SIGNATURE
-
ARCEXTDATREC
public static final HeaderSignature ARCEXTDATREC
-
SPLIT_ZIP
public static final HeaderSignature SPLIT_ZIP
-
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
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
getValue
public long getValue()
-
-