abstract class DownloadNotesTask.DownloadTask extends PleaseWaitRunnable
| Modifier and Type | Field and Description |
|---|---|
protected List<Note> |
notesData |
protected OsmServerReader |
reader |
progressMonitor| Constructor and Description |
|---|
DownloadTask(OsmServerReader reader,
ProgressMonitor progressMonitor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancel()
User pressed cancel button.
|
protected void |
finish()
Finish up the data work.
|
abstract void |
realRun()
Called in the worker thread to do the actual work.
|
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, runprotected OsmServerReader reader
DownloadTask(OsmServerReader reader, ProgressMonitor progressMonitor)
protected void finish()
PleaseWaitRunnablefinish in class PleaseWaitRunnableprotected void cancel()
PleaseWaitRunnablecancel in class PleaseWaitRunnablepublic abstract void realRun() throws IOException, SAXException, OsmTransferException
PleaseWaitRunnablerealRun in class PleaseWaitRunnableIOException - if an I/O error occursSAXException - if a SAX error occursOsmTransferException - if a communication error with the OSM server occurs