org.stanwood.media.store.mp4
Enum MP4AtomKeyType

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

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

Enum used to represent MP4 atom types


Enum Constant Summary
Artwork
          Enum type
Boolean
          String type
Byte
          Byte type
Date
          Artwork type
Enum
          Boolean type
Integer
          Integer type
Range
          URL type
Short
          Range type
String
          Byte type
URL
          Date type
 
Method Summary
static MP4AtomKeyType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MP4AtomKeyType[] 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

Byte

public static final MP4AtomKeyType Byte
Byte type


Integer

public static final MP4AtomKeyType Integer
Integer type


String

public static final MP4AtomKeyType String
Byte type


Boolean

public static final MP4AtomKeyType Boolean
String type


Enum

public static final MP4AtomKeyType Enum
Boolean type


Artwork

public static final MP4AtomKeyType Artwork
Enum type


Date

public static final MP4AtomKeyType Date
Artwork type


URL

public static final MP4AtomKeyType URL
Date type


Range

public static final MP4AtomKeyType Range
URL type


Short

public static final MP4AtomKeyType Short
Range type

Method Detail

values

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

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

valueOf

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