|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object util.tvdataservice.ProgramDispatcher
public class ProgramDispatcher
You can pass Program objects to this dispatcher and it will put it in the right AbstractChannelDayProgram.
After passing all programs to the dispatcher you can request the AbstractChannelDayPrograms.
Constructor Summary | |
---|---|
ProgramDispatcher()
Creates a new instance of ProgramDispatcher. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProgramDispatcher()
Method Detail |
---|
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 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |