org.stanwood.media.store.mp4
Enum StikValue

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

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

Used to represent the values of the atom


Enum Constant Summary
AUDIO_BOOK
          Audio book type
BOOKLET
          Booklet type
MOVIE
          The old movie type
MUSIC
          The music type
MUSIC_VIDEO
          Music video type
RINGTONE
          Ring tone type
SHORT_FILM
          Movie type
TV_SHOW
          TV show type
 
Method Summary
static StikValue fromId(int value)
          Get the atom value associated with a ID
 java.lang.String getDescription()
          Get the description of the atom value
 byte getId()
          Get the atom value id
static StikValue valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StikValue[] 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 StikValue MOVIE
The old movie type


MUSIC

public static final StikValue MUSIC
The music type


AUDIO_BOOK

public static final StikValue AUDIO_BOOK
Audio book type


MUSIC_VIDEO

public static final StikValue MUSIC_VIDEO
Music video type


SHORT_FILM

public static final StikValue SHORT_FILM
Movie type


TV_SHOW

public static final StikValue TV_SHOW
TV show type


BOOKLET

public static final StikValue BOOKLET
Booklet type


RINGTONE

public static final StikValue RINGTONE
Ring tone type

Method Detail

values

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

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

valueOf

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

getDescription

public java.lang.String getDescription()
Get the description of the atom value

Returns:
the description of the atom value

fromId

public static StikValue fromId(int value)
Get the atom value associated with a ID

Parameters:
value - The id
Returns:
the atom value

getId

public byte getId()
Get the atom value id

Returns:
the atom value id