Progress Event
Reports the progress of the decryption operation.
Syntax
public class DefaultPgpwriterEventListener implements PgpwriterEventListener { ... public void progress(PgpwriterProgressEvent e) {} ... } public class PgpwriterProgressEvent { public long current; public long total; public boolean cancel; }
Remarks
The class fires this event repeatedly to report the progress of the file protection 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 protection process.