|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
gov.nih.nci.caarray.services.util.httpfileuploadapplet.HttpFileUploadThread
public class HttpFileUploadThread
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
HttpFileUploadThread(java.util.Vector files,
HttpUploadParameters up)
CONSTRUCTOR |
Method Summary | |
---|---|
void |
cleanUp()
Delete temp zip files |
long |
getBytesSent()
|
int |
getCompletionPercent()
|
java.lang.String |
getCurrentFileName()
|
java.lang.String |
getDurationString()
|
java.lang.Object[] |
getFailFiles()
|
java.lang.String |
getFailureMessage()
|
java.lang.String |
getNotifyReply()
|
java.lang.Object[] |
getOkFiles()
|
java.lang.String |
getTimeBytes()
|
boolean |
isFailed()
|
boolean |
isUploadComplete()
|
boolean |
isUploadPreparationDone()
|
boolean |
notifyServer(java.lang.String mode)
|
void |
run()
The run method to control the upload process. |
void |
startUpload()
|
boolean |
stopUpload()
To stop the run method of this thread. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HttpFileUploadThread(java.util.Vector files, HttpUploadParameters up)
files
- The container containing all the files to be uploaded.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public boolean stopUpload()
public void cleanUp()
public boolean isUploadPreparationDone()
public java.lang.String getCurrentFileName()
public int getCompletionPercent()
public boolean isFailed()
public java.lang.String getFailureMessage()
public boolean isUploadComplete()
public void startUpload()
public boolean notifyServer(java.lang.String mode)
public java.lang.String getNotifyReply()
public java.lang.Object[] getOkFiles()
public java.lang.Object[] getFailFiles()
public java.lang.String getDurationString()
public long getBytesSent()
public java.lang.String getTimeBytes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |