Package | Description |
---|---|
bt.data | |
bt.data.file | |
bt.metainfo | |
bt.processor | |
bt.processor.torrent | |
bt.torrent.callbacks | |
bt.torrent.fileselector |
Modifier and Type | Method and Description |
---|---|
TorrentFile |
CompletableTorrentFile.getTorrentFile() |
Modifier and Type | Method and Description |
---|---|
List<TorrentFile> |
DataDescriptor.getFilesForPiece(int pieceIndex)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
LocalBitfield.fileFinishedCallback(TorrentFile tf) |
StorageUnit |
Storage.getUnit(Torrent torrent,
TorrentFile torrentFile)
Get a storage unit for a particular torrent file.
|
Modifier and Type | Method and Description |
---|---|
BitSet |
DataDescriptor.getAllPiecesForFiles(Set<TorrentFile> files)
Get all pieces that contain any part of the set of files
|
BitSet |
DataDescriptor.getPiecesWithOnlyFiles(Set<TorrentFile> files)
Get the set of pieces that only contain parts of the the set of files
|
Constructor and Description |
---|
CompletableTorrentFile(TorrentFile tf,
long numPieces,
Consumer<TorrentFile> callback) |
Constructor and Description |
---|
CompletableTorrentFile(TorrentFile tf,
long numPieces,
Consumer<TorrentFile> callback) |
Modifier and Type | Method and Description |
---|---|
StorageUnit |
FileSystemStorage.getUnit(Torrent torrent,
TorrentFile torrentFile) |
Modifier and Type | Method and Description |
---|---|
List<TorrentFile> |
Torrent.getFiles() |
Modifier and Type | Method and Description |
---|---|
Optional<List<TorrentFile>> |
ProcessingContext.getAllNonSkippedFiles()
Returns a list of all of the files that will be downloaded in this torrent, or empty if not known
|
Modifier and Type | Method and Description |
---|---|
List<TorrentFile> |
FilePiecePriorityMapper.getAllFilesToDownload()
Return the list of all files that are downloaded (not skipped)
|
Optional<List<TorrentFile>> |
TorrentContext.getAllNonSkippedFiles() |
Modifier and Type | Method and Description |
---|---|
static FilePiecePriorityMapper |
FilePiecePriorityMapper.createPiecePriorityMapper(DataDescriptor dataDescriptor,
List<TorrentFile> files,
FilePrioritySelector selector)
Create a new File Pieces priority mapper from a priority updater.
|
static FilePiecePriorityMapper |
FilePiecePriorityMapper.createPiecePriorityMapper(DataDescriptor dataDescriptor,
List<TorrentFile> files,
FilePrioritySkipSelector selector)
Create a new File Pieces priority mapper from a choosing file selector
|
void |
TorrentContext.setAllNonSkippedFiles(List<TorrentFile> allNonSkippedFiles) |
Modifier and Type | Method and Description |
---|---|
void |
FileDownloadCompleteCallback.fileDownloadCompleted(Torrent torrent,
TorrentFile tf,
Storage s) |
Modifier and Type | Method and Description |
---|---|
FilePriority |
FilePrioritySkipSelector.prioritize(TorrentFile file) |
FilePriority |
TorrentFileSelector.prioritize(TorrentFile file)
Deprecated.
|
UpdatedFilePriority |
FilePrioritySelector.prioritize(TorrentFile file) |
protected abstract SelectionResult |
TorrentFileSelector.select(TorrentFile file)
Deprecated.
Make a decision on whether to download or skip the given file.
|
Modifier and Type | Method and Description |
---|---|
List<SelectionResult> |
TorrentFileSelector.selectFiles(List<TorrentFile> files)
Deprecated.
Returns a list of decisions on whether to download or skip each of the given files, in the same order.
|
Copyright © 2016–2021. All rights reserved.