com.flazr.io.flv
Enum AudioTag.SampleRate

java.lang.Object
  extended by java.lang.Enum<AudioTag.SampleRate>
      extended by com.flazr.io.flv.AudioTag.SampleRate
All Implemented Interfaces:
ValueToEnum.IntValue, Serializable, Comparable<AudioTag.SampleRate>
Enclosing class:
AudioTag

public static enum AudioTag.SampleRate
extends Enum<AudioTag.SampleRate>
implements ValueToEnum.IntValue


Enum Constant Summary
KHZ_11
           
KHZ_22
           
KHZ_44
           
KHZ_5
           
 
Method Summary
 int intValue()
           
static AudioTag.SampleRate valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AudioTag.SampleRate[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
static AudioTag.SampleRate valueToEnum(int value)
           
 
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

KHZ_5

public static final AudioTag.SampleRate KHZ_5

KHZ_11

public static final AudioTag.SampleRate KHZ_11

KHZ_22

public static final AudioTag.SampleRate KHZ_22

KHZ_44

public static final AudioTag.SampleRate KHZ_44
Method Detail

values

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

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

valueOf

public static AudioTag.SampleRate valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

intValue

public int intValue()
Specified by:
intValue in interface ValueToEnum.IntValue

valueToEnum

public static AudioTag.SampleRate valueToEnum(int value)


Copyright © 2011. All Rights Reserved.