org.jaudiotagger.tag.mp4.atom
Enum Mp4RatingValue

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

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

List of valid values for the Rating (rtng) atom

These are held as a byte field

TODO:Is this only used in video


Enum Constant Summary
CLEAN
           
EXPLICIT
           
 
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
static Mp4RatingValue valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Mp4RatingValue[] 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

CLEAN

public static final Mp4RatingValue CLEAN

EXPLICIT

public static final Mp4RatingValue EXPLICIT
Field Detail

description

private java.lang.String description

id

private int id
Method Detail

values

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

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

valueOf

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

getDescription

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

Returns: