org.dvb.application
Class AppsDatabaseFilter
java.lang.Object
org.dvb.application.AppsDatabaseFilter
- Direct Known Subclasses:
- AppFilter, CurrentServiceFilter, RunningApplicationsFilter
public abstract class AppsDatabaseFilter
- extends Object
Abstract class for the filters.
Instances of concrete classes that extend AppsDatabaseFilter
are passed to the AppsDatabase.getAppAttributes and AppsDatabase.getAppIDs methods
to allow an applications to set a filter on the list of applications
(respectively AppAttributes and AppIDs) that it wants
to retrieve from the AppDatabase.
- Since:
- MHP 1.0
Method Summary |
abstract boolean |
accept(AppID appid)
Test if a specified appid should be included in the Enumeration. |
AppsDatabaseFilter
public AppsDatabaseFilter()
- Construct an AppsDatabaseFilter object.
accept
public abstract boolean accept(AppID appid)
- Test if a specified appid should be included in the Enumeration.
- Parameters:
appid
- the specified appid to test.
- Returns:
- true if the application with identifier appid should be listed, false otherwise.
- Since:
- MHP1.0