public void pause(final FileDownloadListener listener) {
        FileDownloadTaskLauncher.getImpl().expire(listener);
        final List<BaseDownloadTask.IRunningTask> taskList =
                FileDownloadList.getImpl().copy(listener);
        for (BaseDownloadTask.IRunningTask task : taskList) {
            task.getOrigin().pause();
        }
    }
public void pause(final FileDownloadListener listener) {
        FileDownloadTaskLauncher.getImpl().expire(listener);
        final List<BaseDownloadTask.IRunningTask> taskList =
                FileDownloadList.getImpl().copy(listener);
        for (BaseDownloadTask.IRunningTask task : taskList) {
            task.getOrigin().pause();
        }
    }
public void pause ( final FileDownloadListener listener ) { FileDownloadTaskLauncher . getImpl ( ) . expire ( listener ) ; final List < BaseDownloadTask . IRunningTask > taskList = FileDownloadList . getImpl ( ) . copy ( listener ) ; for ( BaseDownloadTask . IRunningTask task : taskList ) { task . getOrigin ( ) . pause ( ) ; } }
Pause the download queue by the same {@code listener}.

@param listener the listener.
@see #pause(int)
Pause the download queue by the same { @code listener } .