com.breeweb.slimconnect.data
Class Song
java.lang.Object
com.breeweb.slimconnect.data.Song
- public class Song
- extends java.lang.Object
Song class represents a song within the Squeezebox server / player or playlist.
- Author:
- Bas de Bree
Constructor Summary |
Song(java.lang.String genre,
java.lang.String artist,
java.lang.String album,
java.lang.String title,
java.lang.String duration,
java.lang.String path)
Creates a song representing the (current) song playing by the slimp3player |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Song
public Song(java.lang.String genre,
java.lang.String artist,
java.lang.String album,
java.lang.String title,
java.lang.String duration,
java.lang.String path)
- Creates a song representing the (current) song playing by the slimp3player
- Parameters:
genre
- the genreartist
- the artistalbum
- the albumtitle
- the titleduration
- the duration in secondspath
- the path to where this song is located.
toString
public java.lang.String toString()
equals
public boolean equals(java.lang.Object aObject)
getAlbum
public java.lang.String getAlbum()
- Returns:
- Returns the album.
getArtist
public java.lang.String getArtist()
- Returns:
- Returns the artist.
getDuration
public java.lang.String getDuration()
- Returns:
- Returns the duration.
getGenre
public java.lang.String getGenre()
- Returns:
- Returns the genre.
getPath
public java.lang.String getPath()
- Returns:
- Returns the path.
getTitle
public java.lang.String getTitle()
- Returns:
- Returns the title.