|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdevplugin.AbstractTvDataService
radiotimesdataservice.RadioTimesDataService
public class RadioTimesDataService
This Dataservice collects Data from http://xmltv.radiotimes.com/xmltv/channels.dat and http://xmltv.radiotimes.com/xmltv/92.dat
| Field Summary | |
|---|---|
(package private) static String |
BASEURL
Base-URL |
(package private) static String |
RADIOTIMES
Prefix for Channels |
| Constructor Summary | |
|---|---|
RadioTimesDataService()
|
|
| Method Summary | |
|---|---|
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 |
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. |
| Methods inherited from class devplugin.AbstractTvDataService |
|---|
checkForAvailableChannels, getAPIVersion, getAvailableChannels, getButtonAction, getButtonActionDescription, getContextMenuActions, getId, getParentFrame, getPluginManager, handleTvBrowserStartFinished, setParent, setPluginManager, supportsAutoUpdate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final String RADIOTIMES
static final String BASEURL
| Constructor Detail |
|---|
public RadioTimesDataService()
| Method Detail |
|---|
public ChannelGroup[] checkForAvailableChannelGroups(ProgressMonitor monitor)
throws TvBrowserException
TvBrowserException
public Channel[] checkForAvailableChannels(ChannelGroup group,
ProgressMonitor monitor)
throws TvBrowserException
TvDataService
TvBrowserExceptionpublic Channel[] getAvailableChannels(ChannelGroup group)
TvDataService
public ChannelGroup[] getAvailableGroups()
public static Version getVersion()
public PluginInfo getInfo()
TvDataService
public SettingsPanel getSettingsPanel()
public boolean hasSettingsPanel()
TvDataService
public void loadSettings(Properties settings)
TvDataService
public Properties storeSettings()
TvDataService
public void setWorkingDirectory(File dataDir)
TvDataService
public boolean supportsDynamicChannelGroups()
public boolean supportsDynamicChannelList()
public void updateTvData(TvDataUpdateManager updateManager,
Channel[] channelArr,
Date startDate,
int dateCount,
ProgressMonitor monitor)
throws TvBrowserException
TvDataService
TvBrowserException
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||