Class RPTorrentDownloader
java.lang.Object
com.biglybt.pifimpl.remote.RPObject
com.biglybt.pifimpl.remote.torrent.RPTorrentDownloader
- All Implemented Interfaces:
TorrentDownloader, Serializable
- See Also:
-
Field Summary
FieldsFields inherited from class RPObject
__delegate, _dispatcher, _object_id, next_key, object_registry, object_registry_reverse -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void_setDelegate(Object _delegate) static RPTorrentDownloadercreate(TorrentDownloader _delegate) download()Downloads and prompts the user/guesses the torrent encodingDownloads and tries to use the supplied encoding.getRequestProperty(String key) voidsetRequestProperty(String key, Object value) Methods inherited from class RPObject
_fixupLocal, _getDelegate, _getName, _getOID, _lookupLocal, _lookupLocal, _refresh, _setRemote, getDispatcher, notSupported, notSupported
-
Field Details
-
delegate
-
-
Constructor Details
-
RPTorrentDownloader
-
-
Method Details
-
create
-
_setDelegate
- Overrides:
_setDelegatein classRPObject
-
_setLocal
- Overrides:
_setLocalin classRPObject- Throws:
RPException
-
_process
-
download
Description copied from interface:TorrentDownloaderDownloads and prompts the user/guesses the torrent encoding- Specified by:
downloadin interfaceTorrentDownloader- Returns:
- Throws:
TorrentException
-
download
Description copied from interface:TorrentDownloaderDownloads and tries to use the supplied encoding. If the supplied encoding isn't valed then a TorrentEncodingException is thrown detailing the valid ones- Specified by:
downloadin interfaceTorrentDownloader- Parameters:
encoding- use "System" for system encoding- Returns:
- Throws:
TorrentException
-
setRequestProperty
- Specified by:
setRequestPropertyin interfaceTorrentDownloader- Parameters:
key- "URL_Cookie" to set cookiesvalue-- Throws:
TorrentException
-
getRequestProperty
- Specified by:
getRequestPropertyin interfaceTorrentDownloader- Parameters:
key- "URL_Cookie" to get cookies- Returns:
- Throws:
TorrentException
-