/FileExtraction/Java_unseen/cancerian0684_dli-downloader/trunk/src/main/java/org/shunya/dli/Downloader.java
package org.shunya.dli;

public interface Downloader {
    final Downloader NIO_DOWNLOADER = new NIODownloader();
    final Downloader NORMAL_DOWNLOADER = new BufferedDownloader();

    boolean download(final String rootUrl, final String fileName, final String outputDir, AppContext appContext, boolean overwrite, LogWindow simpleLogger, int maxDownloadSize, boolean tapSpeed) throws CancelledExecutionException;
}
