|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AudioMetadataType> magoffin.matt.meta.audio.AudioMetadataType
public enum AudioMetadataType
Metadata types for audio media.
Enum Constant Summary | |
---|---|
ALBUM
The album name. |
|
ALBUM_COVER
The album cover image as a MetadataImage . |
|
ARTIST
The artist name. |
|
AUDIO_FORMAT
The audio format, such as codec, frequency, bits, etc. |
|
BIT_RATE
The bit rate (eg bits/sec) as an Integer . |
|
COMMENT
A comment. |
|
COMPOSER
The composer. |
|
DISC_NUM
The disc number (for multi-disc sets) as a Integer . |
|
DISC_TOTAL
The total discs in this set as a Integer . |
|
DURATION
The total length of the autio in milliseconds as an Long . |
|
GENRE
The music genre. |
|
RELEASE_DATE
The release date as a Date . |
|
SAMPLE_RATE
The digital sample frequency (eg Hz) as a Double . |
|
SONG_NAME
The song name. |
|
TRACK_NUM
The track number on disc as a Integer . |
|
TRACK_TOTAL
The total number of tracks on disc as a Integer . |
|
VBR_FLAG
Flag indicating variable bit rate as a Boolean . |
|
YEAR
The music year as a Integer . |
Method Summary | |
---|---|
java.lang.Class<?> |
getObjectType()
Get the type of object this metadata represents. |
static AudioMetadataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AudioMetadataType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AudioMetadataType ALBUM
public static final AudioMetadataType ALBUM_COVER
MetadataImage
.
public static final AudioMetadataType ARTIST
public static final AudioMetadataType AUDIO_FORMAT
public static final AudioMetadataType BIT_RATE
Integer
.
For variable bit rate resources, this should be an estimate value, or average value.
public static final AudioMetadataType COMMENT
public static final AudioMetadataType COMPOSER
public static final AudioMetadataType DISC_NUM
Integer
.
public static final AudioMetadataType DISC_TOTAL
Integer
.
public static final AudioMetadataType DURATION
Long
.
public static final AudioMetadataType GENRE
public static final AudioMetadataType RELEASE_DATE
Date
.
public static final AudioMetadataType SAMPLE_RATE
Double
.
public static final AudioMetadataType SONG_NAME
public static final AudioMetadataType TRACK_NUM
Integer
.
public static final AudioMetadataType TRACK_TOTAL
Integer
.
public static final AudioMetadataType VBR_FLAG
Boolean
.
public static final AudioMetadataType YEAR
Integer
.
Method Detail |
---|
public static final AudioMetadataType[] values()
for(AudioMetadataType c : AudioMetadataType.values()) System.out.println(c);
public static AudioMetadataType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic java.lang.Class<?> getObjectType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |