qdown.quickDownloader.systemThreads
Class ResumeThread

java.lang.Object
  extended byqdown.quickDownloader.systemThreads.ResumeThread
All Implemented Interfaces:
java.lang.Runnable

public class ResumeThread
extends java.lang.Object
implements java.lang.Runnable

The Resume Thread called when a download is needed to be resumed


Constructor Summary
ResumeThread(NewDownloadControl downloadControl, java.lang.String urlName, java.lang.String location, java.lang.String id, NewDownloadGUI newDownload, boolean zipUp)
          Constructor of the class
 
Method Summary
 void run()
          The method which is initiated through start()
 void zipDownload(java.lang.String location, java.lang.String urlName)
          Called when resume ile is to be zipped up
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResumeThread

public ResumeThread(NewDownloadControl downloadControl,
                    java.lang.String urlName,
                    java.lang.String location,
                    java.lang.String id,
                    NewDownloadGUI newDownload,
                    boolean zipUp)
Constructor of the class

Parameters:
downloadControl - Controll class
urlName - The url to resume
location - Where to save the download
id - The id of the download
newDownload - The download GUI class reference
zipUp - Zip up download
Method Detail

run

public void run()
The method which is initiated through start()

Specified by:
run in interface java.lang.Runnable

zipDownload

public void zipDownload(java.lang.String location,
                        java.lang.String urlName)
Called when resume ile is to be zipped up

Parameters:
location - The location where to save zip file
urlName - The file to be zipped