org.jaudiotagger.tag.reference
Class GenreTypes
java.lang.Object
org.jaudiotagger.tag.datatype.AbstractValuePair<java.lang.Integer,java.lang.String>
org.jaudiotagger.tag.datatype.AbstractIntStringValuePair
org.jaudiotagger.tag.reference.GenreTypes
public class GenreTypes
- extends AbstractIntStringValuePair
Genre list
This is the IDv1 list with additional values as defined by Winamp, this list is also used in Mp4
files, note iTunes doesn't understand genres above MAX_STANDARD_GENRE_ID, Winamp does
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_STANDARD_GENRE_ID
private static int MAX_STANDARD_GENRE_ID
genreTypes
private static GenreTypes genreTypes
nameToIdMap
private java.util.Map<java.lang.String,java.lang.Integer> nameToIdMap
GenreTypes
private GenreTypes()
getMaxStandardGenreId
public static int getMaxStandardGenreId()
- Returns:
- the maximum genreId that is part of the official Standard, genres above this were added by
winamp later.
getInstanceOf
public static GenreTypes getInstanceOf()
getIdForName
public java.lang.Integer getIdForName(java.lang.String name)
- Get Id for name, match is not case sensitive
- Parameters:
name
-
- Returns: