osdep
Class Downloader

java.lang.Object
  extended by osdep.Downloader

public class Downloader
extends java.lang.Object

To download a file from the internet to a local directory

Author:
SHZ Mar 12, 2008

Constructor Summary
Downloader(ProxyAuthenticationHandler authenticationHandler, IDownloadListener listener)
           
 
Method Summary
 void downloadFile(java.lang.String fileURL, java.lang.String filePath)
          Downloads an internet file as a local file
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Downloader

public Downloader(ProxyAuthenticationHandler authenticationHandler,
                  IDownloadListener listener)
Method Detail

downloadFile

public void downloadFile(java.lang.String fileURL,
                         java.lang.String filePath)
                  throws DownloadException
Downloads an internet file as a local file

Parameters:
fileURL - the internet url of the file
filePath - the downloaded file
Throws:
DownloadException