org.gudy.azureus2.plugins.torrent
Interface TorrentDownloader
- All Known Implementing Classes: 
 - RPTorrentDownloader, TorrentDownloaderImpl
 
public interface TorrentDownloader
- Author:
 
  - parg
 
 
download
Torrent download()
                 throws TorrentException
- Downloads and prompts the user/guesses the torrent encoding
- Returns:
 - 
 - Throws:
 TorrentException
 
 
download
Torrent download(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
 
 
setRequestProperty
void setRequestProperty(String key,
                        Object value)
                        throws TorrentException
- Parameters:
 key - "URL_Cookie" to set cookiesvalue - 
- Throws:
 TorrentException- Since:
 
  - 4.8.1.3
 
 
getRequestProperty
Object getRequestProperty(String key)
                          throws TorrentException
- Parameters:
 key - "URL_Cookie" to get cookies
- Returns:
 - 
 - Throws:
 TorrentException