public class SevenZMethodConfiguration
extends java.lang.Object
The exact type and interpretation of options depends on the method being configured. Currently supported are:
| Method | Option Type | Description |
|---|---|---|
| BZIP2 | Number | Block Size - an number between 1 and 9 |
| DEFLATE | Number | Compression Level - an number between 1 and 9 |
| LZMA2 | Number | Dictionary Size - a number between 4096 and 768 MiB (768 << 20) |
| LZMA2 | org.tukaani.xz.LZMA2Options | Whole set of LZMA2 options. |
| DELTA_FILTER | Number | Delta Distance - a number between 1 and 256 |
| Constructor and Description |
|---|
SevenZMethodConfiguration(SevenZMethod method)
Doesn't configure any additional options.
|
SevenZMethodConfiguration(SevenZMethod method,
java.lang.Object options)
Specifies and method plus configuration options.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
SevenZMethod |
getMethod()
The specified method.
|
java.lang.Object |
getOptions()
The specified options.
|
int |
hashCode() |
public SevenZMethodConfiguration(SevenZMethod method)
method - the method to usepublic SevenZMethodConfiguration(SevenZMethod method, java.lang.Object options)
method - the method to useoptions - the options to usejava.lang.IllegalArgumentException - if the method doesn't understand the options specified.public SevenZMethod getMethod()
public java.lang.Object getOptions()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved