- java.lang.Object
-
- tvbrowser.core.tvdataservice.TvDataServiceProxyManager
-
public class TvDataServiceProxyManager extends java.lang.Object
Manages the TvDataServices
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PLUGIN_DIRECTORY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TvDataServiceProxy
findDataServiceById(java.lang.String id)
void
fireTvBrowserStartFinished()
TvDataServiceProxy[]
getDataServices()
static TvDataServiceProxyManager
getInstance()
TvDataServiceProxy[]
getTvDataServices(java.lang.String[] idArr)
void
init()
Loads and initializes all available TvDataServicesboolean
licensesAccepted(TvDataServiceProxy[] services)
void
loadNotSubscribed()
void
registerTvDataService(TvDataServiceProxy service)
void
setParamFrame(javax.swing.JFrame frame)
Set the Parent-Frame for all Dataservicesvoid
setTvDataDir(java.io.File dir)
Changes the TvDataService working directory to the specified folder.void
shutDown()
-
-
-
Field Detail
-
PLUGIN_DIRECTORY
public static final java.lang.String PLUGIN_DIRECTORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static TvDataServiceProxyManager getInstance()
-
registerTvDataService
public void registerTvDataService(TvDataServiceProxy service)
-
setTvDataDir
public void setTvDataDir(java.io.File dir)
Changes the TvDataService working directory to the specified folder.- Parameters:
dir
- The tv data directory to use.
-
init
public void init()
Loads and initializes all available TvDataServices
-
licensesAccepted
public boolean licensesAccepted(TvDataServiceProxy[] services)
-
shutDown
public void shutDown()
-
findDataServiceById
public TvDataServiceProxy findDataServiceById(java.lang.String id)
-
getTvDataServices
public TvDataServiceProxy[] getTvDataServices(java.lang.String[] idArr)
-
getDataServices
public TvDataServiceProxy[] getDataServices()
-
setParamFrame
public void setParamFrame(javax.swing.JFrame frame)
Set the Parent-Frame for all Dataservices- Parameters:
frame
- Parentframe
-
fireTvBrowserStartFinished
public void fireTvBrowserStartFinished()
-
loadNotSubscribed
public void loadNotSubscribed()
-
-