oracle.forms.demos.uploadclient
Class FileUploaderLoadThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--oracle.forms.demos.uploadclient.FileUploaderLoadThread
All Implemented Interfaces:
java.lang.Runnable

public class FileUploaderLoadThread
extends java.lang.Thread

This component provides a way of running the Progress indicator for the FileUploader to in a separate thread so that it actually gets some timeslice to update.

Version:
1.0
Author:
Duncan Mills

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
FileUploaderLoadThread(FileUploader uploader, java.lang.Object value, boolean namedFile)
          Constructor for the thread
 
Method Summary
 void run()
          run method for thread - calls back into the FileUpload Object to load the file.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, 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
 

Constructor Detail

FileUploaderLoadThread

public FileUploaderLoadThread(FileUploader uploader,
                              java.lang.Object value,
                              boolean namedFile)
Constructor for the thread
Parameters:
upload - the current upload session that we call back into
value - the name of the file to upload or the directory to intitially show in the dialog
namedFile - boolean value to indicate if value is a named file which should be uploaded directly
Method Detail

run

public void run()
run method for thread - calls back into the FileUpload Object to load the file.
Overrides:
run in class java.lang.Thread