public class DownloadNotesUrlBoundsTask extends DownloadNotesTask
DownloadNotesTask.DownloadBoundingBoxTask, DownloadNotesTask.DownloadBzip2RawUrlTask, DownloadNotesTask.DownloadRawUrlTask, DownloadNotesTask.DownloadTask
DAYS_CLOSED, DOWNLOAD_LIMIT
downloadedData
Constructor and Description |
---|
DownloadNotesUrlBoundsTask() |
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)
Asynchronously launches the download task for a given bounding URL.
|
cancel, download, download, getConfirmationMessage, isSafeForRemotecontrolRequests
acceptsDocumentationSummary, acceptsUrl, acceptsUrl, getDownloadedData, getErrorObjects, isCanceled, isFailed, rememberDownloadedData, rememberErrorMessage, rememberException, setCanceled, setFailed, toString
public DownloadNotesUrlBoundsTask()
public Future<?> loadUrl(boolean newLayer, String url, ProgressMonitor progressMonitor)
DownloadTask
NullProgressMonitor.INSTANCE
if progress information is to
be discarded.loadUrl
in interface DownloadTask
loadUrl
in class DownloadNotesTask
newLayer
- newLayer true, if the data is to be downloaded into a new layer. If false, the task
selects one of the existing layers as download layer, preferably the active layer.url
- the url to download fromprogressMonitor
- the progressMonitorDownloadTask.download(boolean, Bounds, ProgressMonitor)
public String[] getPatterns()
DownloadTask
getPatterns
in interface DownloadTask
getPatterns
in class DownloadNotesTask
public String getTitle()
DownloadTask
getTitle
in interface DownloadTask
getTitle
in class DownloadNotesTask