org.gudy.azureus2.plugins.torrent
Interface TorrentDownloader


public interface TorrentDownloader

Author:
parg

Method Summary
 Torrent download()
          Downloads and prompts the user/guesses the torrent encoding
 Torrent download(java.lang.String encoding)
          Downloads and tries to use the supplied encoding.
 

Method Detail

download

Torrent download()
                 throws TorrentException
Downloads and prompts the user/guesses the torrent encoding

Returns:
Throws:
TorrentException

download

Torrent download(java.lang.String encoding)
                 throws TorrentException
Downloads and tries to use the supplied encoding. If the supplied encoding isn't valed then a TorrentEncodingException is thrown detailing the valid ones

Parameters:
encoding - use "System" for system encoding
Returns:
Throws:
TorrentException