wt.clients.content
Class UploadFilesDialog.UploadThread

java.lang.Object
  extended byjava.lang.Thread
      extended bywt.util.WTThread
          extended bywt.clients.content.UploadFilesDialog.UploadThread
All Implemented Interfaces:
Runnable
Enclosing class:
UploadFilesDialog

class UploadFilesDialog.UploadThread
extends WTThread

Thread class that handles the actual uploading of the files. The files to be uploaded are given to this thread as a Vector in the thread constructor.


Field Summary
private  boolean update
           
private  Vector uploadFiles
           
 
Fields inherited from class wt.util.WTThread
CREATED, DONE, PROGRESS_COUNT, PROGRESS_PERCENT, RUNNING, STATE, STATUS
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
UploadFilesDialog.UploadThread(ThreadGroup context_group, Vector upload_files, boolean update)
           
 
Method Summary
 void run()
          Run method.
 
Methods inherited from class wt.util.WTThread
addPropertyChangeListener, cancel, currentProgressCount, currentProgressPercent, currentStatus, firePropertyChange, firePropertyChange, getProgressCount, getProgressPercent, getState, getStatus, interrupt, isInterrupted, ready, removePropertyChangeListener, setInterruptHandler, setProgressCount, setProgressPercent, setStatus, start
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupted, isAlive, isDaemon, 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

uploadFiles

private Vector uploadFiles

update

private boolean update
Constructor Detail

UploadFilesDialog.UploadThread

public UploadFilesDialog.UploadThread(ThreadGroup context_group,
                                      Vector upload_files,
                                      boolean update)
Method Detail

run

public void run()
Description copied from class: WTThread
Run method. This method overrides the default run method to fire property change events for the state property.

Supported API: true

Specified by:
run in interface Runnable
Overrides:
run in class WTThread