public class ProgramDispatcher extends Object
After passing all programs to the dippatcher you can request the AbstractChannelDayPrograms.
Constructor and Description |
---|
ProgramDispatcher()
Creates a new instance of ProgramDispatcher.
|
Modifier and Type | Method and Description |
---|---|
void |
dispatch(Program program)
Dispatches the specified program to the right ChannelDayProgram.
|
MutableChannelDayProgram |
getChannelDayProgram(Date date,
Channel channel)
Gets the ChannelDayProgram of the specified date and channel.
|
public ProgramDispatcher()
public void dispatch(Program program)
If there is no such ChannelDayProgram, it will be created.
program
- The program to dispatchpublic MutableChannelDayProgram getChannelDayProgram(Date date, Channel channel)
date
- The date of the wanted ChannelDayProgram.channel
- The channel of the wanted ChannelDayProgram.TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)