public class DownloadOsmIdTask extends DownloadOsmTask
DownloadOsmTask.AbstractInternalTask, DownloadOsmTask.DownloadTask
Modifier and Type | Field and Description |
---|---|
private static String |
URL_ID_PATTERN |
currentBounds, downloadTask, newLayerName, PATTERN_EXTERNAL_OSM_FILE, PATTERN_OSM_API_URL, PATTERN_OVERPASS_API_URL, PATTERN_OVERPASS_API_XAPI_URL, warnAboutEmptyArea
downloadedData
Constructor and Description |
---|
DownloadOsmIdTask() |
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, extractOsmFilename, getConfirmationMessage, isSafeForRemotecontrolRequests, modifyUrlBeforeLoad
acceptsDocumentationSummary, acceptsUrl, acceptsUrl, getDownloadedData, getErrorObjects, isCanceled, isFailed, rememberDownloadedData, rememberErrorMessage, rememberException, setCanceled, setFailed, toString
private static final String URL_ID_PATTERN
public DownloadOsmIdTask()
public String[] getPatterns()
DownloadTask
getPatterns
in interface DownloadTask
getPatterns
in class DownloadOsmTask
public Future<?> loadUrl(boolean newLayer, String url, ProgressMonitor progressMonitor)
DownloadOsmTask
loadUrl
in interface DownloadTask
loadUrl
in class DownloadOsmTask
newLayer
- True if the data should be saved to a new layerurl
- The URL as StringprogressMonitor
- the progressMonitorDownloadTask.download(boolean, Bounds, ProgressMonitor)
public String getTitle()
DownloadTask
getTitle
in interface DownloadTask
getTitle
in class DownloadOsmTask