public class SevenZFileOptions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SevenZFileOptions.Builder
Mutable builder for the immutable
SevenZFileOptions . |
Modifier and Type | Field and Description |
---|---|
private static int |
DEFAUL_MEMORY_LIMIT_IN_KB |
static SevenZFileOptions |
DEFAULT
The default options.
|
private static boolean |
DEFAULT_USE_DEFAULTNAME_FOR_UNNAMED_ENTRIES |
private int |
maxMemoryLimitInKb |
private boolean |
useDefaultNameForUnnamedEntries |
Modifier | Constructor and Description |
---|---|
private |
SevenZFileOptions(int maxMemoryLimitInKb,
boolean useDefaultNameForUnnamedEntries) |
Modifier and Type | Method and Description |
---|---|
static SevenZFileOptions.Builder |
builder()
Obtains a builder for SevenZFileOptions.
|
int |
getMaxMemoryLimitInKb()
Gets the maximum amount of memory to use for extraction.
|
boolean |
getUseDefaultNameForUnnamedEntries()
Gets whether entries without a name should get their names set
to the archive's default file name.
|
private static final int DEFAUL_MEMORY_LIMIT_IN_KB
private static final boolean DEFAULT_USE_DEFAULTNAME_FOR_UNNAMED_ENTRIES
private final int maxMemoryLimitInKb
private final boolean useDefaultNameForUnnamedEntries
public static final SevenZFileOptions DEFAULT
private SevenZFileOptions(int maxMemoryLimitInKb, boolean useDefaultNameForUnnamedEntries)
public static SevenZFileOptions.Builder builder()
public int getMaxMemoryLimitInKb()
public boolean getUseDefaultNameForUnnamedEntries()