public abstract class AbstractDownloadPlugin extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_TIMEOUT |
protected List<String> |
regularExpression
The regular expression.
|
| Constructor and Description |
|---|
AbstractDownloadPlugin() |
| Modifier and Type | Method and Description |
|---|---|
DownloadItem |
checkOpenAccess(DownloadItem input)
Check open access.
|
protected boolean |
checkUrlsNotNull(DownloadItem input,
List<String> urls) |
abstract String |
extractURL(String baseURL) |
DownloadItem |
filterByRegexp(DownloadItem input) |
List<String> |
getRegularExpression()
Gets the regular expression.
|
void |
setRegularExpression(List<String> regularExpression)
Sets the regular expression.
|
public static final int DEFAULT_TIMEOUT
public DownloadItem checkOpenAccess(DownloadItem input)
input - the inputpublic DownloadItem filterByRegexp(DownloadItem input)
protected boolean checkUrlsNotNull(DownloadItem input, List<String> urls)
public abstract String extractURL(String baseURL) throws DownloadPluginException
DownloadPluginExceptionpublic List<String> getRegularExpression()
Copyright © 2026. All rights reserved.