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 Stringstatic final Stringstatic final StringControls the displayed name of a download.static final Stringstatic final Stringstatic final StringDefines 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 Stringstatic final Stringstatic final StringThe user-defined comment for a download. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDefinedValue(String name) Adds a new value to the attribute setvoidString[]Returns the currently defined values for this attributegetName()voidremoveDefinedValue(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
-
addDefinedValue
-
removeDefinedValue
-
addTorrentAttributeListener
-
removeTorrentAttributeListener
-