org.gudy.azureus2.core3.torrent
Interface TOTorrentCreator
- All Known Implementing Classes:
- TOTorrentCreatorImpl
public interface TOTorrentCreator
- Author:
- parg
setFileIsLayoutDescriptor
void setFileIsLayoutDescriptor(boolean b)
- A 'layout descriptor' is a file that explicitly details the construction of the torrent from a collection of files, rather than relying
on a natural file system structure.
The file is bencoded and consists of a Map with a List
create
TOTorrent create()
throws TOTorrentException
- Throws:
TOTorrentException
getTorrentDataSizeFromFileOrDir
long getTorrentDataSizeFromFileOrDir()
throws TOTorrentException
- Throws:
TOTorrentException
cancel
void cancel()
addListener
void addListener(TOTorrentProgressListener listener)
removeListener
void removeListener(TOTorrentProgressListener listener)