TermProgressCallback
public class ProgressCallback
extends java.lang.Object
This class will not do anything by itself, but it can be subclassed, like TermProgressCallback class. to do more useful things.
Constructor | Description |
---|---|
ProgressCallback() |
Modifier and Type | Method | Description |
---|---|---|
void |
delete() |
|
int |
run(double dfComplete,
java.lang.String message) |
Callback method called from long processing from GDAL methods.
|
public void delete()
public int run(double dfComplete, java.lang.String message)
This method is called back with the progression percentage. Its return value is used by the caller to determine whether the processing should go on or be interrupted.
This method should be subclassed by classes subclassing ProgressCallback.
dfComplete
- progression percentage between 0 and 1message
- processing message, may be null