Class TorrentAttributeCategoryImpl
java.lang.Object
com.biglybt.pifimpl.local.torrent.BaseTorrentAttributeImpl
com.biglybt.pifimpl.local.torrent.TorrentAttributeCategoryImpl
- All Implemented Interfaces:
TorrentAttribute
-
Field Summary
Fields inherited from interface com.biglybt.pif.torrent.TorrentAttribute
TA_CATEGORY, TA_CONTENT_MAP, TA_DISPLAY_NAME, TA_NETWORKS, TA_PEER_SOURCES, TA_RELATIVE_SAVE_PATH, TA_SHARE_PROPERTIES, TA_TRACKER_CLIENT_EXTENSIONS, TA_USER_COMMENT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDefinedValue
(String name) Adds a new value to the attribute setString[]
Returns the currently defined values for this attributegetName()
void
removeDefinedValue
(String name) Removes a value from the attribute setMethods inherited from class com.biglybt.pifimpl.local.torrent.BaseTorrentAttributeImpl
addTorrentAttributeListener, getTorrentAttributeListeners, notifyListeners, removeTorrentAttributeListener
-
Constructor Details
-
TorrentAttributeCategoryImpl
protected TorrentAttributeCategoryImpl()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceTorrentAttribute
- Specified by:
getName
in classBaseTorrentAttributeImpl
-
getDefinedValues
Description copied from interface:TorrentAttribute
Returns the currently defined values for this attribute- Specified by:
getDefinedValues
in interfaceTorrentAttribute
- Overrides:
getDefinedValues
in classBaseTorrentAttributeImpl
- Returns:
-
addDefinedValue
Description copied from interface:TorrentAttribute
Adds a new value to the attribute set- Specified by:
addDefinedValue
in interfaceTorrentAttribute
- Overrides:
addDefinedValue
in classBaseTorrentAttributeImpl
- Parameters:
name
-
-
removeDefinedValue
Description copied from interface:TorrentAttribute
Removes a value from the attribute set- Specified by:
removeDefinedValue
in interfaceTorrentAttribute
- Overrides:
removeDefinedValue
in classBaseTorrentAttributeImpl
- Parameters:
name
-
-