public class SimpleLogBasedProgressListenerImpl extends Object implements ProgressListener
| Modifier and Type | Method and Description |
|---|---|
static SimpleLogBasedProgressListenerImpl |
getInstance(long freq)
This method returns an instance of ProgressListener
|
void |
progressTo(long progress, String mesg)
This method reports the current progress.
|
long |
reportProgressFrequency()
Returns a positive integer as the frequency of progress reporting.
|
public static SimpleLogBasedProgressListenerImpl getInstance(long freq)
freq - frequency of progress reporting. This must be a positive integer.
public void progressTo(long progress,
String mesg)
progressTo in interface ProgressListenerprogress - a long value indicating the current progress. It must be a positive integer.mesg - an optional string value describing the current progress.public long reportProgressFrequency()
reportProgressFrequency in interface ProgressListenerCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.