org.gudy.azureus2.core3.torrent.impl
Class TOTorrentAnnounceURLGroupImpl
java.lang.Object
org.gudy.azureus2.core3.torrent.impl.TOTorrentAnnounceURLGroupImpl
- All Implemented Interfaces:
- TOTorrentAnnounceURLGroup
public class TOTorrentAnnounceURLGroupImpl
- extends Object
- implements TOTorrentAnnounceURLGroup
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOTorrentAnnounceURLGroupImpl
protected TOTorrentAnnounceURLGroupImpl(TOTorrentImpl _torrent)
addSet
protected void addSet(TOTorrentAnnounceURLSet set)
getAnnounceURLSets
public TOTorrentAnnounceURLSet[] getAnnounceURLSets()
- Description copied from interface:
TOTorrentAnnounceURLGroup
- Gets the current sets defined for this group, 0 length if none defined
- Specified by:
getAnnounceURLSets
in interface TOTorrentAnnounceURLGroup
- Returns:
setAnnounceURLSets
public void setAnnounceURLSets(TOTorrentAnnounceURLSet[] _sets)
- Description copied from interface:
TOTorrentAnnounceURLGroup
- Sets the group's URL sets to the supplied values.
- Specified by:
setAnnounceURLSets
in interface TOTorrentAnnounceURLGroup
createAnnounceURLSet
public TOTorrentAnnounceURLSet createAnnounceURLSet(URL[] urls)
- Description copied from interface:
TOTorrentAnnounceURLGroup
- This method will create a new set. It is not added into the current set, this
must be done by the caller inserting the newly created set into an array as
required and calling the above "set" method.
- Specified by:
createAnnounceURLSet
in interface TOTorrentAnnounceURLGroup
- Parameters:
urls
- the URLs for the new set
- Returns:
- the newly created set