TV-Browser 3.4 API

tvbrowser.extras.favoritesplugin.core
Class FavoriteFilter

java.lang.Object
  extended by tvbrowser.extras.favoritesplugin.core.FavoriteFilter
All Implemented Interfaces:
ProgramFilter

public class FavoriteFilter
extends java.lang.Object
implements ProgramFilter


Constructor Summary
FavoriteFilter(Favorite favorite)
           
 
Method Summary
 boolean accept(Program program)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getKeyValue()
           
 java.lang.String getName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FavoriteFilter

public FavoriteFilter(Favorite favorite)
Method Detail

accept

public boolean accept(Program program)
Specified by:
accept in interface ProgramFilter
Parameters:
program - the program to be checked
Returns:
true, if the filter accepts the specified program

getName

public java.lang.String getName()
Specified by:
getName in interface ProgramFilter
Returns:
the name of this filter

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getKeyValue

public java.lang.String getKeyValue()

toString

public java.lang.String toString()
Specified by:
toString in interface ProgramFilter
Overrides:
toString in class java.lang.Object

TV-Browser 3.4 API

TV-Browser 3.4, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)