TV-Browser 2.7.5 API

tvbrowser.core.filters
Class SubtitleFilter

java.lang.Object
  extended by tvbrowser.core.filters.SubtitleFilter
All Implemented Interfaces:
ProgramFilter

public class SubtitleFilter
extends Object
implements ProgramFilter

This Filter filters Movies that have a Subtitle for Handicaped Persons or are Original with Subtitle


Constructor Summary
SubtitleFilter()
           
 
Method Summary
 boolean accept(Program prog)
          Accept only Programs with Subtitle
 boolean equals(Object o)
           
 String getName()
           
 String toString()
          Name of Filter
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubtitleFilter

public SubtitleFilter()
Method Detail

accept

public boolean accept(Program prog)
Accept only Programs with Subtitle

Specified by:
accept in interface ProgramFilter
Parameters:
prog - Program to check
Returns:
true if prog is subtitled

getName

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

toString

public String toString()
Name of Filter

Specified by:
toString in interface ProgramFilter
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)