org.jaudiotagger.tag.mp4.atom
Enum Mp4ContentTypeValue

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

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

List of valid values for the Content Type (Stik) atom

These are held as a byte field, normally only used for purcahed items, audio files use a stik of one


Enum Constant Summary
AUDIO_BOOK
           
BOOKLET
           
BOOKMARK
           
MOVIE
           
MUSIC_VIDEO
           
NORMAL
           
SHORT_FILM
           
TV_SHOW
           
 
Field Summary
private  java.lang.String description
           
private  int id
           
 
Method Summary
 java.lang.String getDescription()
          This is the value of the fieldname that is actually used to write mp4
 int getId()
          Return id used in the file
 java.lang.String getIdAsString()
           
static Mp4ContentTypeValue valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Mp4ContentTypeValue[] 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

MOVIE

public static final Mp4ContentTypeValue MOVIE

NORMAL

public static final Mp4ContentTypeValue NORMAL

AUDIO_BOOK

public static final Mp4ContentTypeValue AUDIO_BOOK

BOOKMARK

public static final Mp4ContentTypeValue BOOKMARK

MUSIC_VIDEO

public static final Mp4ContentTypeValue MUSIC_VIDEO

SHORT_FILM

public static final Mp4ContentTypeValue SHORT_FILM

TV_SHOW

public static final Mp4ContentTypeValue TV_SHOW

BOOKLET

public static final Mp4ContentTypeValue BOOKLET
Field Detail

description

private java.lang.String description

id

private int id
Method Detail

values

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

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

valueOf

public static Mp4ContentTypeValue 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 int getId()
Return id used in the file

Returns:
id

getIdAsString

public java.lang.String getIdAsString()
Returns:
the id as a string (convenience method for use with mp4.createtagField()

getDescription

public java.lang.String getDescription()
This is the value of the fieldname that is actually used to write mp4

Returns: