org.stanwood.media.store.mp4
Enum MP4AtomKey

java.lang.Object
  extended by java.lang.Enum<MP4AtomKey>
      extended by org.stanwood.media.store.mp4.MP4AtomKey
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MP4AtomKey>

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

A Enum used to represent each of the atom keys


Enum Constant Summary
ACCOUNT_TYPE
          akID atom key
ALBUM
          ©alb atom key
ALBUM_ARTIST
          aART atom key
ARTIST
          ©ART atom key
ARTWORK
          covr atom key
CATALOG_ID
          cnID atom key
CATEGORY
          catg atom key
CERTIFICATION
          ---- [com.apple.iTunes;iTunEXTC] atom key
COMMENT
          ©wrt atom key
COMPILATION
          cpil atom key
COMPOSER
          ©wrt atom key
COPYRIGHT
          cprt atom key
COUNTRY_CODE
          sfID atom key
DESCRIPTION
          desc atom key
DESCRIPTION_LONG
          ldes atom key
DESCRIPTION_STORE
          sdes atom key
DISK_NUMBER
          disk atom key
ENCODED_BY
           
ENCODING_TOOL
           
FLAVOUR
          flvr atom key
GAPLESS_PLAYBACK
          pgap atom key
GENRE_PRE_DEFINED
          gnre atom key
GENRE_USER_DEFINED
          ©gen atom key
GROUPING
          grup atom key
HD
          hdvd atom key
INFO
          ---- [com.apple.iTunes;iTunMOVI] atom key
KEYWORDS
          keyw atom key
LYRICS
           
MEDIA_TYPE
          stik atom key
MM_VERSION
          Key for custom atom holding the MediaManager version
NAME
           
PODCAST
          pcst atom key
PODCAST_URL
          purl atom key
PURCHASE_ACCOUNT
          apID atom key
PURCHASED_DATE
          purd atom key
RATING
          rtng atom key
RELEASE_DATE
          ©day atom key
SORT_ALBUM
          soal atom key
SORT_ALBUM_ARTIST
          soaa atom key
SORT_ARTIST
          soar atom key
SORT_COMPOSER
          soco atom key
SORT_NAME
          sonm atom key
SORT_SHOW
          sosn atom key
TEMPO
          tmpo atom key
TRACK_NUMBER
          trkn atom key
TV_EPISODE
          tves atom key
TV_EPISODE_ID
          tven atom key
TV_NETWORK
          tvnn atom key
TV_SEASON
          tvsn atom key
TV_SHOW_NAME
          tvsh atom key
 
Method Summary
static MP4AtomKey fromKey(java.lang.String key)
          Used to get the key enum value from the text id of the atom
static MP4AtomKey fromRDNS(java.lang.String name, java.lang.String domain)
          Used to get the key enum value from of the atom from it's reverse DNS name and domain
 java.lang.String getDisplayName()
          Used to get a name that can be displayed for the atom
 java.lang.String getDnsDomain()
          Used to get the reverse DNS domain of the atom, or null if it does not have one
 java.lang.String getDnsName()
          Used to get the reverse DNS name of the atom, or null if it does not have one
 java.lang.String getId()
          Used to get the id of the atom
 MP4AtomKeyType getType()
          Used to get the type of the atom
 java.lang.String toString()
           }
