|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.blinkenlights.jid3.v2.ContentType
| Nested Class Summary | |
static class |
ContentType.Genre
A class representing the predefined genres. |
| Constructor Summary | |
ContentType()
Creates a new instance of ContentType |
|
| Method Summary | |
boolean |
equals(java.lang.Object oOther)
Compare ContentTypes for equality by genre and refinement values. |
ContentType.Genre[] |
getGenres()
Get all of the set genres in this content type. |
java.lang.String |
getRefinement()
Get the current refinement, if set, for this content type. |
boolean |
isCover()
Check whether or not this content type describes a recording which is a cover. |
boolean |
isRemix()
Check whether or not this content type describes a recording which is a remix. |
boolean |
isSet(ContentType.Genre oGenre)
Check whether a given genre is set. |
boolean |
setGenre(ContentType.Genre oGenre)
Set a given genre for this recording. |
void |
setIsCover(boolean bIsCover)
Toggle whether or not the recording described by this content type is a cover. |
void |
setIsRemix(boolean bIsRemix)
Toggle whether or not the recording described by this content type is a remix. |
void |
setRefinement(java.lang.String sRefinement)
Set a refinement for the genre of the recording repesented by this content type. |
java.lang.String |
toString()
Get the string representation of this content type. |
boolean |
unsetGenre(ContentType.Genre oGenre)
Unset a given genre for this recording. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ContentType()
| Method Detail |
public boolean equals(java.lang.Object oOther)
oOther - object to check against
public void setRefinement(java.lang.String sRefinement)
sRefinement - a refinement description for this content typepublic java.lang.String getRefinement()
public void setIsRemix(boolean bIsRemix)
bIsRemix - whether this is a remix or notpublic boolean isRemix()
public void setIsCover(boolean bIsCover)
bIsCover - whether this is a cover or notpublic boolean isCover()
public boolean setGenre(ContentType.Genre oGenre)
oGenre - the genre to be set
public boolean unsetGenre(ContentType.Genre oGenre)
oGenre - the genre to be unset
public boolean isSet(ContentType.Genre oGenre)
oGenre - the genre to check
public ContentType.Genre[] getGenres()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||