|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IArchiveExtractCallback
If you want to provide a password to extract files, you should also implement ICryptoGetTextPassword
within
your IArchiveExtractCallback-implementation.
Method Summary | |
---|---|
ISequentialOutStream |
getStream(int index,
ExtractAskMode extractAskMode)
Return sequential output stream for the file with index index . |
void |
prepareOperation(ExtractAskMode extractAskMode)
Prepare operation. |
void |
setOperationResult(ExtractOperationResult extractOperationResult)
Set result of extraction operation of the file with index index from last call of
getStream(int, ExtractAskMode) . |
Methods inherited from interface net.sf.sevenzipjbinding.IProgress |
---|
setCompleted, setTotal |
Method Detail |
---|
ISequentialOutStream getStream(int index, ExtractAskMode extractAskMode) throws SevenZipException
index
.
index
- index of the item to extractextractAskMode
- extract ask mode
ISequentialOutStream
sequential out stream or null
to skip the
extraction of the current item (with index index
) and proceed with the next one
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()
.void prepareOperation(ExtractAskMode extractAskMode) throws SevenZipException
getStream(int, ExtractAskMode)
.
extractAskMode
- extract ask 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 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()
.void setOperationResult(ExtractOperationResult extractOperationResult) throws SevenZipException
index
from last call of
getStream(int, ExtractAskMode)
.
extractOperationResult
- result of operation
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()
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |