tvbrowser.extras.favoritesplugin.core
Class AdvancedFavorite
java.lang.Object
tvbrowser.extras.favoritesplugin.core.Favorite
tvbrowser.extras.favoritesplugin.core.AdvancedFavorite
public class AdvancedFavorite
- extends Favorite
Field Summary |
static java.lang.String |
TYPE_ID
|
Methods inherited from class tvbrowser.extras.favoritesplugin.core.Favorite |
addExclusion, addToBlackList, clearNewPrograms, clearRemovedPrograms, contains, containsReceiveTarget, getBlackListPrograms, getChannels, getExclusions, getForwardPlugins, getLimitationConfiguration, getNewPrograms, getPrograms, getReminderConfiguration, getSearcher, getWhiteListPrograms, getWhiteListPrograms, handleContainingPrograms, handleNewGlobalReceiveTargets, isOnBlackList, isRemindAfterDownload, refreshBlackList, refreshPrograms, removeExclusion, removeFromBlackList, removeProgram, reValidateChannelLimitation, revalidatePrograms, searchNewPrograms, setExclusions, setForwardPlugins, setName, setRemindAfterDownload, tryToMatch, updatePrograms, updatePrograms, updatePrograms, writeData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_ID
public static final java.lang.String TYPE_ID
- See Also:
- Constant Field Values
AdvancedFavorite
public AdvancedFavorite(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
AdvancedFavorite
public AdvancedFavorite(java.lang.String searchText)
getTypeID
public java.lang.String getTypeID()
- Specified by:
getTypeID
in class Favorite
getName
public java.lang.String getName()
- Overrides:
getName
in class Favorite
createConfigurator
public FavoriteConfigurator createConfigurator()
- Specified by:
createConfigurator
in class Favorite
internalWriteData
protected void internalWriteData(java.io.ObjectOutputStream out)
throws java.io.IOException
- Specified by:
internalWriteData
in class Favorite
- Throws:
java.io.IOException
loadOldFavorite
public static AdvancedFavorite loadOldFavorite(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Loads an old version favorite.
- Parameters:
in
- The stream to read from.
- Returns:
- The loaded AdvancedFavorite.
- Throws:
java.io.IOException
- Thrown if something went wrong.
java.lang.ClassNotFoundException
- Thrown if somethinge went wrong.
internalSearchForPrograms
protected Program[] internalSearchForPrograms()
throws TvBrowserException
- Overrides:
internalSearchForPrograms
in class Favorite
- Throws:
TvBrowserException
matches
public boolean matches(Program p)
throws TvBrowserException
- Description copied from class:
Favorite
- This function tries to match the given program with the favorite
- Overrides:
matches
in class Favorite
- Parameters:
p
- check if this program matches
- Returns:
true
if the program matches
- Throws:
TvBrowserException
- exception during matching
loadPendingFilter
public void loadPendingFilter()
- Loads the filters after TV-Browser start was finished.
- Since:
- 2.5.1
TV-Browser 3.3.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)