public class SweDBTvDataService extends AbstractTvDataService
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PLUGINS_DOWNLOAD_URL
The default plugins download URL
|
static Localizer |
mLocalizer |
(package private) static String |
SHOW_REGISTER_TEXT |
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() |
SoftReferenceCache<String,File> |
getIconCache() |
PluginInfo |
getInfo()
Gets information about this TvDataService
|
Properties |
getProperties() |
SettingsPanel |
getSettingsPanel() |
static Version |
getVersion() |
boolean |
hasRightToDownloadIcons() |
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.
|
checkForAvailableChannels, getAPIVersion, getAvailableChannels, getButtonAction, getButtonActionDescription, getContextMenuActions, getId, getParentFrame, getPluginManager, handleTvBrowserStartFinished, setParent, setPluginManager, supportsAutoUpdate
public static final String DEFAULT_PLUGINS_DOWNLOAD_URL
public static final Localizer mLocalizer
static final String SHOW_REGISTER_TEXT
public SweDBTvDataService()
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 loadSettings(Properties settings)
public Properties storeSettings()
public Channel[] getAvailableChannels(ChannelGroup group)
public Channel[] checkForAvailableChannels(ChannelGroup group, ProgressMonitor monitor) throws TvBrowserException
TvDataService
TvBrowserException
public boolean hasRightToDownloadIcons()
public SoftReferenceCache<String,File> getIconCache()
public Properties getProperties()
public ChannelGroup[] checkForAvailableChannelGroups(ProgressMonitor monitor) throws TvBrowserException
TvBrowserException
public static Version getVersion()
public PluginInfo getInfo()
TvDataService
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)