|
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.TvDataBase
public class TvDataBase
| Method Summary | |
|---|---|
void |
addTvDataListener(TvDataBaseListener listener)
|
void |
checkTvDataInventory()
|
void |
close()
|
boolean |
dataAvailable(Date date)
Returns true, if TV data is available on disk for the given date. |
void |
deleteExpiredFiles(int lifespan,
boolean informPlugins)
Deletes expired tvdata files older then lifespan days. |
static String |
getChannelKey(Channel channel)
|
ChannelDayProgram |
getDayProgram(Date date,
Channel channel)
|
static String |
getDayProgramKey(Date date,
Channel channel)
|
static TvDataBase |
getInstance()
|
void |
handleTvBrowserStartFinished()
Handles the pending plugin information if it is to do after TV-Browser start is finished. |
boolean |
isDayProgramAvailable(Date date,
Channel channel)
|
void |
reCalculateTvData(int days,
ProgressMonitor progressMonitor)
Checks all TV-Data for missing length. |
void |
removeTvDataListener(TvDataBaseListener listener)
|
void |
setDayProgram(MutableChannelDayProgram prog)
|
protected void |
updateTvDataBase()
Updates the TV data base. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static TvDataBase getInstance()
protected void updateTvDataBase()
public void checkTvDataInventory()
public void handleTvBrowserStartFinished()
public void close()
throws IOException
IOExceptionpublic void addTvDataListener(TvDataBaseListener listener)
public void removeTvDataListener(TvDataBaseListener listener)
public ChannelDayProgram getDayProgram(Date date,
Channel channel)
public void reCalculateTvData(int days,
ProgressMonitor progressMonitor)
days - The number of days to recalculateprogressMonitor - display status of the recalculationpublic void setDayProgram(MutableChannelDayProgram prog)
public static String getDayProgramKey(Date date,
Channel channel)
public static String getChannelKey(Channel channel)
public boolean isDayProgramAvailable(Date date,
Channel channel)
public void deleteExpiredFiles(int lifespan,
boolean informPlugins)
lifespan - The number of days to delete from the pastinformPlugins - If the plugins should be informed about the deleting.public boolean dataAvailable(Date date)
date - The date to check.
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||