public class GenreTypes extends AbstractIntStringValuePair
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
Modifier and Type | Field and Description |
---|---|
private static GenreTypes |
genreTypes |
private static int |
MAX_GENRE_ID |
private static int |
MAX_STANDARD_GENRE_ID |
private java.util.Map<java.lang.String,java.lang.Integer> |
nameToIdMap |
key
Modifier | Constructor and Description |
---|---|
private |
GenreTypes() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getIdForName(java.lang.String name)
Get Id for name, match is not case sensitive
|
static GenreTypes |
getInstanceOf() |
static int |
getMaxGenreId() |
static int |
getMaxStandardGenreId() |
createMaps, getIdForValue, getValueForId
getAlphabeticalValueList, getIdToValueMap, getSize, getValueToIdMap
private static int MAX_STANDARD_GENRE_ID
private static int MAX_GENRE_ID
private static GenreTypes genreTypes
private java.util.Map<java.lang.String,java.lang.Integer> nameToIdMap
public static int getMaxStandardGenreId()
public static int getMaxGenreId()
public static GenreTypes getInstanceOf()
public java.lang.Integer getIdForName(java.lang.String name)
name
- Copyright © 2005-2013 java.net. All Rights Reserved.