protected static class DapNetcdfFile.NullCancelTask extends Object implements CancelTask
| Modifier | Constructor and Description |
|---|---|
protected |
NullCancelTask() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCancel()
Called routine should check often during the task and cancel the task if it returns true.
|
void |
setError(String msg)
Called routine got an error, so it sets a message for calling program to show to user.
|
void |
setProgress(String msg,
int progress)
Called routine may optionally show a progress message for calling program to show to user.
|
public boolean isCancel()
CancelTaskisCancel in interface CancelTaskpublic void setError(String msg)
CancelTasksetError in interface CancelTaskmsg - message to show userpublic void setProgress(String msg, int progress)
CancelTasksetProgress in interface CancelTaskmsg - message to show userprogress - count of progressCopyright © 1999–2021 UCAR/Unidata. All rights reserved.