|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.kernel.modules.radio.Radio
public class Radio
The Class Radio.
Constructor Summary | |
---|---|
Radio(java.lang.String name,
java.lang.String url,
java.lang.String label)
Instantiates a new radio. |
Method Summary | |
---|---|
void |
deleteSongInfo()
Delete song info. |
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.util.List<AudioObject> |
getAudioObjects()
Returns the audio objects of this tree object. |
long |
getBitrate()
Gets the bitrate. |
static java.util.Comparator<Radio> |
getComparator()
Gets the comparator. |
java.lang.String |
getComposer()
Gets the composer. |
long |
getDuration()
Gets the duration. |
int |
getFrequency()
Gets the frequency. |
java.lang.String |
getGenre()
Gets the genre. |
java.lang.String |
getLabel()
Gets the label. |
java.lang.String |
getLyrics()
Gets the lyrics. |
java.lang.String |
getName()
Gets the name. |
java.util.List<Radio> |
getRadios()
Gets the radios. |
static java.util.List<Radio> |
getRadios(java.util.List<AudioObject> audioObjects)
Gets the radios. |
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 |
hasPlaylistUrl()
Checks for playlist url. |
boolean |
isRemoved()
Checks if is removed. |
boolean |
isSeekable()
Checks if is seekable. |
boolean |
isSongInfoAvailable()
Checks if is song info available. |
void |
setArtist(java.lang.String artist)
Sets the artist. |
void |
setBitrate(long bitrate)
Sets the bitrate. |
void |
setComposer(java.lang.String composer)
Sets the composer. |
void |
setFrequency(int frequency)
Sets the frequency. |
void |
setGenre(java.lang.String genre)
Sets the genre. |
void |
setLabel(java.lang.String label)
Sets the label. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setRemoved(boolean isRemoved)
Set a preset station as removed. |
void |
setSongInfoAvailable(boolean songInfoAvailable)
Sets the song info available. |
void |
setStars(int stars)
Sets the stars. |
void |
setTitle(java.lang.String title)
Sets the title. |
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 Radio(java.lang.String name, java.lang.String url, java.lang.String label)
name
- the nameurl
- the urllabel
- the labelMethod Detail |
---|
public static java.util.Comparator<Radio> getComparator()
public static java.util.List<Radio> getRadios(java.util.List<AudioObject> audioObjects)
audioObjects
- the audio objects
public void deleteSongInfo()
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.util.List<AudioObject> getAudioObjects()
TreeObject
getAudioObjects
in interface TreeObject
public long getBitrate()
AudioObject
getBitrate
in interface AudioObject
public java.lang.String getComposer()
AudioObject
getComposer
in interface AudioObject
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 java.util.List<Radio> getRadios()
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 hasPlaylistUrl()
public boolean isRemoved()
public boolean isSongInfoAvailable()
public void setArtist(java.lang.String artist)
artist
- the new artistpublic void setBitrate(long bitrate)
bitrate
- the new bitratepublic void setComposer(java.lang.String composer)
composer
- the new composerpublic void setFrequency(int frequency)
frequency
- the new frequencypublic void setGenre(java.lang.String genre)
genre
- the new genrepublic void setName(java.lang.String name)
name
- the new namepublic void setRemoved(boolean isRemoved)
isRemoved
- the is removedpublic void setSongInfoAvailable(boolean songInfoAvailable)
songInfoAvailable
- the new song info availablepublic void setStars(int stars)
AudioObject
setStars
in interface AudioObject
stars
- the new starspublic void setTitle(java.lang.String title)
title
- the new titlepublic void setUrl(java.lang.String url)
url
- the new urlpublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- the label to setpublic boolean isSeekable()
AudioObject
isSeekable
in interface AudioObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |