|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tvbrowser.core.PluginLoader
public class PluginLoader
The PluginLoader loads all plugins and assigns each plugin to the appropriate manager (TvDataServiceProxyManager or PluginProxyManager)
Method Summary | |
---|---|
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 |
PluginBaseInfo[] |
getInfoOfAvailablePlugins()
Gets the base infos for all available plugins. |
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()
|
java.lang.Object |
loadPlugin(java.io.File pluginFile,
boolean deleteable)
Loads the plugin from the file system |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PluginLoader getInstance()
public void installPendingPlugins()
public java.lang.Object loadPlugin(java.io.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 deleted
public boolean deleteDataService(TvDataServiceProxy service)
service
- Data service that should be deleted
public boolean isPluginDeletable(PluginProxy plugin)
plugin
- Plugin that should be deleted
public boolean isDataServiceDeletable(TvDataServiceProxy service)
service
- Data service that should be deleted
public void deleteAllPluginProxies()
public PluginBaseInfo[] getInfoOfAvailablePlugins()
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |