com.evolution.player.core.media
Class Artist

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

public class Artist
extends java.lang.Object

Description of an Artist.

Since:
0.4

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

Constructor Detail

Artist

public Artist(java.lang.String artistName)
Create a new artist

Parameters:
artistName - the name of the artist
Method Detail

createFromMedia

public static Artist createFromMedia(MediaInfo info)
Create a new artist from the given media info.

Parameters:
info - the info to create an artist for
Returns:
the artist

getArtistName

public java.lang.String getArtistName()
Returns the name of the artist.

Returns:
the artists name

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