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, isLoadingFromFreenet
getSource, isCachingProhibited, setSource
public PluginDownLoaderOfficialFreenet(HighLevelSimpleClient client, Node node, boolean desperate)
public FreenetURI checkSource(java.lang.String source) throws PluginNotFoundException
checkSource
in class PluginDownLoaderFreenet
PluginNotFoundException
public boolean isOfficialPluginLoader()
isOfficialPluginLoader
in class PluginDownLoader<FreenetURI>
public PluginDownLoader<FreenetURI> getRetryDownloader()
PluginDownLoader
PluginDownLoader
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