Interface TorrentDownloader

    • Method Detail

      • 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
      • setRequestProperty

        void setRequestProperty​(java.lang.String key,
                                java.lang.Object value)
                         throws TorrentException
        Parameters:
        key - "URL_Cookie" to set cookies
        value -
        Throws:
        TorrentException
        Since:
        4.8.1.3
      • getRequestProperty

        java.lang.Object getRequestProperty​(java.lang.String key)
                                     throws TorrentException
        Parameters:
        key - "URL_Cookie" to get cookies
        Returns:
        Throws:
        TorrentException