public class DownloadManagerConfig
extends java.lang.Object
| 构造器和说明 |
|---|
DownloadManagerConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
DownloadManagerConfig |
setMaxTasksNumber(int threadNumber)
set concurrent tasks' number, range at 1~10. default:1
|
DownloadManagerConfig |
setSavePath(java.lang.String savePath)
set File SavePath, default: null
|
DownloadManagerConfig |
setSingleTaskThreadNumber(int threadNumber)
set Download Threads' Number for a single task,range at 1~5 ,default: 1
|
public DownloadManagerConfig setMaxTasksNumber(int threadNumber)
threadNumber - threadNumberpublic DownloadManagerConfig setSavePath(java.lang.String savePath)
savePath - savePathpublic DownloadManagerConfig setSingleTaskThreadNumber(int threadNumber)
threadNumber - threadNumber