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, warnAboutEmptyAreadownloadedData| 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, modifyUrlBeforeLoadacceptsDocumentationSummary, acceptsUrl, acceptsUrl, getDownloadedData, getErrorObjects, isCanceled, isFailed, rememberDownloadedData, rememberErrorMessage, rememberException, setCanceled, setFailed, toStringprivate static final String URL_ID_PATTERN
public DownloadOsmIdTask()
public String[] getPatterns()
DownloadTaskgetPatterns in interface DownloadTaskgetPatterns in class DownloadOsmTaskpublic 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 getTitle()
DownloadTaskgetTitle in interface DownloadTaskgetTitle in class DownloadOsmTask