|
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.TvDataUpdater
public class TvDataUpdater
Updates the TV data.
Method Summary | |
---|---|
void |
addTvDataUpdateListener(TvDataUpdateListener listener)
|
void |
downloadTvData(int daysToDownload,
TvDataServiceProxy[] services,
javax.swing.JProgressBar progressBar,
javax.swing.JLabel label)
Download the new TV data |
(package private) void |
fireTvDataUpdateFinished()
|
(package private) void |
fireTvDataUpdateStarted(Date until)
|
static TvDataUpdater |
getInstance()
|
boolean |
isDownloading()
Gets whether the TV data updater is currently downloading data. |
boolean |
isUpdating()
|
void |
removeTvDataUpdateListener(TvDataUpdateListener listener)
|
void |
stopDownload()
Stops the current download. |
boolean |
tvDataWasChanged()
check whether the last TV data update changed some data in the TV database |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TvDataUpdater getInstance()
public void addTvDataUpdateListener(TvDataUpdateListener listener)
public void removeTvDataUpdateListener(TvDataUpdateListener listener)
public boolean isDownloading()
true
, if the TV data updater is currently downloading
data.public void downloadTvData(int daysToDownload, TvDataServiceProxy[] services, javax.swing.JProgressBar progressBar, javax.swing.JLabel label)
daysToDownload
- The number of days until today to download the
program for.public boolean isUpdating()
void fireTvDataUpdateStarted(Date until)
void fireTvDataUpdateFinished()
public void stopDownload()
public boolean tvDataWasChanged()
true
, if data was changed during last update
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |