org.jaudiotagger.tag
Enum FieldKey
java.lang.Object
java.lang.Enum<FieldKey>
org.jaudiotagger.tag.FieldKey
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<FieldKey>
public enum FieldKey
- extends java.lang.Enum<FieldKey>
This is an enumeration of fields implemented by all major formats
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 FieldKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FieldKey[] |
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 |
ARTIST
public static final FieldKey ARTIST
ALBUM
public static final FieldKey ALBUM
TITLE
public static final FieldKey TITLE
TRACK
public static final FieldKey TRACK
YEAR
public static final FieldKey YEAR
GENRE
public static final FieldKey GENRE
COMMENT
public static final FieldKey COMMENT
ALBUM_ARTIST
public static final FieldKey ALBUM_ARTIST
COMPOSER
public static final FieldKey COMPOSER
GROUPING
public static final FieldKey GROUPING
DISC_NO
public static final FieldKey DISC_NO
COVER_ART
public static final FieldKey COVER_ART
BPM
public static final FieldKey BPM
MUSICBRAINZ_ARTISTID
public static final FieldKey MUSICBRAINZ_ARTISTID
MUSICBRAINZ_RELEASEID
public static final FieldKey MUSICBRAINZ_RELEASEID
MUSICBRAINZ_RELEASEARTISTID
public static final FieldKey MUSICBRAINZ_RELEASEARTISTID
MUSICBRAINZ_TRACK_ID
public static final FieldKey MUSICBRAINZ_TRACK_ID
MUSICBRAINZ_DISC_ID
public static final FieldKey MUSICBRAINZ_DISC_ID
MUSICIP_ID
public static final FieldKey MUSICIP_ID
AMAZON_ID
public static final FieldKey AMAZON_ID
MUSICBRAINZ_RELEASE_STATUS
public static final FieldKey MUSICBRAINZ_RELEASE_STATUS
MUSICBRAINZ_RELEASE_TYPE
public static final FieldKey MUSICBRAINZ_RELEASE_TYPE
MUSICBRAINZ_RELEASE_COUNTRY
public static final FieldKey MUSICBRAINZ_RELEASE_COUNTRY
LYRICS
public static final FieldKey LYRICS
IS_COMPILATION
public static final FieldKey IS_COMPILATION
ARTIST_SORT
public static final FieldKey ARTIST_SORT
ALBUM_ARTIST_SORT
public static final FieldKey ALBUM_ARTIST_SORT
ALBUM_SORT
public static final FieldKey ALBUM_SORT
TITLE_SORT
public static final FieldKey TITLE_SORT
COMPOSER_SORT
public static final FieldKey COMPOSER_SORT
ENCODER
public static final FieldKey ENCODER
ISRC
public static final FieldKey ISRC
BARCODE
public static final FieldKey BARCODE
CATALOG_NO
public static final FieldKey CATALOG_NO
RECORD_LABEL
public static final FieldKey RECORD_LABEL
LYRICIST
public static final FieldKey LYRICIST
CONDUCTOR
public static final FieldKey CONDUCTOR
REMIXER
public static final FieldKey REMIXER
MOOD
public static final FieldKey MOOD
MEDIA
public static final FieldKey MEDIA
URL_OFFICIAL_RELEASE_SITE
public static final FieldKey URL_OFFICIAL_RELEASE_SITE
URL_DISCOGS_RELEASE_SITE
public static final FieldKey URL_DISCOGS_RELEASE_SITE
URL_WIKIPEDIA_RELEASE_SITE
public static final FieldKey URL_WIKIPEDIA_RELEASE_SITE
URL_OFFICIAL_ARTIST_SITE
public static final FieldKey URL_OFFICIAL_ARTIST_SITE
URL_DISCOGS_ARTIST_SITE
public static final FieldKey URL_DISCOGS_ARTIST_SITE
URL_WIKIPEDIA_ARTIST_SITE
public static final FieldKey URL_WIKIPEDIA_ARTIST_SITE
LANGUAGE
public static final FieldKey LANGUAGE
KEY
public static final FieldKey KEY
URL_LYRICS_SITE
public static final FieldKey URL_LYRICS_SITE
TRACK_TOTAL
public static final FieldKey TRACK_TOTAL
DISC_TOTAL
public static final FieldKey DISC_TOTAL
values
public static FieldKey[] 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 (FieldKey c : FieldKey.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FieldKey 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