public class DownloadOsmUrlTask extends DownloadOsmTask
DownloadOsmTask.DownloadTaskcurrentBounds, downloadedData, downloadTask, newLayerName, targetLayer| Constructor and Description |
|---|
DownloadOsmUrlTask() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getPatterns()
Returns regular expressions that match the URLs
|
String |
getTitle()
Returns human-readable description of the task
|
Future<?> |
loadUrl(boolean newLayer,
String url,
ProgressMonitor progressMonitor)
Loads a given URL from the OSM Server
|
cancel, download, download, download, encodePartialUrl, extractOsmFilename, getConfirmationMessage, getDownloadedData, rememberDownloadedDataacceptsDocumentationSummary, acceptsUrl, getErrorObjects, isCanceled, isFailed, rememberErrorMessage, rememberException, setCanceled, setFailedpublic DownloadOsmUrlTask()
public Future<?> loadUrl(boolean newLayer, String url, ProgressMonitor progressMonitor)
DownloadOsmTaskloadUrl in interface DownloadTaskloadUrl in class DownloadOsmTasknewLayer - True if the data should be saved to a new layerurl - The URL as StringprogressMonitor - the progressMonitorDownloadTask.download(boolean, Bounds, ProgressMonitor)public String[] getPatterns()
DownloadTaskgetPatterns in interface DownloadTaskgetPatterns in class DownloadOsmTaskpublic String getTitle()
DownloadTaskgetTitle in interface DownloadTaskgetTitle in class DownloadOsmTask