org.jaudiotagger.tag.id3
Enum ID3v1FieldKey

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

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

Basic ID3v11 Field Names


Enum Constant Summary
ALBUM
           
ARTIST
           
COMMENT
           
GENRE
           
TITLE
           
TRACK
           
YEAR
           
 
Method Summary
static ID3v1FieldKey valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ID3v1FieldKey[] 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

ARTIST

public static final ID3v1FieldKey ARTIST

ALBUM

public static final ID3v1FieldKey ALBUM

GENRE

public static final ID3v1FieldKey GENRE

TITLE

public static final ID3v1FieldKey TITLE

YEAR

public static final ID3v1FieldKey YEAR

TRACK

public static final ID3v1FieldKey TRACK

COMMENT

public static final ID3v1FieldKey COMMENT
Method Detail

values

public static ID3v1FieldKey[] 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 (ID3v1FieldKey c : ID3v1FieldKey.values())
    System.out.println(c);

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

valueOf

public static ID3v1FieldKey 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