peakml.io
Interface WriterProgressListener
public interface WriterProgressListener
Interface acting as a progress listener for the writer classes. By implementing
this interface and passing a reference to one of the write-methods in this class, the
progress can be monitored. Each write-function calculates the current position in the
the list of peaks and passes the percentage.
Method Summary |
void |
update(double percentage)
This method is called by write-functions in the writer classes to indicate the progress
of the writing. |
update
void update(double percentage)
- This method is called by write-functions in the writer classes to indicate the progress
of the writing. A percentage is returned, which lies between 0 and 100.
- Parameters:
percentage
- The percentage of the PeakML already written.