public interface DownloaderManager
Modifier and Type | Method and Description |
---|---|
DownloaderAuthentication |
createAuthentication(String host,
int port,
String user,
String password) |
void |
createDownloader(File target,
URL url,
String postdata) |
DownloaderProcess |
download(File target,
URL url,
String postdata) |
List<DownloaderAuthentication> |
getAuthentications() |
CredentialsProvider |
getCredentialsProvider(String host) |
List<DownloaderProcess> |
getDownloads() |
void |
setAuthentications(List<DownloaderAuthentication> authentications) |
DownloaderProcess download(File target, URL url, String postdata) throws UnsupportedOperationException
UnsupportedOperationException
DownloaderAuthentication createAuthentication(String host, int port, String user, String password)
void createDownloader(File target, URL url, String postdata) throws UnsupportedOperationException
UnsupportedOperationException
List<DownloaderAuthentication> getAuthentications()
void setAuthentications(List<DownloaderAuthentication> authentications)
List<DownloaderProcess> getDownloads() throws UnsupportedOperationException
UnsupportedOperationException
CredentialsProvider getCredentialsProvider(String host)