public class zap2itimporter extends Object implements TvDataService
Modifier and Type | Class and Description |
---|---|
(package private) class |
zap2itimporter.Zap2itChannelGroup |
Modifier and Type | Field and Description |
---|---|
protected static String |
CHANNEL_ID |
protected static String |
CHANNEL_NAME |
protected static String |
CHANNEL_NUMBER |
protected String |
mPassword |
protected String |
mUsername |
protected static String |
PASS |
protected static String |
USER |
Constructor and Description |
---|
zap2itimporter()
Creates a new instance of zap2itImporter
|
Modifier and Type | Method and Description |
---|---|
Channel[] |
checkForAvailableChannels(ProgressMonitor monitor) |
Version |
getAPIVersion()
Gets the Version of the implemented API
Since TV-Browser 0.9.7 getAPIVersion must return 1.0
|
Channel[] |
getAvailableChannels()
Gets the list of the mChannels that are available by this data service.
|
PluginInfo |
getInfo()
Gets information about this TvDataService
|
SettingsPanel |
getSettingsPanel() |
boolean |
hasSettingsPanel() |
void |
loadSettings(Properties settings)
Called by the host-application during start-up.
|
void |
setWorkingDirectory(File dataDir) |
Properties |
storeSettings()
Called by the host-application during shut-down.
|
boolean |
supportsDynamicChannelList() |
void |
updateTvData(TvDataUpdateManager updateManager,
Channel[] channelArr,
Date startDate,
int dateCount,
ProgressMonitor monitor)
Updates the TV data provided by this data service.
|
protected static final String USER
protected static final String PASS
protected static final String CHANNEL_NAME
protected static final String CHANNEL_ID
protected static final String CHANNEL_NUMBER
protected String mUsername
protected String mPassword
public Channel[] checkForAvailableChannels(ProgressMonitor monitor) throws TvBrowserException
checkForAvailableChannels
in interface TvDataService
TvBrowserException
public Version getAPIVersion()
getAPIVersion
in interface TvDataService
public Channel[] getAvailableChannels()
getAvailableChannels
in interface TvDataService
public PluginInfo getInfo()
getInfo
in interface TvDataService
public SettingsPanel getSettingsPanel()
getSettingsPanel
in interface TvDataService
public boolean hasSettingsPanel()
hasSettingsPanel
in interface TvDataService
public void loadSettings(Properties settings)
loadSettings
in interface TvDataService
public void setWorkingDirectory(File dataDir)
setWorkingDirectory
in interface TvDataService
public Properties storeSettings()
storeSettings
in interface TvDataService
public boolean supportsDynamicChannelList()
supportsDynamicChannelList
in interface TvDataService
public void updateTvData(TvDataUpdateManager updateManager, Channel[] channelArr, Date startDate, int dateCount, ProgressMonitor monitor) throws TvBrowserException
updateTvData
in interface TvDataService
TvBrowserException
TV-Browser 2.2.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)