public class PluginDownLoaderOfficialFreenet extends PluginDownLoaderFreenet
| Constructor and Description |
|---|
PluginDownLoaderOfficialFreenet(HighLevelSimpleClient client,
Node node,
boolean desperate) |
| Modifier and Type | Method and Description |
|---|---|
FreenetURI |
checkSource(java.lang.String source) |
PluginDownLoader<FreenetURI> |
getRetryDownloader()
Returns a
PluginDownLoader that can be used to restart a plugin download. |
boolean |
isOfficialPluginLoader() |
fatalFailure, isLoadingFromFreenetgetSource, isCachingProhibited, setSourcepublic PluginDownLoaderOfficialFreenet(HighLevelSimpleClient client, Node node, boolean desperate)
public FreenetURI checkSource(java.lang.String source) throws PluginNotFoundException
checkSource in class PluginDownLoaderFreenetPluginNotFoundExceptionpublic boolean isOfficialPluginLoader()
isOfficialPluginLoader in class PluginDownLoader<FreenetURI>public PluginDownLoader<FreenetURI> getRetryDownloader()
PluginDownLoaderPluginDownLoader that can be used to restart a plugin download. This
default implementation assumes that the current downloader is stateless so it simply returns
this.getRetryDownloader in class PluginDownLoaderFreenet