- java.lang.Object
-
- tvbrowser.core.tvdataservice.ChannelGroupManager
-
public class ChannelGroupManager extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkForAvailableGroupsAndChannels(ProgressMonitor monitor)
Refresh the list of available groups and refresh the lists of available channelsChannelGroup[]
getAvailableGroups()
ChannelGroup[]
getAvailableGroups(AbstractTvDataServiceProxy proxy)
Returns all Groups for a TvDataServiceProxystatic ChannelGroupManager
getInstance()
TvDataServiceProxy
getTvDataService(ChannelGroup group)
ChannelGroup[]
getUsedGroups(AbstractTvDataServiceProxy proxy)
Return the groups which are needed for TV-Browser start.
-
-
-
Method Detail
-
getInstance
public static ChannelGroupManager getInstance()
-
getTvDataService
public TvDataServiceProxy getTvDataService(ChannelGroup group)
-
checkForAvailableGroupsAndChannels
public void checkForAvailableGroupsAndChannels(ProgressMonitor monitor)
Refresh the list of available groups and refresh the lists of available channels- Parameters:
monitor
- Progress monitor that shows the current status of the refresh
-
getAvailableGroups
public ChannelGroup[] getAvailableGroups()
-
getAvailableGroups
public ChannelGroup[] getAvailableGroups(AbstractTvDataServiceProxy proxy)
Returns all Groups for a TvDataServiceProxy- Parameters:
proxy
- get Groups for this TvDataService- Returns:
- ChannelGroups
-
getUsedGroups
public ChannelGroup[] getUsedGroups(AbstractTvDataServiceProxy proxy)
Return the groups which are needed for TV-Browser start.- Parameters:
proxy
- The TvDataService to get the groups from.- Returns:
- The needed ChannelGroups.
- Since:
- 2.3
-
-