|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.azureus2.pluginsimpl.local.utils.ShortCutsImpl
public class ShortCutsImpl
Field Summary | |
---|---|
protected PluginInterface |
pi
|
Constructor Summary | |
---|---|
ShortCutsImpl(PluginInterface _pi)
|
Method Summary | |
---|---|
Download |
getDownload(byte[] hash)
A quick way of looking up a download given its hash |
DownloadStats |
getDownloadStats(byte[] hash)
A quick way of getting a download's statistics given its hash |
void |
removeDownload(byte[] hash)
A quick way of deleting a download given its hash |
void |
restartDownload(byte[] hash)
A quick way of restarting a download given its hash |
void |
stopDownload(byte[] hash)
A quick way of stopping a download given its hash |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PluginInterface pi
Constructor Detail |
---|
public ShortCutsImpl(PluginInterface _pi)
Method Detail |
---|
public DownloadStats getDownloadStats(byte[] hash) throws DownloadException
ShortCuts
getDownloadStats
in interface ShortCuts
DownloadException
public void restartDownload(byte[] hash) throws DownloadException
ShortCuts
restartDownload
in interface ShortCuts
DownloadException
public void stopDownload(byte[] hash) throws DownloadException
ShortCuts
stopDownload
in interface ShortCuts
DownloadException
public void removeDownload(byte[] hash) throws DownloadException, DownloadRemovalVetoException
ShortCuts
removeDownload
in interface ShortCuts
DownloadException
DownloadRemovalVetoException
public Download getDownload(byte[] hash) throws DownloadException
ShortCuts
getDownload
in interface ShortCuts
DownloadException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |