org.jaudiotagger.tag
Enum TagFieldKey
java.lang.Object
java.lang.Enum<TagFieldKey>
org.jaudiotagger.tag.TagFieldKey
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TagFieldKey>
public enum TagFieldKey
- extends java.lang.Enum<TagFieldKey>
This is an enumeration of common tag keys
This enumeration is used by subclasses to map from the common key to their implementation key, the keys
are grouped within EnumSets within Tag class.
Method Summary |
static TagFieldKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TagFieldKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ARTIST
public static final TagFieldKey ARTIST
ALBUM
public static final TagFieldKey ALBUM
TITLE
public static final TagFieldKey TITLE
TRACK
public static final TagFieldKey TRACK
YEAR
public static final TagFieldKey YEAR
GENRE
public static final TagFieldKey GENRE
COMMENT
public static final TagFieldKey COMMENT
ALBUM_ARTIST
public static final TagFieldKey ALBUM_ARTIST
COMPOSER
public static final TagFieldKey COMPOSER
GROUPING
public static final TagFieldKey GROUPING
DISC_NO
public static final TagFieldKey DISC_NO
COVER_ART
public static final TagFieldKey COVER_ART
BPM
public static final TagFieldKey BPM
MUSICBRAINZ_ARTISTID
public static final TagFieldKey MUSICBRAINZ_ARTISTID
MUSICBRAINZ_RELEASEID
public static final TagFieldKey MUSICBRAINZ_RELEASEID
MUSICBRAINZ_RELEASEARTISTID
public static final TagFieldKey MUSICBRAINZ_RELEASEARTISTID
MUSICBRAINZ_TRACK_ID
public static final TagFieldKey MUSICBRAINZ_TRACK_ID
MUSICBRAINZ_DISC_ID
public static final TagFieldKey MUSICBRAINZ_DISC_ID
MUSICIP_ID
public static final TagFieldKey MUSICIP_ID
AMAZON_ID
public static final TagFieldKey AMAZON_ID
MUSICBRAINZ_RELEASE_STATUS
public static final TagFieldKey MUSICBRAINZ_RELEASE_STATUS
MUSICBRAINZ_RELEASE_TYPE
public static final TagFieldKey MUSICBRAINZ_RELEASE_TYPE
MUSICBRAINZ_RELEASE_COUNTRY
public static final TagFieldKey MUSICBRAINZ_RELEASE_COUNTRY
LYRICS
public static final TagFieldKey LYRICS
IS_COMPILATION
public static final TagFieldKey IS_COMPILATION
ARTIST_SORT
public static final TagFieldKey ARTIST_SORT
ALBUM_ARTIST_SORT
public static final TagFieldKey ALBUM_ARTIST_SORT
ALBUM_SORT
public static final TagFieldKey ALBUM_SORT
TITLE_SORT
public static final TagFieldKey TITLE_SORT
COMPOSER_SORT
public static final TagFieldKey COMPOSER_SORT
ENCODER
public static final TagFieldKey ENCODER
values
public static final TagFieldKey[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(TagFieldKey c : TagFieldKey.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static TagFieldKey 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