com.aelitis.azureus.ui.selectedcontent
Class SelectedContentV3
java.lang.Object
com.aelitis.azureus.ui.selectedcontent.SelectedContentV3
- All Implemented Interfaces:
- ISelectedContent
public class SelectedContentV3
- extends Object
- implements ISelectedContent
- Author:
- TuxPaper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectedContentV3
public SelectedContentV3(SelectedContent content)
SelectedContentV3
public SelectedContentV3()
SelectedContentV3
public SelectedContentV3(String hash,
String displayName,
boolean isPlatformContent,
boolean canPlay)
SelectedContentV3
public SelectedContentV3(DownloadManager dm)
throws Exception
- Throws:
Exception
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interface ISelectedContent
getDownloadManager
public DownloadManager getDownloadManager()
- Specified by:
getDownloadManager
in interface ISelectedContent
getFileIndex
public int getFileIndex()
- Specified by:
getFileIndex
in interface ISelectedContent
getTorrent
public TOTorrent getTorrent()
- Specified by:
getTorrent
in interface ISelectedContent
getHash
public String getHash()
- Specified by:
getHash
in interface ISelectedContent
setDisplayName
public void setDisplayName(String displayName)
- Specified by:
setDisplayName
in interface ISelectedContent
setDownloadManager
public void setDownloadManager(DownloadManager dm)
- Specified by:
setDownloadManager
in interface ISelectedContent
setTorrent
public void setTorrent(TOTorrent torrent)
- Specified by:
setTorrent
in interface ISelectedContent
setHash
public void setHash(String hash)
- Specified by:
setHash
in interface ISelectedContent
setHash
public void setHash(String hash,
boolean isPlatformContent)
isPlatformContent
public boolean isPlatformContent()
setPlatformContent
public void setPlatformContent(boolean isPlatformContent)
canPlay
public boolean canPlay()
setCanPlay
public void setCanPlay(boolean canPlay)
getThumbURL
public String getThumbURL()
setThumbURL
public void setThumbURL(String thumbURL)
setImageBytes
public void setImageBytes(byte[] imageBytes)
- Parameters:
imageBytes
- the imageBytes to set
getImageBytes
public byte[] getImageBytes()
- Returns:
- the imageBytes
getDownloadInfo
public DownloadUrlInfo getDownloadInfo()
- Specified by:
getDownloadInfo
in interface ISelectedContent
setDownloadInfo
public void setDownloadInfo(DownloadUrlInfo info)
- Specified by:
setDownloadInfo
in interface ISelectedContent
sameAs
public boolean sameAs(ISelectedContent _other)
- Specified by:
sameAs
in interface ISelectedContent