|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object devplugin.ChannelFilter
public final class ChannelFilter
A filter that channels for filters using a ChannelFilterComponent. NOTE: The ChannelFilterComponent cannot be added itself, only the name of the of the ChannelFilterComponent can be provided to load it internal.
Method Summary | |
---|---|
boolean |
accept(Program program)
|
static ChannelFilter |
createChannelFilterForName(java.lang.String name)
Creates a channel filter with the name of the component to create the filter from. |
Channel[] |
getChannels()
Gets all the channels of this channel filter. |
java.lang.String |
getName()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface devplugin.ProgramFilter |
---|
toString |
Method Detail |
---|
public static ChannelFilter createChannelFilterForName(java.lang.String name) throws java.lang.ClassCastException, TvBrowserException
name
- The name of the filter component to create
the channel filter from.
java.lang.ClassCastException
- Thrown if the found component is not a ChannelFilterComponent.
TvBrowserException
- Thrown if the ChannelFilterComponent with the given name was not found.public boolean accept(Program program)
accept
in interface ProgramFilter
program
- the program to be checked
public java.lang.String getName()
getName
in interface ProgramFilter
public Channel[] getChannels()
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |