61626364656667
// --- Method(s) --- public IDownloadContainer createDownload() { return new AutoDownload(this); }
243244245246247248249250251252253
setStatus(XNap.tr("Already downloading that file.")); } } if (autoDownload) { AutoDownload d = new AutoDownload(results, filter, file); if (!DownloadQueue.getInstance().add(d)) { setStatus(XNap.tr("Already downloading that file.")); } } }
9293949596979899100
public abstract IDownload getDownload(); public boolean download(SearchFilter filter, File file) { AutoDownload d = new AutoDownload(new ISearchResult[] { this }, filter, file); return DownloadQueue.getInstance().add(d); }