Package com.biglybt.pif.utils
Interface ShortCuts
- All Known Implementing Classes:
RPShortCuts
,ShortCutsImpl
public interface ShortCuts
-
Method Summary
Modifier and TypeMethodDescriptiongetDownload
(byte[] hash) A quick way of looking up a download given its hashgetDownloadStats
(byte[] hash) A quick way of getting a download's statistics given its hashvoid
removeDownload
(byte[] hash) A quick way of deleting a download given its hashvoid
restartDownload
(byte[] hash) A quick way of restarting a download given its hashvoid
stopDownload
(byte[] hash) A quick way of stopping a download given its hash
-
Method Details
-
getDownload
A quick way of looking up a download given its hash- Parameters:
hash
-- Returns:
- Throws:
DownloadException
-
getDownloadStats
A quick way of getting a download's statistics given its hash- Parameters:
hash
-- Returns:
- Throws:
DownloadException
-
restartDownload
A quick way of restarting a download given its hash- Parameters:
hash
-- Throws:
DownloadException
-
stopDownload
A quick way of stopping a download given its hash- Parameters:
hash
-- Throws:
DownloadException
-
removeDownload
A quick way of deleting a download given its hash- Parameters:
hash
-- Throws:
DownloadException
DownloadRemovalVetoException
-