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, run
protected OsmServerReader reader
DownloadTask(OsmServerReader reader, ProgressMonitor progressMonitor)
protected void finish()
PleaseWaitRunnable
finish
in class PleaseWaitRunnable
protected void cancel()
PleaseWaitRunnable
cancel
in class PleaseWaitRunnable
public abstract void realRun() throws IOException, SAXException, OsmTransferException
PleaseWaitRunnable
realRun
in class PleaseWaitRunnable
IOException
- if an I/O error occursSAXException
- if a SAX error occursOsmTransferException
- if a communication error with the OSM server occurs