|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.kernel.modules.podcast.PodcastFeed
public class PodcastFeed
Represents a rss or atom podcast feed.
Constructor Summary | |
---|---|
PodcastFeed(java.lang.String name,
java.lang.String url)
Constructor. |
Method Summary | |
---|---|
void |
addEntries(java.util.List<? extends PodcastFeedEntry> entries,
boolean removeOld)
Sets the entries of this podcast feed and removes old entries if specified. |
boolean |
equals(java.lang.Object o)
|
java.util.List<AudioObject> |
getAudioObjects()
Returns the audio objects of this tree object. |
static java.util.Comparator<PodcastFeed> |
getComparator()
Gets the comparator. |
FeedType |
getFeedType()
Gets the feed type. |
java.lang.String |
getName()
Gets the name. |
java.util.List<PodcastFeedEntry> |
getPodcastFeedEntries()
Gets the podcast feed entries. |
java.lang.String |
getUrl()
Gets the url. |
int |
hashCode()
|
boolean |
hasNewEntries()
Checks for new entries. |
boolean |
isRetrieveNameFromFeed()
Returns if the name should be retrieved from the feed |
void |
markEntriesAsListened()
Marks the entries of this podcast feed as listened. |
void |
markEntriesAsNotNew()
Marks the entries of this podcastfeed as not new. |
void |
removeEntry(PodcastFeedEntry podcastFeedEntry)
Removed Podcast feed entry from this Podcast feed. |
void |
setFeedType(FeedType feedType)
Sets the feed type. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setRetrieveNameFromFeed(boolean retrieveNameFromFeed)
Sets if the name should be retrieved from the feed |
void |
setUrl(java.lang.String url)
Sets the url. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PodcastFeed(java.lang.String name, java.lang.String url)
name
- the name of the podcast feedurl
- the url of the podcast feedMethod Detail |
---|
public static java.util.Comparator<PodcastFeed> getComparator()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.util.List<AudioObject> getAudioObjects()
TreeObject
getAudioObjects
in interface TreeObject
public FeedType getFeedType()
public java.lang.String getName()
public java.util.List<PodcastFeedEntry> getPodcastFeedEntries()
public java.lang.String getUrl()
public int hashCode()
hashCode
in class java.lang.Object
public boolean hasNewEntries()
public boolean isRetrieveNameFromFeed()
public void markEntriesAsListened()
public void markEntriesAsNotNew()
public void addEntries(java.util.List<? extends PodcastFeedEntry> entries, boolean removeOld)
entries
- The entries of this podcast feedremoveOld
- If old entries should be removedpublic void removeEntry(PodcastFeedEntry podcastFeedEntry)
podcastFeedEntry
- The Podcast feed entr that should be removedpublic void setFeedType(FeedType feedType)
feedType
- the feedType of the podcast feed to setpublic void setName(java.lang.String name)
name
- the name of the podcast feed to setpublic void setUrl(java.lang.String url)
url
- the url of the podcast feed to setpublic void setRetrieveNameFromFeed(boolean retrieveNameFromFeed)
retrieveNameFromFeed
- if the name should be retrieved from the feedpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |