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 Object
implements ISelectedContent

Author:
TuxPaper

Constructor Summary
SelectedContentV3()
           
SelectedContentV3(DownloadManager dm)
           
SelectedContentV3(SelectedContent content)
           
SelectedContentV3(String hash, String displayName, boolean isPlatformContent, boolean canPlay)
           
 
Method Summary
 boolean canPlay()
           
 String getDisplayName()
           
 DownloadUrlInfo getDownloadInfo()
           
 DownloadManager getDownloadManager()
           
 int getFileIndex()
           
 String getHash()
           
 byte[] getImageBytes()
           
 String getThumbURL()
           
 TOTorrent getTorrent()
           
 boolean isPlatformContent()
           
 boolean sameAs(ISelectedContent _other)
           
 void setCanPlay(boolean canPlay)
           
 void setDisplayName(String displayName)
           
 void setDownloadInfo(DownloadUrlInfo info)
           
 void setDownloadManager(DownloadManager dm)
           
 void setHash(String hash)
           
 void setHash(String hash, boolean isPlatformContent)
           
 void setImageBytes(byte[] imageBytes)
           
 void setPlatformContent(boolean isPlatformContent)
           
 void setThumbURL(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(String hash,
                         String displayName,
                         boolean isPlatformContent,
                         boolean canPlay)

SelectedContentV3

public SelectedContentV3(DownloadManager dm)
                  throws Exception
Throws:
Exception
Method Detail

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