public class AdvancedFavorite extends Favorite implements PendingFilterLoader
Modifier and Type | Class and Description |
---|---|
(package private) class |
AdvancedFavorite.Configurator |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_ID |
mSearchFormSettings
Constructor and Description |
---|
AdvancedFavorite(java.io.ObjectInputStream in) |
AdvancedFavorite(java.lang.String searchText) |
Modifier and Type | Method and Description |
---|---|
FavoriteConfigurator |
createConfigurator() |
java.lang.String |
getName() |
java.lang.String |
getTypeID() |
protected Program[] |
internalSearchForPrograms() |
protected void |
internalWriteData(java.io.ObjectOutputStream out) |
boolean |
isValidSearch() |
static AdvancedFavorite |
loadOldFavorite(java.io.ObjectInputStream in)
Loads an old version favorite.
|
void |
loadPendingFilter()
Loads the filters after TV-Browser start was finished.
|
boolean |
matches(Program p)
This function tries to match the given program with the favorite
|
accept, addExclusion, addToBlackList, clearNewPrograms, clearRemovedPrograms, contains, containsReceiveTarget, getBlackListPrograms, getChannels, getExclusions, getFilterKey, getForwardPlugins, getLimitationConfiguration, getNewPrograms, getPrograms, getReminderConfiguration, getSearcher, getWhiteListPrograms, getWhiteListPrograms, handleContainingPrograms, handleNewGlobalReceiveTargets, hasFilterForKey, isOnBlackList, isProvidingFilter, isRemindAfterDownload, refreshBlackList, refreshPrograms, removeExclusion, removeFromBlackList, removeProgram, reValidateChannelLimitation, revalidatePrograms, searchNewPrograms, setExclusions, setForwardPlugins, setName, setProvideFilter, setRemindAfterDownload, tryToMatch, updatePrograms, updatePrograms, updatePrograms, writeData
public static final java.lang.String TYPE_ID
public AdvancedFavorite(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public AdvancedFavorite(java.lang.String searchText)
public FavoriteConfigurator createConfigurator()
createConfigurator
in class Favorite
protected void internalWriteData(java.io.ObjectOutputStream out) throws java.io.IOException
internalWriteData
in class Favorite
java.io.IOException
public static AdvancedFavorite loadOldFavorite(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
in
- The stream to read from.java.io.IOException
- Thrown if something went wrong.java.lang.ClassNotFoundException
- Thrown if somethinge went wrong.protected Program[] internalSearchForPrograms() throws TvBrowserException
internalSearchForPrograms
in class Favorite
TvBrowserException
public boolean matches(Program p) throws TvBrowserException
Favorite
matches
in class Favorite
p
- check if this program matchestrue
if the program matchesTvBrowserException
- exception during matchingpublic void loadPendingFilter()
loadPendingFilter
in interface PendingFilterLoader
public boolean isValidSearch()
isValidSearch
in class Favorite
TV-Browser 3.4.4, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)