public static class SevenZFileOptions.Builder
extends java.lang.Object
SevenZFileOptions
.Modifier and Type | Field and Description |
---|---|
private int |
maxMemoryLimitInKb |
private boolean |
useDefaultNameForUnnamedEntries |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SevenZFileOptions |
build()
Create the
SevenZFileOptions . |
SevenZFileOptions.Builder |
withMaxMemoryLimitInKb(int maxMemoryLimitInKb)
Sets the maximum amount of memory to use for
extraction.
|
SevenZFileOptions.Builder |
withUseDefaultNameForUnnamedEntries(boolean useDefaultNameForUnnamedEntries)
Sets whether entries without a name should get their names
set to the archive's default file name.
|
private int maxMemoryLimitInKb
private boolean useDefaultNameForUnnamedEntries
public SevenZFileOptions.Builder withMaxMemoryLimitInKb(int maxMemoryLimitInKb)
maxMemoryLimitInKb
- limit of the maximum amount of memory to usepublic SevenZFileOptions.Builder withUseDefaultNameForUnnamedEntries(boolean useDefaultNameForUnnamedEntries)
useDefaultNameForUnnamedEntries
- if true the name of
unnamed entries will be set to the archive's default namepublic SevenZFileOptions build()
SevenZFileOptions
.SevenZFileOptions
.