|
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 tvbrowser.core.data.OnDemandDayProgramFile
public class OnDemandDayProgramFile
An encapsulated access on a file containing TV data that allows an access of single data fields on demand.
Constructor Summary | |
---|---|
OnDemandDayProgramFile(java.io.File file,
Date date,
Channel channel)
|
|
OnDemandDayProgramFile(java.io.File file,
MutableChannelDayProgram dayProgram)
|
Method Summary | |
---|---|
void |
calculateTimeLimits()
Calculates the time limits of this file. |
MutableChannelDayProgram |
getDayProgram()
|
boolean |
isTimeLimitationData()
Gets if this file data file is loaded for data base. |
void |
loadDayProgram(boolean update)
Loads the day program for on demand access. |
(package private) java.lang.Object |
loadFieldValue(long position,
ProgramFieldType type)
|
void |
saveDayProgram()
Saves the day program to the on demand data file. |
void |
setValid(boolean valid)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OnDemandDayProgramFile(java.io.File file, Date date, Channel channel)
public OnDemandDayProgramFile(java.io.File file, MutableChannelDayProgram dayProgram)
Method Detail |
---|
public void setValid(boolean valid)
public MutableChannelDayProgram getDayProgram()
public void loadDayProgram(boolean update) throws java.io.IOException, java.lang.ClassNotFoundException
update
- True
if this is called from TV data update,
false
otherwise.
java.io.IOException
java.lang.ClassNotFoundException
public void saveDayProgram() throws java.io.IOException
java.io.IOException
java.lang.Object loadFieldValue(long position, ProgramFieldType type) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public boolean isTimeLimitationData()
True
if this data is used in program table,
false
if this data is used for data update.public void calculateTimeLimits()
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |