Deprecated
Use SevenZFile..
| Modifier and Type | Class and Description |
|---|---|
| public static class | SevenZFileOptions.Builder
Mutable builder for the immutable |
| Modifier and Type | Field and Description |
|---|---|
| public static final SevenZFileOptions | DEFAULT
The default options. |
| private final int | |
| private final boolean | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| private | SevenZFileOptions(final int maxMemoryLimitKb, final boolean useDefaultNameForUnnamedEntries, final boolean tryToRecoverBrokenArchives)
|
| Modifier and Type | Method and Description |
|---|---|
| public static SevenZFileOptions. | |
| public int | Returns: the maximum amount of memory to use for extractionGets the maximum amount of memory to use for parsing the archive and during extraction. |
| public boolean | Returns: whether SevenZFile shall try to recover from a certain type of broken archive.Whether |
| public boolean | Returns: whether entries without a name should get their names set to the archive's default file nameGets whether entries without a name should get their names set to the archive's default file name. |
| DEFAULT | back to summary |
|---|---|
| public static final SevenZFileOptions DEFAULT
Deprecated as a consequence of The default options.
| |
| maxMemoryLimitKb | back to summary |
|---|---|
| private final int maxMemoryLimitKb | |
| tryToRecoverBrokenArchives | back to summary |
|---|---|
| private final boolean tryToRecoverBrokenArchives | |
| useDefaultNameForUnnamedEntries | back to summary |
|---|---|
| private final boolean useDefaultNameForUnnamedEntries | |
| SevenZFileOptions | back to summary |
|---|---|
| private SevenZFileOptions(final int maxMemoryLimitKb, final boolean useDefaultNameForUnnamedEntries, final boolean tryToRecoverBrokenArchives) | |
| builder | back to summary |
|---|---|
| public static SevenZFileOptions. Obtains a builder for SevenZFileOptions.
| |
| getMaxMemoryLimitInKb | back to summary |
|---|---|
| public int getMaxMemoryLimitInKb() Gets the maximum amount of memory to use for parsing the archive and during extraction. Not all codecs will honor this setting. Currently only LZMA and LZMA2 are supported.
| |
| getTryToRecoverBrokenArchives | back to summary |
|---|---|
| public boolean getTryToRecoverBrokenArchives() Whether
| |
| getUseDefaultNameForUnnamedEntries | back to summary |
|---|---|
| public boolean getUseDefaultNameForUnnamedEntries() Gets whether entries without a name should get their names set to the archive's default file name.
| |
SevenZFileOptions.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public SevenZFileOptions | Returns: configuredSevenZFileOptions.
Deprecated
as a consequence of
Builds the SevenZFileOptions being deprecated.
SevenZFileOptions.
|
| public SevenZFileOptions. | Returns: the reconfigured builderlimit of the maximum amount of memory to use maxMemoryLimitInKb)Sets the maximum amount of memory to use for parsing the archive and during extraction. |
| public SevenZFileOptions. | Returns: the reconfigured builderif true SevenZFile will try to recover archives that are broken in the specific way tryToRecoverBrokenArchives)Sets whether |
| public SevenZFileOptions. | Returns: the reconfigured builderif true the name of unnamed entries will be set to the archive's default name useDefaultNameForUnnamedEntries)Sets whether entries without a name should get their names set to the archive's default file name. |
| maxMemoryLimitKb | back to summary |
|---|---|
| private int maxMemoryLimitKb | |
| tryToRecoverBrokenArchives | back to summary |
|---|---|
| private boolean tryToRecoverBrokenArchives | |
| useDefaultNameForUnnamedEntries | back to summary |
|---|---|
| private boolean useDefaultNameForUnnamedEntries | |
| Builder | back to summary |
|---|---|
| public Builder() | |
| build | back to summary |
|---|---|
| public SevenZFileOptions build()
Deprecated as a consequence of Builds the
| |
| withMaxMemoryLimitInKb | back to summary |
|---|---|
| public SevenZFileOptions. Sets the maximum amount of memory to use for parsing the archive and during extraction. Not all codecs will honor this setting. Currently only LZMA and LZMA2 are supported.
| |
| withTryToRecoverBrokenArchives | back to summary |
|---|---|
| public SevenZFileOptions. Sets whether
This special kind of broken archive is encountered when mutli volume archives are closed prematurely. If you enable this option SevenZFile will trust
data that looks as if it could contain metadata of an archive and allocate big amounts of memory. It is strongly recommended to not enable this
option without setting
| |
| withUseDefaultNameForUnnamedEntries | back to summary |
|---|---|
| public SevenZFileOptions. Sets whether entries without a name should get their names set to the archive's default file name.
| |