com.aelitis.azureus.ui.selectedcontent
Class SelectedContentV3

java.lang.Object
  extended by com.aelitis.azureus.ui.selectedcontent.SelectedContentV3
All Implemented Interfaces:
ISelectedContent

public class SelectedContentV3
extends java.lang.Object
implements ISelectedContent

Author:
TuxPaper

Constructor Summary
SelectedContentV3()
           
SelectedContentV3(DownloadManager dm)
           
SelectedContentV3(SelectedContent content)
           
SelectedContentV3(java.lang.String hash, java.lang.String displayName, boolean isPlatformContent, boolean canPlay)
           
 
Method Summary
 boolean canPlay()
           
 java.lang.String getDisplayName()
           
 DownloadUrlInfo getDownloadInfo()
           
 DownloadManager getDownloadManager()
           
 int getFileIndex()
           
 java.lang.String getHash()
           
 byte[] getImageBytes()
           
 java.lang.String getThumbURL()
           
 TOTorrent getTorrent()
           
 boolean isPlatformContent()
           
 boolean sameAs(ISelectedContent _other)
           
 void setCanPlay(boolean canPlay)
           
 void setDisplayName(java.lang.String displayName)
           
 void setDownloadInfo(DownloadUrlInfo info)
           
 void setDownloadManager(DownloadManager dm)
           
 void setHash(java.lang.String hash)
           
 void setHash(java.lang.String hash, boolean isPlatformContent)
           
 void setImageBytes(byte[] imageBytes)
           
 void setPlatformContent(boolean isPlatformContent)
           
 void setThumbURL(java.lang.String thumbURL)
           
 void setTorrent(TOTorrent torrent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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