public class SevenZMethodConfiguration extends 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
Doesn't configure any additional options.
|
SevenZMethodConfiguration(SevenZMethod
Specifies and method plus configuration options.
|
public SevenZMethodConfiguration(SevenZMethodmethod)
method - the method to use
public SevenZMethodConfiguration(SevenZMethodmethod, Object options)
method - the method to use
options - the options to use
IllegalArgumentException - if the method doesn't understand the options specified.
public SevenZMethodgetMethod()
public ObjectgetOptions()