org.dvb.application
Class AppsDatabaseFilter

java.lang.Object
  extended by org.dvb.application.AppsDatabaseFilter
Direct Known Subclasses:
CurrentServiceFilter, RunningApplicationsFilter

public abstract class AppsDatabaseFilter
extends java.lang.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

Constructor Summary
AppsDatabaseFilter()
          Construct an AppsDatabaseFilter object.
 
Method Summary
abstract  boolean accept(AppID appid)
          Test if a specified appid should be included in the Enumeration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppsDatabaseFilter

public AppsDatabaseFilter()
Construct an AppsDatabaseFilter object.

Method Detail

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