|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttvbrowser.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(File file,
Date date,
Channel channel)
|
|
OnDemandDayProgramFile(File file,
MutableChannelDayProgram dayProgram)
|
|
| Method Summary | |
|---|---|
void |
calculateTimeLimits()
Calcualtes the time limits of this file. |
MutableChannelDayProgram |
getDayProgram()
|
boolean |
isTimeLimitationData()
Gets if this file data file is loaden for data base. |
void |
loadDayProgram(boolean update)
Loads the day program for on demand access. |
(package private) 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(File file,
Date date,
Channel channel)
public OnDemandDayProgramFile(File file,
MutableChannelDayProgram dayProgram)
| Method Detail |
|---|
public void setValid(boolean valid)
public MutableChannelDayProgram getDayProgram()
public void loadDayProgram(boolean update)
throws IOException,
ClassNotFoundException
update - True if this is called from TV data update,
false otherwise.
IOException
ClassNotFoundException
public void saveDayProgram()
throws IOException
IOException
Object loadFieldValue(long position,
ProgramFieldType type)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundExceptionpublic boolean isTimeLimitationData()
True if this data is used in program table,
false if this data is used for data updae.public void calculateTimeLimits()
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||