Class DownloadNotesTask.DownloadCompressedRawUrlTask
- java.lang.Object
-
- org.openstreetmap.josm.gui.PleaseWaitRunnable
-
- org.openstreetmap.josm.actions.downloadtasks.DownloadNotesTask.DownloadTask
-
- org.openstreetmap.josm.actions.downloadtasks.DownloadNotesTask.DownloadCompressedRawUrlTask
-
- All Implemented Interfaces:
java.lang.Runnable
,ProgressMonitor.CancelListener
- Enclosing class:
- DownloadNotesTask
class DownloadNotesTask.DownloadCompressedRawUrlTask extends DownloadNotesTask.DownloadTask
-
-
Field Summary
Fields Modifier and Type Field Description private Compression
compression
-
Fields inherited from class org.openstreetmap.josm.actions.downloadtasks.DownloadNotesTask.DownloadTask
notesData, reader
-
Fields inherited from class org.openstreetmap.josm.gui.PleaseWaitRunnable
progressMonitor
-
-
Constructor Summary
Constructors Constructor Description DownloadCompressedRawUrlTask(OsmServerReader reader, ProgressMonitor progressMonitor, Compression compression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
realRun()
Called in the worker thread to do the actual work.-
Methods inherited from class org.openstreetmap.josm.actions.downloadtasks.DownloadNotesTask.DownloadTask
cancel, finish
-
Methods inherited from class org.openstreetmap.josm.gui.PleaseWaitRunnable
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, run
-
-
-
-
Field Detail
-
compression
private final Compression compression
-
-
Constructor Detail
-
DownloadCompressedRawUrlTask
DownloadCompressedRawUrlTask(OsmServerReader reader, ProgressMonitor progressMonitor, Compression compression)
-
-
Method Detail
-
realRun
public void realRun() throws java.io.IOException, org.xml.sax.SAXException, OsmTransferException
Description copied from class:PleaseWaitRunnable
Called in the worker thread to do the actual work. When any of the exception is thrown, a message box will be displayed and closeDialog is called. finish() is called in any case.- Specified by:
realRun
in classDownloadNotesTask.DownloadTask
- Throws:
java.io.IOException
- if an I/O error occursorg.xml.sax.SAXException
- if a SAX error occursOsmTransferException
- if a communication error with the OSM server occurs
-
-