public class PluginDownLoaderFreenet extends PluginDownLoader<FreenetURI>
Modifier and Type | Method and Description |
---|---|
FreenetURI |
checkSource(java.lang.String source) |
boolean |
fatalFailure() |
PluginDownLoader<FreenetURI> |
getRetryDownloader()
Returns a
PluginDownLoader that can be used to restart a plugin download. |
boolean |
isLoadingFromFreenet() |
getSource, isCachingProhibited, isOfficialPluginLoader, setSource
public FreenetURI checkSource(java.lang.String source) throws PluginNotFoundException
PluginNotFoundException
public boolean fatalFailure()
public boolean isLoadingFromFreenet()
isLoadingFromFreenet
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 PluginDownLoader<FreenetURI>