com.aelitis.azureus.ui.selectedcontent
Class SelectedContentV3
java.lang.Object
com.aelitis.azureus.ui.selectedcontent.SelectedContentV3
- All Implemented Interfaces:
- ISelectedContent
public class SelectedContentV3
- extends java.lang.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(java.lang.String hash,
java.lang.String displayName,
boolean isPlatformContent,
boolean canPlay)
SelectedContentV3
public SelectedContentV3(DownloadManager dm)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDisplayName
public java.lang.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 java.lang.String getHash()
- Specified by:
getHash
in interface ISelectedContent
setDisplayName
public void setDisplayName(java.lang.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(java.lang.String hash)
- Specified by:
setHash
in interface ISelectedContent
setHash
public void setHash(java.lang.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 java.lang.String getThumbURL()
setThumbURL
public void setThumbURL(java.lang.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