Package com.aspose.zip
Enum SevenZipCompressionMethod
- java.lang.Object
-
- java.lang.Enum<SevenZipCompressionMethod>
-
- com.aspose.zip.SevenZipCompressionMethod
-
- All Implemented Interfaces:
Serializable,Comparable<SevenZipCompressionMethod>
public enum SevenZipCompressionMethod extends Enum<SevenZipCompressionMethod>
Methods of compression that 7z format support.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AESFile is encrypted.BCJTechnique that improves the compression of machine code.BZip2File is compressed using Bzip2.DeltaFile is encoded using Delta converter.LZMAFile is compressed using LZMA.LZMA2File is compressed using LZMA2.PPMdFile is compressed using PPMd.StoreThe file is stored (no compression).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SevenZipCompressionMethodvalueOf(String name)Returns the enum constant of this type with the specified name.static SevenZipCompressionMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Store
public static final SevenZipCompressionMethod Store
The file is stored (no compression).
-
LZMA
public static final SevenZipCompressionMethod LZMA
File is compressed using LZMA.
-
LZMA2
public static final SevenZipCompressionMethod LZMA2
File is compressed using LZMA2.
-
PPMd
public static final SevenZipCompressionMethod PPMd
File is compressed using PPMd.
-
BZip2
public static final SevenZipCompressionMethod BZip2
File is compressed using Bzip2.
-
BCJ
public static final SevenZipCompressionMethod BCJ
Technique that improves the compression of machine code.
-
AES
public static final SevenZipCompressionMethod AES
File is encrypted.
-
Delta
public static final SevenZipCompressionMethod Delta
File is encoded using Delta converter.
-
-
Method Detail
-
values
public static SevenZipCompressionMethod[] 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 (SevenZipCompressionMethod c : SevenZipCompressionMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SevenZipCompressionMethod valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-