TV-Browser 2.7.5 API

tvdataservice
Interface TvDataService

All Known Implementing Classes:
AbstractOldTvDataServiceBridge, AbstractTvDataService, AbstractTvDataService, BbcBackstageDataService, DreamboxDataService, RadioTimesDataService, SchedulesDirectDataService, SweDBTvDataService, TvBrowserDataService

Deprecated. use TvDataService instead.

public interface TvDataService

To write your own TV listings service implement this interface.

Author:
Martin Oberhauser

Method Summary
 Channel[] checkForAvailableChannels(ProgressMonitor monitor)
          Deprecated.  
 Version getAPIVersion()
          Deprecated. Gets the Version of the implemented API Since TV-Browser 0.9.7 getAPIVersion must return 1.0
 Channel[] getAvailableChannels()
          Deprecated. Gets the list of the channels that are available by this data service.
 PluginInfo getInfo()
          Deprecated. Gets information about this TvDataService
 SettingsPanel getSettingsPanel()
          Deprecated.  
 boolean hasSettingsPanel()
          Deprecated.  
 void loadSettings(Properties settings)
          Deprecated. Called by the host-application during start-up.
 void setWorkingDirectory(File dataDir)
          Deprecated.  
 Properties storeSettings()
          Deprecated. Called by the host-application during shut-down.
 boolean supportsAutoUpdate()
          Deprecated. Gets if the data service supports auto upate of data.
 boolean supportsDynamicChannelList()
          Deprecated.  
 void updateTvData(TvDataUpdateManager updateManager, Channel[] channelArr, Date startDate, int dateCount, ProgressMonitor monitor)
          Deprecated. Updates the TV listings provided by this data service.
 

Method Detail

setWorkingDirectory

void setWorkingDirectory(File dataDir)
Deprecated. 

updateTvData

void updateTvData(TvDataUpdateManager updateManager,
                  Channel[] channelArr,
                  Date startDate,
                  int dateCount,
                  ProgressMonitor monitor)
                  throws TvBrowserException
Deprecated. 
Updates the TV listings provided by this data service.

Throws:
TvBrowserException

loadSettings

void loadSettings(Properties settings)
Deprecated. 
Called by the host-application during start-up. Implements this method to load your dataservices settings from the file system.


storeSettings

Properties storeSettings()
Deprecated. 
Called by the host-application during shut-down. Implements this method to store your dataservices settings to the file system.


hasSettingsPanel

boolean hasSettingsPanel()
Deprecated. 

getSettingsPanel

SettingsPanel getSettingsPanel()
Deprecated. 

getAvailableChannels

Channel[] getAvailableChannels()
Deprecated. 
Gets the list of the channels that are available by this data service.


checkForAvailableChannels

Channel[] checkForAvailableChannels(ProgressMonitor monitor)
                                    throws TvBrowserException
Deprecated. 
Throws:
TvBrowserException

supportsDynamicChannelList

boolean supportsDynamicChannelList()
Deprecated. 

getInfo

PluginInfo getInfo()
Deprecated. 
Gets information about this TvDataService


getAPIVersion

Version getAPIVersion()
Deprecated. 
Gets the Version of the implemented API Since TV-Browser 0.9.7 getAPIVersion must return 1.0


supportsAutoUpdate

boolean supportsAutoUpdate()
Deprecated. 
Gets if the data service supports auto upate of data.

Returns:
True if the data service supports the auto update, false otherwise.
Since:
2.7

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)