Class TorrentAttributeCategoryImpl
- java.lang.Object
-
- com.biglybt.pifimpl.local.torrent.BaseTorrentAttributeImpl
-
- com.biglybt.pifimpl.local.torrent.TorrentAttributeCategoryImpl
-
- All Implemented Interfaces:
TorrentAttribute
public class TorrentAttributeCategoryImpl extends BaseTorrentAttributeImpl
-
-
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 Modifier Constructor Description protected
TorrentAttributeCategoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDefinedValue(java.lang.String name)
Adds a new value to the attribute setjava.lang.String[]
getDefinedValues()
Returns the currently defined values for this attributejava.lang.String
getName()
void
removeDefinedValue(java.lang.String name)
Removes a value from the attribute set-
Methods inherited from class com.biglybt.pifimpl.local.torrent.BaseTorrentAttributeImpl
addTorrentAttributeListener, getTorrentAttributeListeners, notifyListeners, removeTorrentAttributeListener
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceTorrentAttribute
- Specified by:
getName
in classBaseTorrentAttributeImpl
-
getDefinedValues
public java.lang.String[] 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
public void addDefinedValue(java.lang.String name)
Description copied from interface:TorrentAttribute
Adds a new value to the attribute set- Specified by:
addDefinedValue
in interfaceTorrentAttribute
- Overrides:
addDefinedValue
in classBaseTorrentAttributeImpl
-
removeDefinedValue
public void removeDefinedValue(java.lang.String name)
Description copied from interface:TorrentAttribute
Removes a value from the attribute set- Specified by:
removeDefinedValue
in interfaceTorrentAttribute
- Overrides:
removeDefinedValue
in classBaseTorrentAttributeImpl
-
-