|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IArchiveOpenCallback
Interface to recieve information about open archive progress
Method Summary | |
---|---|
void |
setCompleted(java.lang.Long files,
java.lang.Long bytes)
Set amount of competed work. |
void |
setTotal(java.lang.Long files,
java.lang.Long bytes)
Set total amount of work to be done. |
Method Detail |
---|
void setTotal(java.lang.Long files, java.lang.Long bytes) throws SevenZipException
files
- count of files to be processed (optional)bytes
- count of bytes to be processed (optional)
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 setCompleted(java.lang.Long files, java.lang.Long bytes) throws SevenZipException
files
- count of processed files (optional)bytes
- count of processed bytes (optional)
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 |