|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.kernel.modules.podcast.PodcastFeedEntry
public class PodcastFeedEntry
Represents a entry of a podcast feed.
Constructor Summary | |
---|---|
PodcastFeedEntry(java.lang.String name,
java.lang.String author,
java.lang.String url,
java.lang.String description,
java.util.Date date,
long duration,
PodcastFeed podcastFeed)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getAlbum()
Gets the album. |
java.lang.String |
getAlbumArtist()
Gets the album artist. |
java.lang.String |
getArtist()
Gets the artist. |
java.lang.String |
getAuthor()
Gets the author. |
long |
getBitrate()
Gets the bitrate. |
static java.util.Comparator<PodcastFeedEntry> |
getComparator()
Gets the comparator. |
java.lang.String |
getComposer()
Gets the composer. |
java.util.Date |
getDate()
Gets the date. |
java.lang.String |
getDescription()
Gets the description. |
long |
getDuration()
Gets the duration. |
int |
getFrequency()
Gets the frequency. |
java.lang.String |
getGenre()
Gets the genre. |
java.lang.String |
getLyrics()
Gets the lyrics. |
java.lang.String |
getName()
Gets the name. |
PodcastFeed |
getPodcastFeed()
Gets the podcast feed. |
static java.util.List<PodcastFeedEntry> |
getPodcastFeedEntries(java.util.List<AudioObject> audioObjects)
Gets the podcast feed entries. |
int |
getStars()
Gets the stars. |
java.lang.String |
getTitle()
Gets the title. |
java.lang.String |
getTitleOrFileName()
Gets the title or file name. |
java.lang.Integer |
getTrackNumber()
Gets the track number. |
java.lang.String |
getUrl()
Gets the url. |
java.lang.String |
getYear()
Gets the year. |
int |
hashCode()
|
boolean |
isDownloaded()
Checks if is downloaded. |
boolean |
isListened()
Checks if is listened. |
boolean |
isOld()
Checks if is old. |
boolean |
isSeekable()
Checks if is seekable. |
void |
setAuthor(java.lang.String author)
Sets the author. |
void |
setDate(java.util.Date date)
Sets the date. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setDownloaded(boolean downloaded)
Sets the downloaded. |
void |
setListened(boolean listened)
Sets the listened. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setOld(boolean old)
Sets the old. |
void |
setPodcastFeed(PodcastFeed podcastFeed)
Sets the podcast feed. |
void |
setStars(int stars)
Sets the stars. |
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 PodcastFeedEntry(java.lang.String name, java.lang.String author, java.lang.String url, java.lang.String description, java.util.Date date, long duration, PodcastFeed podcastFeed)
name
- the name of the podcast feed entryauthor
- the author of the podcast feed entryurl
- the url of the podcast feed entrydescription
- the description of the podcast feed entrydate
- the date of the podcast feed entryduration
- the duration of the podcast feed entrypodcastFeed
- the corresponding podcast feed of the podcast feed entryMethod Detail |
---|
public static java.util.Comparator<PodcastFeedEntry> getComparator()
public static java.util.List<PodcastFeedEntry> getPodcastFeedEntries(java.util.List<AudioObject> audioObjects)
audioObjects
- the audio objects
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String getAlbum()
AudioObject
getAlbum
in interface AudioObject
public java.lang.String getAlbumArtist()
AudioObject
getAlbumArtist
in interface AudioObject
public java.lang.String getArtist()
AudioObject
getArtist
in interface AudioObject
public java.lang.String getAuthor()
public long getBitrate()
AudioObject
getBitrate
in interface AudioObject
public java.lang.String getComposer()
AudioObject
getComposer
in interface AudioObject
public java.util.Date getDate()
public java.lang.String getDescription()
public long getDuration()
AudioObject
getDuration
in interface AudioObject
public int getFrequency()
AudioObject
getFrequency
in interface AudioObject
public java.lang.String getGenre()
AudioObject
getGenre
in interface AudioObject
public java.lang.String getLyrics()
AudioObject
getLyrics
in interface AudioObject
public java.lang.String getName()
public void setOld(boolean old)
old
- the new oldpublic PodcastFeed getPodcastFeed()
public int getStars()
AudioObject
getStars
in interface AudioObject
public java.lang.String getTitle()
AudioObject
getTitle
in interface AudioObject
public java.lang.String getTitleOrFileName()
AudioObject
getTitleOrFileName
in interface AudioObject
public java.lang.Integer getTrackNumber()
AudioObject
getTrackNumber
in interface AudioObject
public java.lang.String getUrl()
AudioObject
getUrl
in interface AudioObject
public java.lang.String getYear()
AudioObject
getYear
in interface AudioObject
public int hashCode()
hashCode
in class java.lang.Object
public boolean isListened()
public boolean isDownloaded()
public boolean isOld()
public void setAuthor(java.lang.String author)
author
- the author to setpublic void setDate(java.util.Date date)
date
- the date to setpublic void setDescription(java.lang.String description)
description
- the description to setpublic void setDownloaded(boolean downloaded)
downloaded
- the new downloadedpublic void setListened(boolean listened)
listened
- if the podcast feed entry was already listenedpublic void setName(java.lang.String name)
name
- the name to setpublic void setPodcastFeed(PodcastFeed podcastFeed)
podcastFeed
- the corresponding podcast feed to setpublic void setStars(int stars)
AudioObject
setStars
in interface AudioObject
stars
- the new starspublic void setUrl(java.lang.String url)
url
- the url to setpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean isSeekable()
AudioObject
isSeekable
in interface AudioObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |