FileDocCategorySizeDatePackage
TOTorrentAnnounceURLGroupImpl.javaAPI DocAzureus 3.0.3.41849Mon Jan 10 15:07:36 GMT 2005org.gudy.azureus2.core3.torrent.impl

TOTorrentAnnounceURLGroupImpl

public class TOTorrentAnnounceURLGroupImpl extends Object implements TOTorrentAnnounceURLGroup

Fields Summary
private TOTorrentImpl
torrent
private TOTorrentAnnounceURLSet[]
sets
Constructors Summary
protected TOTorrentAnnounceURLGroupImpl(TOTorrentImpl _torrent)

		torrent	= _torrent;
		
		sets = new TOTorrentAnnounceURLSet[0];
	
Methods Summary
protected voidaddSet(TOTorrentAnnounceURLSet set)

		TOTorrentAnnounceURLSet[]	new_sets = new TOTorrentAnnounceURLSet[sets.length+1];
		
		System.arraycopy( sets, 0, new_sets, 0, sets.length );
		
		new_sets[new_sets.length-1] = set;
		
		sets = new_sets;
	
public TOTorrentAnnounceURLSetcreateAnnounceURLSet(java.net.URL[] urls)

		return( new TOTorrentAnnounceURLSetImpl( torrent, urls ));	
	
public TOTorrentAnnounceURLSet[]getAnnounceURLSets()

		return( sets );
	
public voidsetAnnounceURLSets(TOTorrentAnnounceURLSet[] _sets)

		sets = _sets;