Module tvbrowser

Class SeparatorFilter

  • All Implemented Interfaces:
    ProgramFilter

    public class SeparatorFilter
    extends java.lang.Object
    implements ProgramFilter
    This Filter filters is not a real Filter, it only is used to mark seperators
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String KEY  
    • Constructor Summary

      Constructors 
      Constructor Description
      SeparatorFilter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(Program prog)  
      java.lang.String getName()  
      java.lang.String toString()
      Name of Filter
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SeparatorFilter

        public SeparatorFilter()
    • Method Detail

      • accept

        public boolean accept​(Program prog)
        Specified by:
        accept in interface ProgramFilter
        Parameters:
        prog - 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
      • toString

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