com.flazr.io.flv
Enum AudioTag.CodecType

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

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


Enum Constant Summary
AAC
           
ADPCM
           
DEVICE_SPECIFIC
           
G711_A
           
G711_U
           
MP3
           
MP3_8
           
NELLY
           
NELLY_16
           
NELLY_8
           
PCM
           
RESERVED
           
SPEEX
           
 
Method Summary
 int intValue()
           
static AudioTag.CodecType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AudioTag.CodecType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
static AudioTag.CodecType 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

ADPCM

public static final AudioTag.CodecType ADPCM

MP3

public static final AudioTag.CodecType MP3

PCM

public static final AudioTag.CodecType PCM

NELLY_16

public static final AudioTag.CodecType NELLY_16

NELLY_8

public static final AudioTag.CodecType NELLY_8

NELLY

public static final AudioTag.CodecType NELLY

G711_A

public static final AudioTag.CodecType G711_A

G711_U

public static final AudioTag.CodecType G711_U

RESERVED

public static final AudioTag.CodecType RESERVED

AAC

public static final AudioTag.CodecType AAC

SPEEX

public static final AudioTag.CodecType SPEEX

MP3_8

public static final AudioTag.CodecType MP3_8

DEVICE_SPECIFIC

public static final AudioTag.CodecType DEVICE_SPECIFIC
Method Detail

values

public static AudioTag.CodecType[] 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.CodecType c : AudioTag.CodecType.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.CodecType 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.CodecType valueToEnum(int value)


Copyright © 2011. All Rights Reserved.