org.gudy.azureus2.pluginsimpl.local.torrent
Class TorrentAnnounceURLListImpl
java.lang.Object
org.gudy.azureus2.pluginsimpl.local.torrent.TorrentAnnounceURLListImpl
- All Implemented Interfaces:
- TorrentAnnounceURLList
public class TorrentAnnounceURLListImpl
- extends Object
- implements TorrentAnnounceURLList
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
torrent
protected TorrentImpl torrent
TorrentAnnounceURLListImpl
protected TorrentAnnounceURLListImpl(TorrentImpl _torrent)
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
- 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
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
setAlreadyExists
protected boolean setAlreadyExists(URL[] urls)
updated
protected void updated()