|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProgress
This interface provides progress information of a process.
Method Summary | |
---|---|
void |
setCompleted(long completeValue)
Set current amount of completed work |
void |
setTotal(long total)
Set total amount of work |
Method Detail |
---|
void setTotal(long total) throws SevenZipException
total
- amount of work
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(long completeValue) throws SevenZipException
completeValue
- amount of completed work
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 |