public abstract class TorrentFileSelector extends Object implements FilePrioritySkipSelector
Currently there's a limitation that empty files will always be created (even if they weren't selected).
Constructor and Description |
---|
TorrentFileSelector()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
FilePriority |
prioritize(TorrentFile file)
Deprecated.
|
protected abstract SelectionResult |
select(TorrentFile file)
Deprecated.
Make a decision on whether to download or skip the given file.
|
List<SelectionResult> |
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.
|
public List<SelectionResult> selectFiles(List<TorrentFile> files)
protected abstract SelectionResult select(TorrentFile file)
public FilePriority prioritize(TorrentFile file)
prioritize
in interface FilePrioritySkipSelector
Copyright © 2016–2021. All rights reserved.