|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProgramSearcher
A searcher that searches for a programs.
| Method Summary | |
|---|---|
boolean |
matches(Program prog,
ProgramFieldType[] typeArr)
Checks whether a field of a program matches to the criteria of this searcher. |
Program[] |
search(ProgramFieldType[] fieldArr,
Date startDate,
int nrDays,
Channel[] channels,
boolean sortByStartTime)
Searches the TV data base for programs that match the criteria of this searcher. |
Program[] |
search(ProgramFieldType[] fieldArr,
Date startDate,
int nrDays,
Channel[] channels,
boolean sortByStartTime,
ProgressMonitor progress)
Searches the TV data base for programs that match the criteria of this searcher. |
Program[] |
search(ProgramFieldType[] fieldArr,
Date startDate,
int nrDays,
Channel[] channels,
boolean sortByStartTime,
ProgressMonitor progress,
DefaultListModel listModel)
Searches the TV data base for programs that match the criteria of this searcher. |
| Method Detail |
|---|
boolean matches(Program prog,
ProgramFieldType[] typeArr)
prog - The program to check.typeArr - The fields to check.
Program[] search(ProgramFieldType[] fieldArr,
Date startDate,
int nrDays,
Channel[] channels,
boolean sortByStartTime)
fieldArr - The fields to search instartDate - The date to start the search.nrDays - The number of days to include after the start date. If
negative the days before the start date are used.channels - The channels to search in.sortByStartTime - Should the results be sorted by the start time?
If not, the results will be grouped by date and channel and the
search will be faster.
Program[] search(ProgramFieldType[] fieldArr,
Date startDate,
int nrDays,
Channel[] channels,
boolean sortByStartTime,
ProgressMonitor progress)
fieldArr - The fields to search instartDate - The date to start the search.nrDays - The number of days to include after the start date. If
negative the days before the start date are used.channels - The channels to search in.sortByStartTime - Should the results be sorted by the start time?
If not, the results will be grouped by date and channel and the
search will be faster.progress - progressMonitor for showing the search progress
Program[] search(ProgramFieldType[] fieldArr,
Date startDate,
int nrDays,
Channel[] channels,
boolean sortByStartTime,
ProgressMonitor progress,
DefaultListModel listModel)
fieldArr - The fields to search instartDate - The date to start the search.nrDays - The number of days to include after the start date. If
negative the days before the start date are used.channels - The channels to search in.sortByStartTime - Should the results be sorted by the start time?
If not, the results will be grouped by date and channel and the
search will be faster.progress - progressMonitor for showing the search progresslistModel - The list model the found programs should be stored in.
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||