Module tvbrowser

Class SingleChannelFilter

    • Constructor Detail

      • SingleChannelFilter

        public SingleChannelFilter​(Channel channel)
    • 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
      • store

        public void store​(java.lang.String id,
                          java.io.ObjectOutputStream out)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • isValidChannel

        public boolean isValidChannel()
      • containsChannel

        public boolean containsChannel​(Channel ch)
      • toString

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