Interface TorrentAnnounceURLList

All Known Implementing Classes:
TorrentAnnounceURLListImpl

public interface TorrentAnnounceURLList
  • Method Details

    • getSets

    • setSets

      void setSets(TorrentAnnounceURLListSet[] sets)
    • create

      create a new set. This is NOT added to the list, you have to manually add it afterwards
      Parameters:
      urls -
      Returns:
    • addSet

      void addSet(URL[] urls)
      Adds a set to the torrent at the end of the list. If the torrent currently has NO announcelist entries then the existing "announce-url" is also added to the set as the first entry. To avoid this behaviour manipulate the sets yourself and use setSets Duplicate set entries are ignored
      Parameters:
      urls -
    • insertSetAtFront

      void insertSetAtFront(URL[] urls)
      Adds a set to the torrent at the front of the list. If the torrent currently has NO announcelist entries then the existing "announce-url" is also added to the set as the first entry. To avoid this behaviour manipulate the sets yourself and use setSets Duplicate set entries are ignored
      Parameters:
      urls -