Progress Event
Reports the progress of data extraction.
Syntax
public class DefaultArchivereaderEventListener implements ArchivereaderEventListener { ... public void progress(ArchivereaderProgressEvent e) {} ... } public class ArchivereaderProgressEvent { public long processed; public long total; public long overallProcessed; public long overallTotal; public boolean cancel; }
Remarks
Subscribe to this event to be notified about decompression progress.
Processed and Total report the progress of extraction of the current entry; OverallProcessed and OverallTotal report the progress of the whole operation. Set Cancel to true to stop the operation.