Package net.sf.sevenzipjbinding
Interface IArchiveOpenVolumeCallback
public interface IArchiveOpenVolumeCallback
Interface to provide information (properties and input streams) for open operation of a multi-volume archive.
- Since:
- 4.65-1
- Author:
- Boris Brodski
-
Method Summary
-
Method Details
-
getProperty
Get a property of the volume file. An implementation must support at least the following PropIDs:PropID.NAME(Type: String)PropID.IS_FOLDER(Type: Boolean)PropID.SIZE(Type: Long)PropID.ATTRIBUTES(Type: int)PropID.LAST_ACCESS_TIME(Type: Date)PropID.CREATION_TIME(Type: Date)PropID.LAST_MODIFICATION_TIME(Type: Date)
- Parameters:
propID- property- Returns:
- property value
- 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.
-
getStream
ReturnIInStreamfor volume with filenamefilename.- Parameters:
filename- name of the next required volume- Returns:
- IInStream for required volume
- 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.
-