Class DownloadOsmUrlTask
java.lang.Object
org.openstreetmap.josm.actions.downloadtasks.AbstractDownloadTask<DataSet>
org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask
org.openstreetmap.josm.actions.downloadtasks.DownloadOsmUrlTask
- All Implemented Interfaces:
DownloadTask
Task allowing to download an OSM url containing coordinates
- Since:
- 4996
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask
DownloadOsmTask.AbstractInternalTask, DownloadOsmTask.DownloadTask -
Field Summary
Fields inherited from class org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask
currentBounds, downloadTask, newLayerName, OVERPASS_INTERPRETER_DATA, warnAboutEmptyAreaFields inherited from class org.openstreetmap.josm.actions.downloadtasks.AbstractDownloadTask
downloadedData, zoomAfterDownload -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Returns regular expressions that match the URLsgetTitle()Returns human-readable description of the taskFuture<?>loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor) Loads a given URL from the OSM ServerMethods inherited from class org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask
cancel, download, download, download, extractOsmFilename, getConfirmationMessage, getDownloadProjectionBounds, getOsmServerReader, isSafeForRemotecontrolRequests, modifyUrlBeforeLoad, rememberDownloadedBounds, searchPotentiallyDeletedPrimitivesMethods inherited from class org.openstreetmap.josm.actions.downloadtasks.AbstractDownloadTask
acceptsUrl, acceptsUrl, getDownloadedData, getErrorObjects, isCanceled, isFailed, patterns, rememberDownloadedData, rememberErrorMessage, rememberException, setCanceled, setFailed, setZoomAfterDownload, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openstreetmap.josm.actions.downloadtasks.DownloadTask
acceptsDocumentationSummary, getErrorMessages, providesOldData
-
Constructor Details
-
DownloadOsmUrlTask
public DownloadOsmUrlTask()
-
-
Method Details
-
loadUrl
Description copied from class:DownloadOsmTaskLoads a given URL from the OSM Server- Specified by:
loadUrlin interfaceDownloadTask- Overrides:
loadUrlin classDownloadOsmTask- Parameters:
settings- download settingsurl- The URL as StringprogressMonitor- the progressMonitor- Returns:
- the future representing the asynchronous task
- See Also:
-
getPatterns
Description copied from interface:DownloadTaskReturns regular expressions that match the URLs- Specified by:
getPatternsin interfaceDownloadTask- Overrides:
getPatternsin classDownloadOsmTask- Returns:
- The array of accepted URL patterns
-
getTitle
Description copied from interface:DownloadTaskReturns human-readable description of the task- Specified by:
getTitlein interfaceDownloadTask- Overrides:
getTitlein classDownloadOsmTask- Returns:
- The task description
-