public class PluginLoader extends Object
Modifier and Type | Field and Description |
---|---|
static Localizer |
mLocalizer
The localizer for this class.
|
Modifier and Type | Method and Description |
---|---|
void |
deleteAllPluginProxies()
delete all plugin proxies to force re-reading the plugin classes on next start
|
boolean |
deleteDataService(TvDataServiceProxy service)
Delete a data service
|
boolean |
deletePlugin(PluginProxy proxy)
Delete a Plugin
|
static PluginLoader |
getInstance() |
void |
installPendingPlugins()
Installs all plugins that could not be installed the last time, because an
old version was in use.
|
boolean |
isDataServiceDeletable(TvDataServiceProxy service)
Is a data service deleteable ?
|
boolean |
isPluginDeletable(PluginProxy plugin)
Is a Plugin deleteable ?
|
void |
loadAllPlugins() |
Object |
loadPlugin(File pluginFile,
boolean deleteable)
Loads the plugin from the file system
|
public static final Localizer mLocalizer
public static PluginLoader getInstance()
public void installPendingPlugins()
public Object loadPlugin(File pluginFile, boolean deleteable)
pluginFile
- File to loaddeleteable
- is the Plugin deleteablepublic void loadAllPlugins()
public boolean deletePlugin(PluginProxy proxy)
proxy
- Proxy for the Plugin that should be deletedpublic boolean deleteDataService(TvDataServiceProxy service)
service
- Data service that should be deletedpublic boolean isPluginDeletable(PluginProxy plugin)
plugin
- Plugin that should be deletedpublic boolean isDataServiceDeletable(TvDataServiceProxy service)
service
- Data service that should be deletedpublic void deleteAllPluginProxies()
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)