|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOutFeatureSetSolid
Feature interface for the setting 'solid'. Use SevenZip.openOutArchive(ArchiveFormat)
to get implementation
of this interface.
Method Summary | |
---|---|
void |
setSolid(boolean solid)
Set solid archive option. |
void |
setSolidExtension(boolean solidExtension)
Put all files with the same extension following each other in the order of packing in a solid block. |
void |
setSolidFiles(int countOfFilesPerBlock)
Put specified count of files in a single solid block. |
void |
setSolidSize(long countOfBytesPerBlock)
Put specified count of bytes in a single solid block. |
Method Detail |
---|
void setSolid(boolean solid) throws SevenZipException
solid
- true
- use default configuration, false
- deactivate solid block mode
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.void setSolidFiles(int countOfFilesPerBlock) throws SevenZipException
setSolid(boolean)
.
countOfFilesPerBlock
- count of files per solid block. -1
- use default configuration
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.setSolid(boolean)
void setSolidSize(long countOfBytesPerBlock) throws SevenZipException
setSolid(boolean)
.
countOfBytesPerBlock
- count of bytes per solid block. -1
- use default configuration.
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.setSolid(boolean)
void setSolidExtension(boolean solidExtension) throws SevenZipException
setSolid(boolean)
.
solidExtension
- true
- activate this feature, false
- use default configuration
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.setSolid(boolean)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |