Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
DownloadManager(ConnectionParam connectionParam) |
Modifier and Type | Method and Description |
---|---|
Downloader |
downloadFile(URL url,
File targetFile,
long size,
String hash) |
int |
getCurrentDownloadCount() |
List<Downloader> |
getProgress() |
int |
getProgressPercent(URL url) |
void |
run() |
void |
shutdown(boolean cancelDownloads) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public DownloadManager(ConnectionParam connectionParam)
public Downloader downloadFile(URL url, File targetFile, long size, String hash)
public int getCurrentDownloadCount()
public void shutdown(boolean cancelDownloads)
public List<Downloader> getProgress()