Package com.biglybt.pifimpl.local.utils
Class ShortCutsImpl
java.lang.Object
com.biglybt.pifimpl.local.utils.ShortCutsImpl
- All Implemented Interfaces:
ShortCuts
-
Field Summary
Fields -
Constructor Summary
Constructors -
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
-
Field Details
-
pi
-
-
Constructor Details
-
ShortCutsImpl
-
-
Method Details
-
getDownloadStats
Description copied from interface:ShortCuts
A quick way of getting a download's statistics given its hash- Specified by:
getDownloadStats
in interfaceShortCuts
- Returns:
- Throws:
DownloadException
-
restartDownload
Description copied from interface:ShortCuts
A quick way of restarting a download given its hash- Specified by:
restartDownload
in interfaceShortCuts
- Throws:
DownloadException
-
stopDownload
Description copied from interface:ShortCuts
A quick way of stopping a download given its hash- Specified by:
stopDownload
in interfaceShortCuts
- Throws:
DownloadException
-
removeDownload
Description copied from interface:ShortCuts
A quick way of deleting a download given its hash- Specified by:
removeDownload
in interfaceShortCuts
- Throws:
DownloadException
DownloadRemovalVetoException
-
getDownload
Description copied from interface:ShortCuts
A quick way of looking up a download given its hash- Specified by:
getDownload
in interfaceShortCuts
- Returns:
- Throws:
DownloadException
-