|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.atunes.kernel.handlers.PodcastFeedHandler
public class PodcastFeedHandler
The Class PodcastFeedHandler.
| Field Summary | |
|---|---|
static long |
DEFAULT_PODCAST_FEED_ENTRIES_RETRIEVAL_INTERVAL
The default podcast feed entries retrieval interval. |
| Method Summary | |
|---|---|
void |
addPodcastFeed()
Adds a Podcast Feed. |
void |
deleteDownloadedPodcastFeedEntry(PodcastFeedEntry podcastFeedEntry)
Delete downloaded podcast feed entry. |
void |
downloadPodcastFeedEntry(PodcastFeedEntry podcastFeedEntry)
Download Podcast Feed Entry. |
void |
finish()
Finish. |
java.lang.String |
getDownloadPath(PodcastFeedEntry podcastFeedEntry)
Gets the download path. |
static PodcastFeedHandler |
getInstance()
Gets the single instance of PodcastFeedHandler. |
java.util.List<PodcastFeedEntry> |
getPodcastFeedEntries()
Returns a list with all Podcast Feed Entries. |
java.util.List<PodcastFeed> |
getPodcastFeeds()
Returns a list with all Podcast Feeds. |
java.lang.Runnable |
getReadPodcastFeedsRunnable()
Runnable process to read podcasts cache. |
boolean |
isDownloaded(PodcastFeedEntry podcastFeedEntry)
Checks if is downloaded. |
boolean |
isDownloading(PodcastFeedEntry podcastFeedEntry)
Checks if is downloading. |
void |
removePodcastFeed(PodcastFeed podcastFeed)
Removes a Podcast Feed. |
void |
retrievePodcastFeedEntries()
Retrieves Podcast Feed Entries and refreshes view asynchronously. |
void |
setPodcastFeedEntryRetrievalInterval(long newRetrievalInterval)
Sets the Podcast Feed Entry retrieval interval. |
void |
startPodcastFeedEntryDownloadChecker()
Start podcast feed entry download checker. |
void |
startPodcastFeedEntryRetriever()
Starts the Podcast Feed Entry Retriever. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long DEFAULT_PODCAST_FEED_ENTRIES_RETRIEVAL_INTERVAL
| Method Detail |
|---|
public static PodcastFeedHandler getInstance()
public void addPodcastFeed()
public void finish()
public java.util.List<PodcastFeed> getPodcastFeeds()
public java.util.List<PodcastFeedEntry> getPodcastFeedEntries()
public java.lang.Runnable getReadPodcastFeedsRunnable()
public void removePodcastFeed(PodcastFeed podcastFeed)
podcastFeed - A Podcast Feed that should be removedpublic void startPodcastFeedEntryRetriever()
public void startPodcastFeedEntryDownloadChecker()
public void setPodcastFeedEntryRetrievalInterval(long newRetrievalInterval)
newRetrievalInterval - The Podcast Feed Entry retrieval intervalpublic void retrievePodcastFeedEntries()
PodcastFeedEntryRetriever.retrievePodcastFeedEntries()public void downloadPodcastFeedEntry(PodcastFeedEntry podcastFeedEntry)
podcastFeedEntry - the podcast feed entrypublic java.lang.String getDownloadPath(PodcastFeedEntry podcastFeedEntry)
podcastFeedEntry - the podcast feed entry
public boolean isDownloaded(PodcastFeedEntry podcastFeedEntry)
podcastFeedEntry - the podcast feed entry
public void deleteDownloadedPodcastFeedEntry(PodcastFeedEntry podcastFeedEntry)
podcastFeedEntry - the podcast feed entrypublic boolean isDownloading(PodcastFeedEntry podcastFeedEntry)
podcastFeedEntry - the podcast feed entry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||