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