public class SweDBTvDataService extends AbstractTvDataService
Modifier and Type | Class and Description |
---|---|
(package private) class |
SweDBTvDataService.IconLoader |
Modifier and Type | Field and Description |
---|---|
static Localizer |
mLocalizer |
Constructor and Description |
---|
SweDBTvDataService()
Creates a new instance of SweDBTvDataService
|
Modifier and Type | Method and Description |
---|---|
ChannelGroup[] |
checkForAvailableChannelGroups(ProgressMonitor monitor) |
Channel[] |
checkForAvailableChannels(ChannelGroup group,
ProgressMonitor monitor)
Some TvDataServices may need to connect to the internet to know their
channels.
|
Channel[] |
getAvailableChannels(ChannelGroup group)
Gets the list of the channels that are available for the given channel group.
|
ChannelGroup[] |
getAvailableGroups() |
PluginInfo |
getInfo()
Gets information about this TvDataService
|
static SweDBTvDataService |
getInstance() |
SettingsPanel |
getSettingsPanel() |
static Version |
getVersion() |
boolean |
hasSettingsPanel()
A TvDataService can have a settings panel within the settings dialog.
|
void |
loadSettings(Properties settings)
Called by the host-application during start-up.
|
void |
setWorkingDirectory(File dataDir)
This method is called by the host application to set the working folder.
|
Properties |
storeSettings()
Called by the host-application during shut-down.
|
boolean |
supportsDynamicChannelGroups() |
boolean |
supportsDynamicChannelList() |
void |
updateTvData(TvDataUpdateManager updateManager,
Channel[] channelArr,
Date startDate,
int dateCount,
ProgressMonitor monitor)
Updates the TV listings provided by this data service.
|
void |
updateTvDataOld(TvDataUpdateManager updateManager,
Channel[] channelArr,
Date startDate,
int dateCount,
ProgressMonitor monitor)
Updates the TV listings provided by this data service.
|
checkForAvailableChannels, getAPIVersion, getAvailableChannels
public static final Localizer mLocalizer
public SweDBTvDataService()
public static SweDBTvDataService getInstance()
public boolean supportsDynamicChannelList()
public boolean supportsDynamicChannelGroups()
public boolean hasSettingsPanel()
TvDataService
public SettingsPanel getSettingsPanel()
public void setWorkingDirectory(File dataDir)
TvDataService
public ChannelGroup[] getAvailableGroups()
public void updateTvData(TvDataUpdateManager updateManager, Channel[] channelArr, Date startDate, int dateCount, ProgressMonitor monitor) throws TvBrowserException
TvBrowserException
public void updateTvDataOld(TvDataUpdateManager updateManager, Channel[] channelArr, Date startDate, int dateCount, ProgressMonitor monitor) throws TvBrowserException
TvBrowserException
public void loadSettings(Properties settings)
public Properties storeSettings()
public Channel[] getAvailableChannels(ChannelGroup group)
public Channel[] checkForAvailableChannels(ChannelGroup group, ProgressMonitor monitor) throws TvBrowserException
group
- monitor
- TvBrowserException
public ChannelGroup[] checkForAvailableChannelGroups(ProgressMonitor monitor) throws TvBrowserException
TvBrowserException
public static Version getVersion()
public PluginInfo getInfo()
TvDataService
TV-Browser 2.2.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)