|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectqdown.quickDownloader.systemThreads.DownloadThread
The Download thread spawned for each download
| Constructor Summary | |
DownloadThread(java.lang.String urlName,
java.lang.String location,
NewDownloadControl downloadControl,
NewDownloadGUI newDownload,
boolean zipUp)
The constructor of the class used to initialize the local variables |
|
| Method Summary | |
void |
run()
The method which is initiated through start() |
void |
zipDownload(java.lang.String location,
java.lang.String urlName)
Called when a download is needed to be zipped up |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DownloadThread(java.lang.String urlName,
java.lang.String location,
NewDownloadControl downloadControl,
NewDownloadGUI newDownload,
boolean zipUp)
urlName - The url to downloadlocation - The location of downloaddownloadControl - The control classnewDownload - The download GUI class referencezipUp - Whether to zip up download| Method Detail |
public void run()
run in interface java.lang.Runnable
public void zipDownload(java.lang.String location,
java.lang.String urlName)
location - The location of the file to zip upurlName - The url which is to be zipped
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||