org.gudy.azureus2.core3.download.impl
Class DownloadManagerStateImpl.CachedStateWrapper.cacheGroup
java.lang.Object
org.gudy.azureus2.core3.download.impl.DownloadManagerStateImpl.CachedStateWrapper.cacheGroup
- All Implemented Interfaces:
- TOTorrentAnnounceURLGroup
- Enclosing class:
- DownloadManagerStateImpl.CachedStateWrapper
protected class DownloadManagerStateImpl.CachedStateWrapper.cacheGroup
- extends Object
- implements TOTorrentAnnounceURLGroup
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DownloadManagerStateImpl.CachedStateWrapper.cacheGroup
protected DownloadManagerStateImpl.CachedStateWrapper.cacheGroup(List group)
throws Exception
- Throws:
Exception
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[] toSet)
- 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