static MP4AtomKey valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MP4AtomKey[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NAME

public static final MP4AtomKey NAME

ARTIST

public static final MP4AtomKey ARTIST
©ART atom key


ALBUM_ARTIST

public static final MP4AtomKey ALBUM_ARTIST
aART atom key


ALBUM

public static final MP4AtomKey ALBUM
©alb atom key


GROUPING

public static final MP4AtomKey GROUPING
grup atom key


COMPOSER

public static final MP4AtomKey COMPOSER
©wrt atom key


COMMENT

public static final MP4AtomKey COMMENT
©wrt atom key


FLAVOUR

public static final MP4AtomKey FLAVOUR
flvr atom key


GENRE_PRE_DEFINED

public static final MP4AtomKey GENRE_PRE_DEFINED
gnre atom key


GENRE_USER_DEFINED

public static final MP4AtomKey GENRE_USER_DEFINED
©gen atom key


RELEASE_DATE

public static final MP4AtomKey RELEASE_DATE
©day atom key


TRACK_NUMBER

public static final MP4AtomKey TRACK_NUMBER
trkn atom key


DISK_NUMBER

public static final MP4AtomKey DISK_NUMBER
disk atom key


TEMPO

public static final MP4AtomKey TEMPO
tmpo atom key


COMPILATION

public static final MP4AtomKey COMPILATION
cpil atom key


TV_SHOW_NAME

public static final MP4AtomKey TV_SHOW_NAME
tvsh atom key


TV_EPISODE_ID

public static final MP4AtomKey TV_EPISODE_ID
tven atom key


TV_SEASON

public static final MP4AtomKey TV_SEASON
tvsn atom key


TV_EPISODE

public static final MP4AtomKey TV_EPISODE
tves atom key


TV_NETWORK

public static final MP4AtomKey TV_NETWORK
tvnn atom key


DESCRIPTION

public static final MP4AtomKey DESCRIPTION
desc atom key


DESCRIPTION_STORE

public static final MP4AtomKey DESCRIPTION_STORE
sdes atom key


DESCRIPTION_LONG

public static final MP4AtomKey DESCRIPTION_LONG
ldes atom key


LYRICS

public static final MP4AtomKey LYRICS

SORT_NAME

public static final MP4AtomKey SORT_NAME
sonm atom key


SORT_ARTIST

public static final MP4AtomKey SORT_ARTIST
soar atom key


SORT_ALBUM_ARTIST

public static final MP4AtomKey SORT_ALBUM_ARTIST
soaa atom key


SORT_ALBUM

public static final MP4AtomKey SORT_ALBUM
soal atom key


SORT_COMPOSER

public static final MP4AtomKey SORT_COMPOSER
soco atom key


SORT_SHOW

public static final MP4AtomKey SORT_SHOW
sosn atom key


ARTWORK

public static final MP4AtomKey ARTWORK
covr atom key


COPYRIGHT

public static final MP4AtomKey COPYRIGHT
cprt atom key


ENCODING_TOOL

public static final MP4AtomKey ENCODING_TOOL

ENCODED_BY

public static final MP4AtomKey ENCODED_BY

PURCHASED_DATE

public static final MP4AtomKey PURCHASED_DATE
purd atom key


PODCAST

public static final MP4AtomKey PODCAST
pcst atom key


PODCAST_URL

public static final MP4AtomKey PODCAST_URL
purl atom key


KEYWORDS

public static final MP4AtomKey KEYWORDS
keyw atom key


CATEGORY

public static final MP4AtomKey CATEGORY
catg atom key


HD

public static final MP4AtomKey HD
hdvd atom key


MEDIA_TYPE

public static final MP4AtomKey MEDIA_TYPE
stik atom key


RATING

public static final MP4AtomKey RATING
rtng atom key


GAPLESS_PLAYBACK

public static final MP4AtomKey GAPLESS_PLAYBACK
pgap atom key


PURCHASE_ACCOUNT

public static final MP4AtomKey PURCHASE_ACCOUNT
apID atom key


ACCOUNT_TYPE

public static final MP4AtomKey ACCOUNT_TYPE
akID atom key


CATALOG_ID

public static final MP4AtomKey CATALOG_ID
cnID atom key


COUNTRY_CODE

public static final MP4AtomKey COUNTRY_CODE
sfID atom key


CERTIFICATION

public static final MP4AtomKey CERTIFICATION
---- [com.apple.iTunes;iTunEXTC] atom key


INFO

public static final MP4AtomKey INFO
---- [com.apple.iTunes;iTunMOVI] atom key


MM_VERSION

public static final MP4AtomKey MM_VERSION
Key for custom atom holding the MediaManager version

Method Detail

values

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

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

valueOf

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

getId

public java.lang.String getId()
Used to get the id of the atom

Returns:
The id

getDnsName

public java.lang.String getDnsName()
Used to get the reverse DNS name of the atom, or null if it does not have one

Returns:
the reverse DNS name of the atom, or null if it does not have one

getDnsDomain

public java.lang.String getDnsDomain()
Used to get the reverse DNS domain of the atom, or null if it does not have one

Returns:
the reverse DNS domain of the atom, or null if it does not have one

fromKey

public static MP4AtomKey fromKey(java.lang.String key)
Used to get the key enum value from the text id of the atom

Parameters:
key - The text id of the atom
Returns:
The key

fromRDNS

public static MP4AtomKey fromRDNS(java.lang.String name,
                                  java.lang.String domain)
Used to get the key enum value from of the atom from it's reverse DNS name and domain

Parameters:
name - The atom reverse DNS name
domain - The atom reverse DNS domain
Returns:
The key

getType

public MP4AtomKeyType getType()
Used to get the type of the atom

Returns:
The atom type

getDisplayName

public java.lang.String getDisplayName()
Used to get a name that can be displayed for the atom

Returns:
The display name of the atom

toString

public java.lang.String toString()
}

Overrides:
toString in class java.lang.Enum<MP4AtomKey>