Package com.biglybt.pif.torrent
Interface TorrentAttribute
- All Known Implementing Classes:
BaseTorrentAttributeImpl
,TorrentAttributeCategoryImpl
,TorrentAttributeDisplayNameImpl
,TorrentAttributeNetworksImpl
,TorrentAttributePeerSourcesImpl
,TorrentAttributePluginImpl
,TorrentAttributeRelativeSavePathImpl
,TorrentAttributeSharePropertiesImpl
,TorrentAttributeTrackerClientExtImpl
,TorrentAttributeUserCommentImpl
public interface TorrentAttribute
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
Controls the displayed name of a download.static final String
static final String
static final String
Defines a relative file path for this download - this attribute is used when moving downloads for completion or removal - this path is relative to the default download directories.static final String
static final String
static final String
The user-defined comment for a download. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDefinedValue
(String name) Adds a new value to the attribute setvoid
String[]
Returns the currently defined values for this attributegetName()
void
removeDefinedValue
(String name) Removes a value from the attribute setvoid
-
Field Details
-
TA_CATEGORY
- See Also:
-
TA_NETWORKS
- See Also:
-
TA_PEER_SOURCES
- See Also:
-
TA_TRACKER_CLIENT_EXTENSIONS
- See Also:
-
TA_SHARE_PROPERTIES
- See Also:
-
TA_CONTENT_MAP
- See Also:
-
TA_DISPLAY_NAME
Controls the displayed name of a download.- Since:
- 2.5.0.0
- See Also:
-
TA_USER_COMMENT
The user-defined comment for a download.- Since:
- 2.5.0.1
- See Also:
-
TA_RELATIVE_SAVE_PATH
Defines a relative file path for this download - this attribute is used when moving downloads for completion or removal - this path is relative to the default download directories.- Since:
- 2.5.0.1
- See Also:
-
-
Method Details
-
getName
String getName() -
getDefinedValues
String[] getDefinedValues()Returns the currently defined values for this attribute- Returns:
-
addDefinedValue
Adds a new value to the attribute set- Parameters:
name
-
-
removeDefinedValue
Removes a value from the attribute set- Parameters:
name
-
-
addTorrentAttributeListener
-
removeTorrentAttributeListener
-