public static class SevenZFileOptions.Builder extends Object
SevenZFileOptions
.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.
|
public Builder()
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
.Copyright © 2020 The Apache Software Foundation. All rights reserved.