Enum Constant and Description |
---|
AES_ENCRYPTED
Compression Method 99 for AES encryption.
|
BZIP2
Compression Method 12 for bzip2.
|
DEFLATED
Compression method 8 for compressed (deflated) entries.
|
ENHANCED_DEFLATED
Compression Method 9 for enhanced deflate.
|
EXPANDING_LEVEL_1
Reduced with compression factor 1.
|
EXPANDING_LEVEL_2
Reduced with compression factor 2.
|
EXPANDING_LEVEL_3
Reduced with compression factor 3.
|
EXPANDING_LEVEL_4
Reduced with compression factor 4.
|
IMPLODING
Imploding.
|
JPEG
Compression Method 96 for Jpeg compression.
|
LZMA
Compression Method 14 for LZMA.
|
PKWARE_IMPLODING
PKWARE Data Compression Library Imploding.
|
PPMD
Compression Method 98 for PPMd.
|
STORED
Compression method 0 for uncompressed entries.
|
TOKENIZATION
Tokenization.
|
UNKNOWN
Unknown compression method.
|
UNSHRINKING
UnShrinking.
|
WAVPACK
Compression Method 97 for WavPack.
|
XZ
Compression Method 95 for XZ.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
the code of the compression method.
|
static ZipMethod |
getMethodByCode(int code)
returns the
ZipMethod for the given code or null if the
method is not known. |
static ZipMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ZipMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZipMethod STORED
ZipEntry.STORED
public static final ZipMethod UNSHRINKING
public static final ZipMethod EXPANDING_LEVEL_1
public static final ZipMethod EXPANDING_LEVEL_2
public static final ZipMethod EXPANDING_LEVEL_3
public static final ZipMethod EXPANDING_LEVEL_4
public static final ZipMethod IMPLODING
public static final ZipMethod TOKENIZATION
public static final ZipMethod DEFLATED
ZipEntry.DEFLATED
public static final ZipMethod ENHANCED_DEFLATED
public static final ZipMethod PKWARE_IMPLODING
public static final ZipMethod BZIP2
public static final ZipMethod LZMA
public static final ZipMethod XZ
public static final ZipMethod JPEG
public static final ZipMethod WAVPACK
public static final ZipMethod PPMD
public static final ZipMethod AES_ENCRYPTED
public static final ZipMethod UNKNOWN
public static ZipMethod[] values()
for (ZipMethod c : ZipMethod.values()) System.out.println(c);
public static ZipMethod valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()
ZipArchiveEntry.getMethod()
Copyright © 2010 - 2020 Adobe. All Rights Reserved