FileDocCategorySizeDatePackage
V2GenreTypes.javaAPI DocJaudiotagger 2.0.41038Wed Mar 30 16:12:04 BST 2011org.jaudiotagger.tag.id3.valuepair

V2GenreTypes

public class V2GenreTypes extends Object
ID3V2 Genre list

Merging of Id3v2 genres and the extended ID3v2 genres

Fields Summary
private static V2GenreTypes
v2GenresTypes
Constructors Summary
private V2GenreTypes()


    
Methods Summary
public java.util.ListgetAlphabeticalValueList()

return
list of all valid v2 genres in alphabetical order

        List<String> genres = GenreTypes.getInstanceOf().getAlphabeticalValueList();
        genres.add(ID3V2ExtendedGenreTypes.CR.getDescription());
        genres.add(ID3V2ExtendedGenreTypes.RX.getDescription());

        //Sort
        Collections.sort(genres);
        return genres;
    
public static org.jaudiotagger.tag.id3.valuepair.V2GenreTypesgetInstanceOf()

        if (v2GenresTypes == null)
        {
            v2GenresTypes = new V2GenreTypes();
        }
        return v2GenresTypes;