net.sf.sevenzipjbinding
Interface IArchiveOpenVolumeCallback


public interface IArchiveOpenVolumeCallback

Interface to provide information (properties and input streams) to open archive from volumes.

Version:
4.65-1
Author:
Boris Brodski

Method Summary
 java.lang.Object getProperty(PropID propID)
          Get property of the volume file.
 IInStream getStream(java.lang.String filename)
          Return IInStream for volume with filename filename.
 

Method Detail

getProperty

java.lang.Object getProperty(PropID propID)
                             throws SevenZipException
Get property of the volume file. An implementation must support at least following PropIDs:

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 are no guarantee, that there are no further call back methods will be called. The first thrown exception will be saved and thrown late on from the first called 7-Zip-JBinding main method, such as ISevenZipInArchive.extract() or SevenZip.openInArchive().

getStream

IInStream getStream(java.lang.String filename)
                    throws SevenZipException
Return IInStream for volume with filename filename.

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 are no guarantee, that there are no further call back methods will be called. The first thrown exception will be saved and thrown late on from the first called 7-Zip-JBinding main method, such as ISevenZipInArchive.extract() or SevenZip.openInArchive().