public class OnDemandDayProgramFile extends Object
Constructor and Description |
---|
OnDemandDayProgramFile(File file,
Date date,
Channel channel) |
OnDemandDayProgramFile(File file,
MutableChannelDayProgram dayProgram) |
Modifier and Type | Method and Description |
---|---|
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) |
public OnDemandDayProgramFile(File file, MutableChannelDayProgram dayProgram)
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
ClassNotFoundException
public 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.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)