tvbrowser.extras.favoritesplugin.core
Class Exclusion
java.lang.Object
tvbrowser.extras.favoritesplugin.core.Exclusion
public class Exclusion
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DAYLIMIT_DAILY
public static final int DAYLIMIT_DAILY
- See Also:
- Constant Field Values
DAYLIMIT_WEEKEND
public static final int DAYLIMIT_WEEKEND
- See Also:
- Constant Field Values
DAYLIMIT_WEEKDAY
public static final int DAYLIMIT_WEEKDAY
- See Also:
- Constant Field Values
DAYLIMIT_SUNDAY
public static final int DAYLIMIT_SUNDAY
- See Also:
- Constant Field Values
DAYLIMIT_MONDAY
public static final int DAYLIMIT_MONDAY
- See Also:
- Constant Field Values
DAYLIMIT_TUESDAY
public static final int DAYLIMIT_TUESDAY
- See Also:
- Constant Field Values
DAYLIMIT_WEDNESDAY
public static final int DAYLIMIT_WEDNESDAY
- See Also:
- Constant Field Values
DAYLIMIT_THURSDAY
public static final int DAYLIMIT_THURSDAY
- See Also:
- Constant Field Values
DAYLIMIT_FRIDAY
public static final int DAYLIMIT_FRIDAY
- See Also:
- Constant Field Values
DAYLIMIT_SATURDAY
public static final int DAYLIMIT_SATURDAY
- See Also:
- Constant Field Values
Exclusion
public Exclusion(String title,
String topic,
Channel channel,
int timeFrom,
int timeTo,
int dayOfWeek,
String filterName)
- Creates a new exclusion criteria.
- Parameters:
title - null, if any title is allowedtopic - null, if any keyword is allowedchannel - null, if any channel is allowedtimeFrom - lower time limit (or -1, if no lower limit exists)timeTo - upper time limit (or -1, if no upper limit exists)dayOfWeek - The day of week to use.filterName - The name of the filter to use;
Exclusion
public Exclusion(ObjectInputStream in)
throws ClassNotFoundException,
IOException
- Throws:
ClassNotFoundException
IOException
writeData
public void writeData(ObjectOutputStream out)
throws IOException
- Throws:
IOException
getTitle
public String getTitle()
getTopic
public String getTopic()
getFilter
public ProgramFilter getFilter()
getChannel
public Channel getChannel()
getTimeLowerBound
public int getTimeLowerBound()
getTimeUpperBound
public int getTimeUpperBound()
getDayOfWeek
public int getDayOfWeek()
isProgramExcluded
public boolean isProgramExcluded(Program prog)
isInvalid
public boolean isInvalid()
- Gets if this Exclusion is invalid.
- Returns:
True if this Exclusion is invalid, false otherwise.
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)