Class TorrentAnnounceURLListImpl

java.lang.Object
com.biglybt.pifimpl.local.torrent.TorrentAnnounceURLListImpl
All Implemented Interfaces:
TorrentAnnounceURLList

public class TorrentAnnounceURLListImpl extends Object implements TorrentAnnounceURLList
  • Field Details

  • Constructor Details

    • TorrentAnnounceURLListImpl

      protected TorrentAnnounceURLListImpl(TorrentImpl _torrent)
  • Method Details

    • getSets

      public TorrentAnnounceURLListSet[] getSets()
      Specified by:
      getSets in interface TorrentAnnounceURLList
    • setSets

      public void setSets(TorrentAnnounceURLListSet[] sets)
      Specified by:
      setSets in interface TorrentAnnounceURLList
    • create

      public TorrentAnnounceURLListSet create(URL[] urls)
      Description copied from interface: TorrentAnnounceURLList
      create a new set. This is NOT added to the list, you have to manually add it afterwards
      Specified by:
      create in interface TorrentAnnounceURLList
      Parameters:
      urls -
      Returns:
    • addSet

      public void addSet(URL[] urls)
      Description copied from interface: TorrentAnnounceURLList
      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
      Specified by:
      addSet in interface TorrentAnnounceURLList
      Parameters:
      urls -
    • insertSetAtFront

      public void insertSetAtFront(URL[] urls)
      Description copied from interface: TorrentAnnounceURLList
      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
      Specified by:
      insertSetAtFront in interface TorrentAnnounceURLList
      Parameters:
      urls -
    • setAlreadyExists

      protected boolean setAlreadyExists(URL[] urls)
    • updated

      protected void updated()