com.flazr.io.flv
Enum VideoTag.CodecType

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

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


Enum Constant Summary
AVC
           
H263
           
JPEG
           
ON2VP6
           
ON2VP6_ALPHA
           
SCREEN
           
SCREEN_V2
           
 
Method Summary
 int intValue()
           
static VideoTag.CodecType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VideoTag.CodecType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
static VideoTag.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

JPEG

public static final VideoTag.CodecType JPEG

H263

public static final VideoTag.CodecType H263

SCREEN

public static final VideoTag.CodecType SCREEN

ON2VP6

public static final VideoTag.CodecType ON2VP6

ON2VP6_ALPHA

public static final VideoTag.CodecType ON2VP6_ALPHA

SCREEN_V2

public static final VideoTag.CodecType SCREEN_V2

AVC

public static final VideoTag.CodecType AVC
Method Detail

values

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


Copyright © 2011. All Rights Reserved.