Package com.biglybt.ui.swt.subscriptions
Class SubscriptionSelectedContent
- java.lang.Object
-
- com.biglybt.ui.swt.subscriptions.SubscriptionSelectedContent
-
- All Implemented Interfaces:
ISelectedContent
,ISelectedVuzeFileContent
public class SubscriptionSelectedContent extends java.lang.Object implements ISelectedVuzeFileContent
-
-
Field Summary
Fields Modifier and Type Field Description private Subscription
subs
private TOTorrent
torrent
-
Constructor Summary
Constructors Modifier Constructor Description protected
SubscriptionSelectedContent(Subscription _subs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDisplayName()
DownloadUrlInfo
getDownloadInfo()
DownloadManager
getDownloadManager()
int
getFileIndex()
java.lang.String
getHash()
TOTorrent
getTorrent()
VuzeFile
getVuzeFile()
boolean
sameAs(ISelectedContent _other)
void
setDisplayName(java.lang.String displayName)
void
setDownloadManager(DownloadManager dm)
void
setHash(java.lang.String hash)
void
setTorrent(TOTorrent torrent)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.biglybt.ui.selectedcontent.ISelectedContent
getString
-
-
-
-
Field Detail
-
subs
private Subscription subs
-
torrent
private TOTorrent torrent
-
-
Constructor Detail
-
SubscriptionSelectedContent
protected SubscriptionSelectedContent(Subscription _subs)
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in interfaceISelectedContent
-
getHash
public java.lang.String getHash()
- Specified by:
getHash
in interfaceISelectedContent
-
getVuzeFile
public VuzeFile getVuzeFile()
- Specified by:
getVuzeFile
in interfaceISelectedVuzeFileContent
-
getTorrent
public TOTorrent getTorrent()
- Specified by:
getTorrent
in interfaceISelectedContent
-
setHash
public void setHash(java.lang.String hash)
- Specified by:
setHash
in interfaceISelectedContent
-
getDownloadManager
public DownloadManager getDownloadManager()
- Specified by:
getDownloadManager
in interfaceISelectedContent
-
getFileIndex
public int getFileIndex()
- Specified by:
getFileIndex
in interfaceISelectedContent
-
setDownloadManager
public void setDownloadManager(DownloadManager dm)
- Specified by:
setDownloadManager
in interfaceISelectedContent
-
setTorrent
public void setTorrent(TOTorrent torrent)
- Specified by:
setTorrent
in interfaceISelectedContent
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
- Specified by:
setDisplayName
in interfaceISelectedContent
-
getDownloadInfo
public DownloadUrlInfo getDownloadInfo()
- Specified by:
getDownloadInfo
in interfaceISelectedContent
-
sameAs
public boolean sameAs(ISelectedContent _other)
- Specified by:
sameAs
in interfaceISelectedContent
-
-