|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOutFeatureSetLevel
Feature interface for the setting 'compression level'. Use SevenZip.openOutArchive(ArchiveFormat)
or one of
the SevenZip.openOutArchiveXxx()
methods to get implementation of this interface.
IOutCreateArchive
Method Summary | |
---|---|
void |
setLevel(int compressionLevel)
Set compression level: 0 - Copy mode (no compression) 1 - Fastest 3 - Fast 5 - Normal 7 - Maximum 9 - Ultra Note, that the meaning of compression level can differ through out different archive formats. |
Method Detail |
---|
void setLevel(int compressionLevel) throws SevenZipException
compressionLevel
- compression level to set. -1
- use default
SevenZipException
- in error case. If this method ends with an exception, the current operation will be reported to 7-Zip
as failed. There are no guarantee, that there are no further call back methods will get called. The
first and last thrown exceptions will be saved and thrown later on from the originally called method
such as ISevenZipInArchive.extract()
or SevenZip.openInArchive()
. Up to
four exceptions depending on the situation can be saved for further analysis. See
SevenZipException
and SevenZipException.printStackTraceExtended()
for details.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |