|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TorrentAttribute
Field Summary | |
---|---|
static java.lang.String |
TA_CATEGORY
|
static java.lang.String |
TA_CONTENT_MAP
|
static java.lang.String |
TA_DISPLAY_NAME
Controls the displayed name of a download. |
static java.lang.String |
TA_NETWORKS
|
static java.lang.String |
TA_PEER_SOURCES
|
static java.lang.String |
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. |
static java.lang.String |
TA_SHARE_PROPERTIES
|
static java.lang.String |
TA_TRACKER_CLIENT_EXTENSIONS
|
static java.lang.String |
TA_USER_COMMENT
The user-defined comment for a download. |
Method Summary | |
---|---|
void |
addDefinedValue(java.lang.String name)
Adds a new value to the attribute set |
void |
addTorrentAttributeListener(TorrentAttributeListener l)
|
java.lang.String[] |
getDefinedValues()
Returns the currently defined values for this attribute |
java.lang.String |
getName()
|
void |
removeDefinedValue(java.lang.String name)
Removes a value from the attribute set |
void |
removeTorrentAttributeListener(TorrentAttributeListener l)
|
Field Detail |
---|
static final java.lang.String TA_CATEGORY
static final java.lang.String TA_NETWORKS
static final java.lang.String TA_PEER_SOURCES
static final java.lang.String TA_TRACKER_CLIENT_EXTENSIONS
static final java.lang.String TA_SHARE_PROPERTIES
static final java.lang.String TA_CONTENT_MAP
static final java.lang.String TA_DISPLAY_NAME
static final java.lang.String TA_USER_COMMENT
static final java.lang.String TA_RELATIVE_SAVE_PATH
Method Detail |
---|
java.lang.String getName()
java.lang.String[] getDefinedValues()
void addDefinedValue(java.lang.String name)
name
- void removeDefinedValue(java.lang.String name)
name
- void addTorrentAttributeListener(TorrentAttributeListener l)
void removeTorrentAttributeListener(TorrentAttributeListener l)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |