-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum ZipMethodList of known compression methods Many of these methods are currently not supported by commons compress
-
-
Field Summary
Fields Modifier and Type Field Description private final intcode
-
Enum Constant Summary
Enum Constants Enum Constant Description UNKNOWNUnknown compression method.
AES_ENCRYPTEDCompression Method 99 for AES encryption.
PPMDCompression Method 98 for PPMd.
WAVPACKCompression Method 97 for WavPack.
JPEGCompression Method 96 for Jpeg compression.
XZCompression Method 95 for XZ.
LZMACompression Method 14 for LZMA.
BZIP2Compression Method 12 for bzip2.
PKWARE_IMPLODINGPKWARE Data Compression Library Imploding.
ENHANCED_DEFLATEDCompression Method 9 for enhanced deflate.
DEFLATEDCompression method 8 for compressed (deflated) entries.
TOKENIZATIONTokenization.
IMPLODINGImploding.
EXPANDING_LEVEL_4Reduced with compression factor 4.
EXPANDING_LEVEL_3Reduced with compression factor 3.
EXPANDING_LEVEL_2Reduced with compression factor 2.
EXPANDING_LEVEL_1Reduced with compression factor 1.
UNSHRINKINGUnShrinking.dynamic Lempel-Ziv-Welch-Algorithm
STOREDCompression method 0 for uncompressed entries.
-
Method Summary
-
-
Method Detail
-
getMethodByCode
static ZipMethod getMethodByCode(int code)
returns the ZipMethod for the given code or null if themethod is not known.
- Parameters:
code- the code
-
getCode
int getCode()
the code of the compression method.
-
-
-
-