Package com.biglybt.pif.torrent
Interface TorrentAnnounceURLList
- All Known Implementing Classes:
TorrentAnnounceURLListImpl
public interface TorrentAnnounceURLList
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a set to the torrent at the end of the list.create a new set.getSets()
void
insertSetAtFront
(URL[] urls) Adds a set to the torrent at the front of the list.void
setSets
(TorrentAnnounceURLListSet[] sets)
-
Method Details
-
getSets
TorrentAnnounceURLListSet[] getSets() -
setSets
-
create
create a new set. This is NOT added to the list, you have to manually add it afterwards- Parameters:
urls
-- Returns:
-
addSet
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
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
-
-