Package org.luwrain.io.download
Interface DownloadManager
public interface DownloadManager
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
closeDownload
(String downloadId) getDestFilePath
(String downloadId) boolean
isDownloadFinished
(String downloadId) startDownload
(String url, String destFilePath, int attemptCount, Set<DownloadManager.Flags> flags) startLocalDownload
(String url, String destFilePath, int attemptCount, Set<DownloadManager.Flags> flags)
-
Method Details
-
startDownload
String startDownload(String url, String destFilePath, int attemptCount, Set<DownloadManager.Flags> flags) -
closeDownload
-
isDownloadFinished
-
getUrl
-
getDestFilePath
-
startLocalDownload
LocalDownload startLocalDownload(String url, String destFilePath, int attemptCount, Set<DownloadManager.Flags> flags)
-