com.flazr.io.f4v
Enum BoxType

java.lang.Object
  extended by java.lang.Enum<BoxType>
      extended by com.flazr.io.f4v.BoxType
All Implemented Interfaces:
Serializable, Comparable<BoxType>

public enum BoxType
extends Enum<BoxType>


Enum Constant Summary
CO64
           
CTTS
           
DINF
           
FTYP
           
HDLR
           
MDAT
           
MDHD
           
MDIA
           
MINF
           
MOOV
           
MVHD
           
SMHD
           
STBL
           
STCO
           
STSC
           
STSD
           
STSS
           
STSZ
           
STTS
           
TKHD
           
TRAK
           
UNKNOWN
           
VMHD
           
 
Method Summary
 BoxType[] getChildren()
           
static BoxType parse(String typeString)
           
 Payload read(org.jboss.netty.buffer.ChannelBuffer in)
           
 void setTypeString(String typeString)
           
 String toString()
           
static BoxType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BoxType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FTYP

public static final BoxType FTYP

MOOV

public static final BoxType MOOV

MVHD

public static final BoxType MVHD

TRAK

public static final BoxType TRAK

TKHD

public static final BoxType TKHD

MDIA

public static final BoxType MDIA

MDHD

public static final BoxType MDHD

HDLR

public static final BoxType HDLR

MINF

public static final BoxType MINF

VMHD

public static final BoxType VMHD

SMHD

public static final BoxType SMHD

DINF

public static final BoxType DINF

STBL

public static final BoxType STBL

STSD

public static final BoxType STSD

STTS

public static final BoxType STTS

CTTS

public static final BoxType CTTS

STSC

public static final BoxType STSC

STSZ

public static final BoxType STSZ

STCO

public static final BoxType STCO

CO64

public static final BoxType CO64

STSS

public static final BoxType STSS

MDAT

public static final BoxType MDAT

UNKNOWN

public static final BoxType UNKNOWN
Method Detail

values

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

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

valueOf

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

setTypeString

public void setTypeString(String typeString)

getChildren

public BoxType[] getChildren()

read

public Payload read(org.jboss.netty.buffer.ChannelBuffer in)

parse

public static BoxType parse(String typeString)

toString

public String toString()
Overrides:
toString in class Enum<BoxType>


Copyright © 2011. All Rights Reserved.