|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.atunes.kernel.modules.repository.tags.tag.Tag
public abstract class Tag
The Class Tag.
| Field Summary | |
|---|---|
static java.lang.String[] |
genres
Description of the Field. |
| Constructor Summary | |
|---|---|
Tag()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAlbum()
Gets the album. |
java.lang.String |
getAlbumArtist()
Gets the album artist. |
java.lang.String |
getArtist()
Gets the artist. |
java.lang.String |
getComment()
Gets the comment. |
java.lang.String |
getComposer()
Gets the composer. |
java.lang.String |
getGenre()
Gets the genre. |
static int |
getGenre(java.lang.String str)
Tries to find the string provided in the table and returns the corresponding int code if successful. |
static java.lang.String |
getGenreForCode(int code)
Gets the genre for code. |
java.lang.String |
getLyrics()
Gets the lyrics. |
abstract Tag |
getTagFromProperties(java.util.Map<java.lang.String,?> properties)
Gets the tag from properties. |
java.lang.String |
getTitle()
Gets the title. |
int |
getTrackNumber()
Gets the track number. |
int |
getYear()
Gets the year. |
void |
setAlbum(java.lang.String album)
Sets the album. |
void |
setAlbumArtist(java.lang.String albumArtist)
Sets the album artist. |
void |
setArtist(java.lang.String artist)
Sets the artist. |
void |
setComment(java.lang.String comment)
Sets the comment. |
void |
setComposer(java.lang.String composer)
Sets the composer. |
void |
setGenre(int genre)
Sets the genre. |
void |
setGenre(java.lang.String genre)
Sets the genre. |
void |
setLyrics(java.lang.String lyrics)
Sets the lyrics. |
void |
setTitle(java.lang.String title)
Sets the title. |
void |
setTrackNumber(int tracknumber)
Sets the track number. |
void |
setYear(int year)
Sets the year. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String[] genres
| Constructor Detail |
|---|
public Tag()
| Method Detail |
|---|
public static int getGenre(java.lang.String str)
str - the genre to search for
public static final java.lang.String getGenreForCode(int code)
code - the code
public java.lang.String getAlbum()
public java.lang.String getAlbumArtist()
public java.lang.String getArtist()
public java.lang.String getComment()
public java.lang.String getComposer()
public java.lang.String getGenre()
public java.lang.String getLyrics()
public abstract Tag getTagFromProperties(java.util.Map<java.lang.String,?> properties)
properties - the properties
public java.lang.String getTitle()
public int getTrackNumber()
public int getYear()
public void setAlbum(java.lang.String album)
album - the new albumpublic void setAlbumArtist(java.lang.String albumArtist)
albumArtist - the new album artistpublic void setArtist(java.lang.String artist)
artist - the new artistpublic void setComment(java.lang.String comment)
comment - the new commentpublic void setComposer(java.lang.String composer)
composer - the new composerpublic void setGenre(int genre)
genre - the new genrepublic void setGenre(java.lang.String genre)
genre - the new genrepublic void setLyrics(java.lang.String lyrics)
lyrics - the new lyricspublic void setTitle(java.lang.String title)
title - the new titlepublic void setTrackNumber(int tracknumber)
tracknumber - the new track numberpublic void setYear(int year)
year - the new year
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||