Progress Event
Reports the progress of the decryption operation.
Syntax
public class DefaultPgpreaderEventListener implements PgpreaderEventListener { ... public void progress(PgpreaderProgressEvent e) {} ... } public class PgpreaderProgressEvent { public long current; public long total; public boolean cancel; }
Remarks
The component fires this event repeatedly to report the progress of the file extraction operation.
Current indicates the amount of processed data in bytes, and Total is the total number of bytes to be processed. Use Cancel to terminate the extraction process.