public class DownloadNotesUrlIdTask extends DownloadNotesTask
DownloadNotesTask.DownloadBoundingBoxTask, DownloadNotesTask.DownloadBzip2RawUrlTask, DownloadNotesTask.DownloadRawUrlTask, DownloadNotesTask.DownloadTask
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
URL_ID_PATTERN |
DAYS_CLOSED, DOWNLOAD_LIMIT
downloadedData
Constructor and Description |
---|
DownloadNotesUrlIdTask() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getPatterns()
Returns regular expressions that match the URLs
|
java.lang.String |
getTitle()
Returns human-readable description of the task
|
java.util.concurrent.Future<?> |
loadUrl(boolean newLayer,
java.lang.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
private static final java.lang.String URL_ID_PATTERN
public DownloadNotesUrlIdTask()
public java.util.concurrent.Future<?> loadUrl(boolean newLayer, java.lang.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 java.lang.String[] getPatterns()
DownloadTask
getPatterns
in interface DownloadTask
getPatterns
in class DownloadNotesTask
public java.lang.String getTitle()
DownloadTask
getTitle
in interface DownloadTask
getTitle
in class DownloadNotesTask