|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcaptureplugin.drivers.defaultdriver.ProgramTimeList
public class ProgramTimeList
A List of ProgramTimes
| Constructor Summary | |
|---|---|
ProgramTimeList()
Create empty List |
|
ProgramTimeList(ProgramTimeList list)
Copy another List |
|
| Method Summary | |
|---|---|
void |
add(ProgramTime prgTime)
Add ProgramTime to List |
Object |
clone()
Clone |
boolean |
contains(Program program)
Contains Progam in list? |
int |
getMaxProgramsInTime(ProgramTime prgTime)
Returns the Maximum amount of overlapping Programs |
ProgramTime |
getProgamTimeForProgram(Program program)
Get ProgramTime for a specific Program |
Program[] |
getPrograms()
Returns an Array of Programs in this List |
ProgramTime[] |
getProgramTimes()
Returns an Array of ProgramTimes in this List |
void |
readData(ObjectInputStream in)
Read Data from Stream |
void |
remove(ProgramTime prgTime)
Removes a ProgramTime from List |
void |
writeData(ObjectOutputStream out)
Save data to Stream |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProgramTimeList()
public ProgramTimeList(ProgramTimeList list)
list - List to copy| Method Detail |
|---|
public Object clone()
clone in class Objectpublic boolean contains(Program program)
program - Program
public void add(ProgramTime prgTime)
prgTime - ProgramTime to addpublic ProgramTime getProgamTimeForProgram(Program program)
program - Program
public void remove(ProgramTime prgTime)
prgTime - ProgramTimepublic Program[] getPrograms()
public ProgramTime[] getProgramTimes()
public void writeData(ObjectOutputStream out)
throws IOException
out - save to this stream
IOException - problems during save operation
public void readData(ObjectInputStream in)
throws IOException,
ClassNotFoundException
in - read from this stream
IOException - problems during read operation
ClassNotFoundException - class creation problemspublic int getMaxProgramsInTime(ProgramTime prgTime)
prgTime - Check for Time-Overlappings with this Program
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||