org.musicontroller.rss
Interface MetadataProvider


public interface MetadataProvider

Properties that a MetadataProvider has to be able to provide about Playlists and Songs.

Author:
Varienaja

Method Summary
 java.lang.String getCoverUrl(Playlist playlist)
          Returns the URL where the CoverArt of the Playlist can be found.
 java.lang.String getDownloadUrl(Song song)
          Returns the URL (as String) where a Song can be downloaded.
 java.lang.String getRssUrl(Playlist playlist)
          Returns the URL (as String) which links to the RSS-link for a Playlist.
 java.lang.String getUrl(Playlist playlist)
          Returns the URL (as String) which links to information page of a Playlist.
 java.lang.String getUrl(Song song)
          Returns the URL (as String) which links to information page of a Song.
 

Method Detail

getUrl

java.lang.String getUrl(Playlist playlist)
Returns the URL (as String) which links to information page of a Playlist.

Parameters:
playlist - The Playlist to link to.
Returns:
The resulting URL.

getUrl

java.lang.String getUrl(Song song)
Returns the URL (as String) which links to information page of a Song.

Parameters:
song - The Song to link to.
Returns:
The resulting URL.

getRssUrl

java.lang.String getRssUrl(Playlist playlist)
Returns the URL (as String) which links to the RSS-link for a Playlist.

Parameters:
playlist - The Playlist to link to.
Returns:
The resulting URL.

getCoverUrl

java.lang.String getCoverUrl(Playlist playlist)
Returns the URL where the CoverArt of the Playlist can be found.

Parameters:
playlist - The Playlist to provide the CoverArt for.
Returns:
The resulting URL.

getDownloadUrl

java.lang.String getDownloadUrl(Song song)
Returns the URL (as String) where a Song can be downloaded.

Parameters:
song - The Song to provide the URL for.
Returns:
The resulting URL.


Copyright © 2010 A.J.V.. All Rights Reserved.