Package net.sf.sevenzipjbinding
Interface IOutFeatureSetSolid
- All Known Subinterfaces:
IOutCreateArchive7z,IOutUpdateArchive7z
- All Known Implementing Classes:
OutArchive7zImpl
public interface IOutFeatureSetSolid
Feature interface for the setting 'solid'. Use
SevenZip.openOutArchive(ArchiveFormat) to get implementation
of this interface.- Since:
- 9.20-2.00
- Author:
- Boris Brodski
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetSolid(boolean solid) Set solid archive option.voidsetSolidExtension(boolean solidExtension) Put all files with the same extension following each other in the order of packing in a solid block.voidsetSolidFiles(int countOfFilesPerBlock) Put specified count of files in a single solid block.voidsetSolidSize(long countOfBytesPerBlock) Put specified count of bytes in a single solid block.
-
Method Details
-
setSolid
Set solid archive option. If deactivated, some other solid options like 'solid files' will take no effect.- Parameters:
solid-true- use default configuration,false- deactivate solid block mode- Throws:
SevenZipException- in error case. If this method ends with an exception, the current operation will be reported to 7-Zip as failed. There is no guarantee that no further callback methods will be called. The first and last thrown exceptions will be saved and thrown later on from the originally called method such asIInArchive.extract()orSevenZip.openInArchive(). Up to four exceptions depending on the situation can be saved for further analysis. SeeSevenZipExceptionandSevenZipException.printStackTraceExtended()for details.
-
setSolidFiles
Put specified count of files in a single solid block. SeesetSolid(boolean).- Parameters:
countOfFilesPerBlock- count of files per solid block.-1- use default configuration- Throws:
SevenZipException- in error case. If this method ends with an exception, the current operation will be reported to 7-Zip as failed. There is no guarantee that no further callback methods will be called. The first and last thrown exceptions will be saved and thrown later on from the originally called method such asIInArchive.extract()orSevenZip.openInArchive(). Up to four exceptions depending on the situation can be saved for further analysis. SeeSevenZipExceptionandSevenZipException.printStackTraceExtended()for details.- See Also:
-
setSolidSize
Put specified count of bytes in a single solid block. SeesetSolid(boolean).- Parameters:
countOfBytesPerBlock- count of bytes per solid block.-1- use default configuration.- Throws:
SevenZipException- in error case. If this method ends with an exception, the current operation will be reported to 7-Zip as failed. There is no guarantee that no further callback methods will be called. The first and last thrown exceptions will be saved and thrown later on from the originally called method such asIInArchive.extract()orSevenZip.openInArchive(). Up to four exceptions depending on the situation can be saved for further analysis. SeeSevenZipExceptionandSevenZipException.printStackTraceExtended()for details.- See Also:
-
setSolidExtension
Put all files with the same extension following each other in the order of packing in a solid block. SeesetSolid(boolean).- Parameters:
solidExtension-true- activate this feature,false- use default configuration- Throws:
SevenZipException- in error case. If this method ends with an exception, the current operation will be reported to 7-Zip as failed. There is no guarantee that no further callback methods will be called. The first and last thrown exceptions will be saved and thrown later on from the originally called method such asIInArchive.extract()orSevenZip.openInArchive(). Up to four exceptions depending on the situation can be saved for further analysis. SeeSevenZipExceptionandSevenZipException.printStackTraceExtended()for details.- See Also:
-