org.gudy.azureus2.plugins.torrent
Interface TorrentAnnounceURLList


public interface TorrentAnnounceURLList


Method Summary
 void addSet(URL[] urls)
          Adds a set to the torrent at the end of the list.
 TorrentAnnounceURLListSet create(URL[] urls)
          create a new set.
 TorrentAnnounceURLListSet[] getSets()
           
 void insertSetAtFront(URL[] urls)
          Adds a set to the torrent at the front of the list.
 void setSets(TorrentAnnounceURLListSet[] sets)
           
 

Method Detail

getSets

TorrentAnnounceURLListSet[] getSets()

setSets

void setSets(TorrentAnnounceURLListSet[] sets)

create

TorrentAnnounceURLListSet create(URL[] urls)
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 -