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:
Runnable,ProgressMonitor.CancelListener
- Enclosing class:
- DownloadNotesTask
-
Field Summary
FieldsFields inherited from class org.openstreetmap.josm.actions.downloadtasks.DownloadNotesTask.DownloadTask
notesData, readerFields inherited from class org.openstreetmap.josm.gui.PleaseWaitRunnable
progressMonitor -
Constructor Summary
ConstructorsConstructorDescriptionDownloadCompressedRawUrlTask(OsmServerReader reader, ProgressMonitor progressMonitor, Compression compression) -
Method Summary
Modifier and TypeMethodDescriptionvoidrealRun()Called in the worker thread to do the actual work.Methods inherited from class org.openstreetmap.josm.actions.downloadtasks.DownloadNotesTask.DownloadTask
cancel, finishMethods inherited from class org.openstreetmap.josm.gui.PleaseWaitRunnable
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, run
-
Field Details
-
compression
-
-
Constructor Details
-
DownloadCompressedRawUrlTask
DownloadCompressedRawUrlTask(OsmServerReader reader, ProgressMonitor progressMonitor, Compression compression)
-
-
Method Details
-
realRun
Description copied from class:PleaseWaitRunnableCalled 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:
realRunin classDownloadNotesTask.DownloadTask- Throws:
IOException- if an I/O error occursSAXException- if a SAX error occursOsmTransferException- if a communication error with the OSM server occurs
-