public enum SevenZMethod extends Enum<SevenZMethod>
All methods with a _FILTER suffix are used as preprocessors with the goal of creating a better compression ratio with the compressor that comes next in the chain of methods. 7z will in general only allow them to be used together with a "real" compression method but Commons Compress doesn't enforce this.
The BCJ_ filters work on executable files for the given platform and convert relative addresses to absolute addresses in CALL instructions. This means they are only useful when applied to executables of the chosen platform.
| Enum Constant and Description | 
|---|
| AES256SHA256AES encryption with a key length of 256 bit using SHA256 for
 hashes - only supported when reading | 
| BCJ_ARM_FILTERBCJ ARM platform. | 
| BCJ_ARM_THUMB_FILTERBCJ ARM Thumb platform. | 
| BCJ_IA64_FILTERBCJ I64 platform. | 
| BCJ_PPC_FILTERBCJ PowerPC platform. | 
| BCJ_SPARC_FILTERBCJ Sparc platform. | 
| BCJ_X86_FILTERBCJ x86 platform version 1. | 
| BZIP2BZIP2 | 
| COPYno compression at all | 
| DEFLATEDeflate | 
| DEFLATE64Deflate64 | 
| DELTA_FILTERDelta filter. | 
| LZMALZMA - only supported when reading | 
| LZMA2LZMA2 | 
| Modifier and Type | Method and Description | 
|---|---|
| static SevenZMethod | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static SevenZMethod[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final SevenZMethod COPY
public static final SevenZMethod LZMA
public static final SevenZMethod LZMA2
public static final SevenZMethod DEFLATE
public static final SevenZMethod DEFLATE64
public static final SevenZMethod BZIP2
public static final SevenZMethod AES256SHA256
public static final SevenZMethod BCJ_X86_FILTER
public static final SevenZMethod BCJ_PPC_FILTER
public static final SevenZMethod BCJ_IA64_FILTER
public static final SevenZMethod BCJ_ARM_FILTER
public static final SevenZMethod BCJ_ARM_THUMB_FILTER
public static final SevenZMethod BCJ_SPARC_FILTER
public static final SevenZMethod DELTA_FILTER
public static SevenZMethod[] values()
for (SevenZMethod c : SevenZMethod.values()) System.out.println(c);
public static SevenZMethod 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 nullCopyright © 2018 The Apache Software Foundation. All rights reserved.