public class DownloadThread extends ExtendedOperationThread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected int |
blockSize |
static int |
DEFAULT_BLOCK_SIZE |
protected FileManagementEntity |
entF |
protected Hashtable |
keysValues |
protected EntityReferenceLocator |
locator |
protected ResourceBundle |
resources |
protected File |
selectFile |
static boolean |
TRY_MAX_SPEED |
protected String |
uriSound |
currentPosition, estimatedTimeLeft, progressDivisions, UNKNOWNcancelled, description, hasFinished, hasStarted, OPERATION_CANCELLED, res, status, tMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
DownloadThread(ResourceBundle res,
File selFile,
Hashtable kv,
FileManagementEntity entF,
EntityReferenceLocator locator) |
DownloadThread(ResourceBundle res,
File seltFile,
Hashtable kv,
FileManagementEntity entF,
EntityReferenceLocator locator,
int blockSize,
String uriSound) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
downloadFinished() |
void |
run() |
getCurrentPosition, getEstimagedTimeLeftText, getEstimatedTimeLeft, getProgressDivisionscancel, getDescription, getResult, getStatus, hasFinished, hasStarted, isCancelledactiveCount, 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, yieldpublic static int DEFAULT_BLOCK_SIZE
public static boolean TRY_MAX_SPEED
protected int blockSize
protected String uriSound
protected ResourceBundle resources
protected File selectFile
protected FileManagementEntity entF
protected Hashtable keysValues
protected EntityReferenceLocator locator
public DownloadThread(ResourceBundle res, File selFile, Hashtable kv, FileManagementEntity entF, EntityReferenceLocator locator)
public DownloadThread(ResourceBundle res, File seltFile, Hashtable kv, FileManagementEntity entF, EntityReferenceLocator locator, int blockSize, String uriSound)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.