tvbrowser.extras.favoritesplugin.core
Class Exclusion
java.lang.Object
tvbrowser.extras.favoritesplugin.core.Exclusion
public class Exclusion
- extends java.lang.Object
Constructor Summary |
Exclusion(java.io.ObjectInputStream in)
|
Exclusion(java.lang.String title,
java.lang.String topic,
Channel channel,
int timeFrom,
int timeTo,
int dayOfWeek,
java.lang.String filterName,
java.lang.String episodeTitle)
Creates a new exclusion criteria. |
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
Exclusion
public Exclusion(java.lang.String title,
java.lang.String topic,
Channel channel,
int timeFrom,
int timeTo,
int dayOfWeek,
java.lang.String filterName,
java.lang.String episodeTitle)
- 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;episodeTitle
- null, if any episode title is allowed
Exclusion
public Exclusion(java.io.ObjectInputStream in)
throws java.lang.ClassNotFoundException,
java.io.IOException
- Throws:
java.lang.ClassNotFoundException
java.io.IOException
writeData
public void writeData(java.io.ObjectOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
getTitle
public java.lang.String getTitle()
getTopic
public java.lang.String getTopic()
getEpisodeTitle
public java.lang.String getEpisodeTitle()
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 3.3.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)