public enum GeneralPurposeFlag extends Enum<GeneralPurposeFlag>
ZipFileHeader.getGeneralPurposeFlags()
and
ZipCentralDirectoryFileEntry.getGeneralPurposeFlags()
Enum Constant and Description |
---|
COMPRESS_PATCHED |
DATA_DESCRIPTOR |
DEFLATING_FAST |
DEFLATING_MAXIMUM |
DEFLATING_NORMAL |
DEFLATING_SUPER_FAST |
ENCRYPTED
Sets whether or not the data-descriptor information follows the file data.
|
ENCRYPTED_CENTRAL |
ENHANCED_DEFLATING |
LANGUAGE_ENCODING |
PKWARE1 |
PKWARE2 |
PKWARE3 |
STRONG_COMPRESSION |
TYPE_6_IMPLODING_3_SF_TREES |
TYPE_6_IMPLODING_8K_BUFFER |
UNUSED1 |
UNUSED2 |
UNUSED3 |
UNUSED4 |
Modifier and Type | Method and Description |
---|---|
static Set<GeneralPurposeFlag> |
fromInt(int value)
Generate a set of flags from an integer value.
|
int |
getValue() |
static GeneralPurposeFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeneralPurposeFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneralPurposeFlag ENCRYPTED
public static final GeneralPurposeFlag DEFLATING_NORMAL
public static final GeneralPurposeFlag DEFLATING_MAXIMUM
public static final GeneralPurposeFlag DEFLATING_FAST
public static final GeneralPurposeFlag DEFLATING_SUPER_FAST
public static final GeneralPurposeFlag TYPE_6_IMPLODING_8K_BUFFER
public static final GeneralPurposeFlag TYPE_6_IMPLODING_3_SF_TREES
public static final GeneralPurposeFlag DATA_DESCRIPTOR
public static final GeneralPurposeFlag ENHANCED_DEFLATING
public static final GeneralPurposeFlag COMPRESS_PATCHED
public static final GeneralPurposeFlag STRONG_COMPRESSION
public static final GeneralPurposeFlag UNUSED1
public static final GeneralPurposeFlag UNUSED2
public static final GeneralPurposeFlag UNUSED3
public static final GeneralPurposeFlag UNUSED4
public static final GeneralPurposeFlag LANGUAGE_ENCODING
public static final GeneralPurposeFlag PKWARE1
public static final GeneralPurposeFlag ENCRYPTED_CENTRAL
public static final GeneralPurposeFlag PKWARE2
public static final GeneralPurposeFlag PKWARE3
public static GeneralPurposeFlag[] values()
for (GeneralPurposeFlag c : GeneralPurposeFlag.values()) System.out.println(c);
public static GeneralPurposeFlag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Set<GeneralPurposeFlag> fromInt(int value)
public int getValue()
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.