TV-Browser 2.7.5 API

tvbrowser.core.filters
Class UserFilter

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

public class UserFilter
extends Object
implements ProgramFilter


Constructor Summary
UserFilter(File file)
           
UserFilter(String name)
           
 
Method Summary
 boolean accept(Program prog)
           
 boolean containsRuleComponent(String comp)
           
 void delete()
           
 boolean equals(Object o)
           
 String getName()
           
 String getRule()
           
 void setName(String name)
           
 void setRule(String rule)
           
 void store()
           
static void testTokenTree(String rule)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserFilter

public UserFilter(String name)

UserFilter

public UserFilter(File file)
           throws ParserException
Throws:
ParserException
Method Detail

store

public void store()

delete

public void delete()

testTokenTree

public static void testTokenTree(String rule)
                          throws ParserException
Throws:
ParserException

accept

public boolean accept(Program prog)
Specified by:
accept in interface ProgramFilter
Returns:
true, if the filter accepts the specified program

setName

public void setName(String name)

getName

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

toString

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

setRule

public void setRule(String rule)
             throws ParserException
Throws:
ParserException

getRule

public String getRule()

containsRuleComponent

public boolean containsRuleComponent(String comp)

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)