Package com.biglybt.core.util
Class TorrentUtils.URLGroup
java.lang.Object
com.biglybt.core.util.TorrentUtils.URLGroup
- All Implemented Interfaces:
TOTorrentAnnounceURLGroup
- Enclosing class:
- TorrentUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TOTorrentAnnounceURLGroupprivate booleanprivate TOTorrentAnnounceURLSet[]private long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateURLGroup(TOTorrentAnnounceURLGroup _delegate, List<TOTorrentAnnounceURLSet> mod_sets) -
Method Summary
Modifier and TypeMethodDescriptioncreateAnnounceURLSet(URL[] urls) This method will create a new set.Gets the current sets defined for this group, 0 length if none definedlonggetUID()protected booleanvoidSets the group's URL sets to the supplied values.
-
Field Details
-
delegate
-
sets
-
modified
private boolean modified -
uid
private long uid
-
-
Constructor Details
-
URLGroup
-
-
Method Details
-
getUID
public long getUID()- Specified by:
getUIDin interfaceTOTorrentAnnounceURLGroup
-
getAnnounceURLSets
Description copied from interface:TOTorrentAnnounceURLGroupGets the current sets defined for this group, 0 length if none defined- Specified by:
getAnnounceURLSetsin interfaceTOTorrentAnnounceURLGroup- Returns:
-
setAnnounceURLSets
Description copied from interface:TOTorrentAnnounceURLGroupSets the group's URL sets to the supplied values.- Specified by:
setAnnounceURLSetsin interfaceTOTorrentAnnounceURLGroup
-
createAnnounceURLSet
Description copied from interface:TOTorrentAnnounceURLGroupThis 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:
createAnnounceURLSetin interfaceTOTorrentAnnounceURLGroup- Parameters:
urls- the URLs for the new set- Returns:
- the newly created set
-
hasBeenModified
protected boolean hasBeenModified()
-