org.jaudiotagger.tag.id3.valuepair
Enum ID3V2ExtendedGenreTypes

java.lang.Object
  extended by java.lang.Enum<ID3V2ExtendedGenreTypes>
      extended by org.jaudiotagger.tag.id3.valuepair.ID3V2ExtendedGenreTypes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ID3V2ExtendedGenreTypes>

public enum ID3V2ExtendedGenreTypes
extends java.lang.Enum<ID3V2ExtendedGenreTypes>

ID3V2 Genre list

These are additional genres added in the V2 Specification, they have a string key (RX,CV) rather than a numeric key


Enum Constant Summary
CV
           
RX
           
 
Field Summary
private  java.lang.String description
           
 
Method Summary
 java.lang.String getDescription()
           
static ID3V2ExtendedGenreTypes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ID3V2ExtendedGenreTypes[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RX

public static final ID3V2ExtendedGenreTypes RX

CV

public static final ID3V2ExtendedGenreTypes CV
Field Detail

description

private java.lang.String description
Method Detail

values

public static ID3V2ExtendedGenreTypes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ID3V2ExtendedGenreTypes c : ID3V2ExtendedGenreTypes.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ID3V2ExtendedGenreTypes valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getDescription

public java.lang.String getDescription()