nsIStreamListener
Last changed in Gecko 1.7 void init(in nsIDownloadObserver observer, in nsIFile downloadLocation); |
Initialize this downloader.
void init( in nsIDownloadObserver observer, in nsIFile downloadLocation );
observer
downloadLocation
null
, the downloader will select a location and the resulting file will be deleted (or otherwise made invalid) when the downloader object is destroyed. If an explicit download location is specified then the resulting file will not be deleted, and it will be the callers responsibility to keep track of the file, and so on.