Ontimize 5.2072EN

com.ontimize.gui.actions
Class DownloadThread

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.ontimize.gui.OperationThread
          extended bycom.ontimize.gui.ExtendedOperationThread
              extended bycom.ontimize.gui.actions.DownloadThread
All Implemented Interfaces:
java.lang.Runnable

public class DownloadThread
extends ExtendedOperationThread


Field Summary
protected  int blockSize
           
static int DEFAULT_BLOCK_SIZE
           
protected  FileManagementEntity entF
           
protected  java.util.Hashtable keysValues
           
protected  EntityReferenceLocator locator
           
protected  java.util.ResourceBundle resources
           
protected  java.io.File selectFile
           
static boolean TRY_MAX_SPEED
           
protected  java.lang.String uriSound
           
 
Fields inherited from class com.ontimize.gui.ExtendedOperationThread
currentPosition, estimatedTimeLeft, progressDivisions, UNKNOWN
 
Fields inherited from class com.ontimize.gui.OperationThread
cancelled, description, hasFinished, hasStarted, OPERATION_CANCELLED, res, status, t
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
DownloadThread(java.util.ResourceBundle res, java.io.File selFile, java.util.Hashtable kv, FileManagementEntity entF, EntityReferenceLocator locator)
           
DownloadThread(java.util.ResourceBundle res, java.io.File seltFile, java.util.Hashtable kv, FileManagementEntity entF, EntityReferenceLocator locator, int blockSize, java.lang.String uriSound)
           
 
Method Summary
protected  void downloadFinished()
           
 void run()
           
 
Methods inherited from class com.ontimize.gui.ExtendedOperationThread
getCurrentPosition, getEstimagedTimeLeftText, getEstimatedTimeLeft, getProgressDivisions
 
Methods inherited from class com.ontimize.gui.OperationThread
cancel, getDescription, getResult, getStatus, hasFinished, hasStarted, isCancelled
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_BLOCK_SIZE

public static int DEFAULT_BLOCK_SIZE

TRY_MAX_SPEED

public static boolean TRY_MAX_SPEED

blockSize

protected int blockSize

uriSound

protected java.lang.String uriSound

resources

protected java.util.ResourceBundle resources

selectFile

protected java.io.File selectFile

entF

protected FileManagementEntity entF

keysValues

protected java.util.Hashtable keysValues

locator

protected EntityReferenceLocator locator
Constructor Detail

DownloadThread

public DownloadThread(java.util.ResourceBundle res,
                      java.io.File selFile,
                      java.util.Hashtable kv,
                      FileManagementEntity entF,
                      EntityReferenceLocator locator)

DownloadThread

public DownloadThread(java.util.ResourceBundle res,
                      java.io.File seltFile,
                      java.util.Hashtable kv,
                      FileManagementEntity entF,
                      EntityReferenceLocator locator,
                      int blockSize,
                      java.lang.String uriSound)
Method Detail

downloadFinished

protected void downloadFinished()

run

public void run()

Ontimize