- java.lang.Object
-
- util.io.DownloadManager
-
public class DownloadManager extends java.lang.Object
- Author:
- Til Schneider, www.murfman.de
-
-
Constructor Summary
Constructors Constructor Description DownloadManager()
DownloadManager(int concurrentDownloads)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDownloadJob(java.lang.String serverUrl, java.lang.String fileName, DownloadHandler handler)
int
getDownloadJobCount()
void
removeAllDownloadJobs()
void
runDownload()
-
-
-
Method Detail
-
addDownloadJob
public void addDownloadJob(java.lang.String serverUrl, java.lang.String fileName, DownloadHandler handler)
-
removeAllDownloadJobs
public void removeAllDownloadJobs()
-
getDownloadJobCount
public int getDownloadJobCount()
-
runDownload
public void runDownload()
-
-