Package | Description |
---|---|
bt.torrent.maker |
Modifier and Type | Method and Description |
---|---|
TorrentBuilder |
TorrentBuilder.addAnnounceGroup(Collection<String> announceGroup) |
TorrentBuilder |
TorrentBuilder.addFile(Path file)
Add a file to be included within the torrent
|
TorrentBuilder |
TorrentBuilder.addFiles(Path... files) |
TorrentBuilder |
TorrentBuilder.announce(String announce) |
TorrentBuilder |
TorrentBuilder.createdBy(String createdBy)
Set the author of the torrent stored in the created by flag.
|
TorrentBuilder |
TorrentBuilder.creationDate(Date creationDate)
Set the creation date of the torrent.
|
TorrentBuilder |
TorrentBuilder.hashingBufferSize(int hashingBufferSize)
Set the size of the io buffer used for reading from files to verify their digest.
|
TorrentBuilder |
TorrentBuilder.maxNumOpenFiles(int maxNumOpenFiles)
Set the max number of open files during torrent creation.
|
TorrentBuilder |
TorrentBuilder.numHashingThreads(int numHashingThreads)
Set the number of threads used to create sha1 hashes for the torrent being created
any value less than 1 will use Java's common fork join pool.
|
TorrentBuilder |
TorrentBuilder.pieceSize(int pieceSize)
Set the piece size of the torrent.
|
TorrentBuilder |
TorrentBuilder.privateFlag(boolean isPrivate)
Set whether this torrent is a private torrent.
|
TorrentBuilder |
TorrentBuilder.rootPath(Path rootPath)
Set the root path of the torrent
|
Constructor and Description |
---|
TorrentMaker(TorrentBuilder torrentBuilder)
Create a new torrent maker class with the specified torrent builder
|
Copyright © 2016–2021. All rights reserved.