com.evolution.player.core.media
Class Album

java.lang.Object
  extended by com.evolution.player.core.media.Album

public class Album
extends java.lang.Object

Description of an album.

Since:
0.4

Constructor Summary
Album(java.lang.String albumName)
          Create a new Album with the given name.
 
Method Summary
static Album createFromMedia(MediaInfo media)
          Create a new album from the given media info.
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAlbumName()
          Returns the name of the album
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Album

public Album(java.lang.String albumName)
Create a new Album with the given name.

Parameters:
albumName - the name of the album
Method Detail

createFromMedia

public static Album createFromMedia(MediaInfo media)
Create a new album from the given media info.

Parameters:
media - the media to create an album for
Returns:
the album

getAlbumName

public java.lang.String getAlbumName()
Returns the name of the album

Returns:
the name of the album

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object