com.aelitis.azureus.ui.selectedcontent
Class SelectedContent
java.lang.Object
com.aelitis.azureus.ui.selectedcontent.SelectedContent
- All Implemented Interfaces:
- ISelectedContent
public class SelectedContent
- extends java.lang.Object
- implements ISelectedContent
Represents a piece of content (torrent) that is selected
- Author:
- TuxPaper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectedContent
public SelectedContent(DownloadManager dm)
- Parameters:
dm2
-
- Throws:
java.lang.Exception
SelectedContent
public SelectedContent(DownloadManager dm,
int _file_index)
SelectedContent
public SelectedContent(java.lang.String hash,
java.lang.String displayName)
SelectedContent
public SelectedContent()
getHash
public java.lang.String getHash()
- Specified by:
getHash
in interface ISelectedContent
setHash
public void setHash(java.lang.String hash)
- Specified by:
setHash
in interface ISelectedContent
getDownloadManager
public DownloadManager getDownloadManager()
- Specified by:
getDownloadManager
in interface ISelectedContent
setDownloadManager
public void setDownloadManager(DownloadManager _dm)
- Specified by:
setDownloadManager
in interface ISelectedContent
getFileIndex
public int getFileIndex()
- Specified by:
getFileIndex
in interface ISelectedContent
getTorrent
public TOTorrent getTorrent()
- Specified by:
getTorrent
in interface ISelectedContent
setTorrent
public void setTorrent(TOTorrent _torrent)
- Specified by:
setTorrent
in interface ISelectedContent
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in interface ISelectedContent
setDisplayName
public void setDisplayName(java.lang.String displayName)
- Specified by:
setDisplayName
in interface ISelectedContent
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