DownloadManagerFactorypublic class DownloadManagerFactory extends Object
Methods Summary |
---|
public static DownloadManager | create(GlobalManager gm, byte[] torrent_hash, java.lang.String torrentFileName, java.lang.String savePath, int initialState, boolean persistent, boolean for_seeding, java.util.List file_priorities, DownloadManagerInitialisationAdapter adapter)
return( new DownloadManagerImpl( gm, torrent_hash, torrentFileName, savePath, null, initialState, persistent, false, for_seeding, false, file_priorities, adapter ));
| public static DownloadManager | create(GlobalManager gm, byte[] torrent_hash, java.lang.String torrentFileName, java.lang.String torrent_save_dir, java.lang.String torrent_save_file, int initialState, boolean persistent, boolean recovered, boolean has_ever_been_started, java.util.List file_priorities)
return( new DownloadManagerImpl( gm, torrent_hash, torrentFileName, torrent_save_dir, torrent_save_file, initialState, persistent, recovered, false, has_ever_been_started, file_priorities, null ));
|
|