org.jcodec.containers.mp4
Enum TrackType

java.lang.Object
  extended by java.lang.Enum<TrackType>
      extended by org.jcodec.containers.mp4.TrackType
All Implemented Interfaces:
Serializable, Comparable<TrackType>

public enum TrackType
extends Enum<TrackType>

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License Creates MP4 file out of a set of samples

Author:
The JCodec project

Enum Constant Summary
HINT
           
SOUND
           
TIMECODE
           
VIDEO
           
 
Method Summary
static TrackType fromHandler(String handler)
           
 String getHandler()
           
static TrackType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TrackType[] 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

VIDEO

public static final TrackType VIDEO

SOUND

public static final TrackType SOUND

TIMECODE

public static final TrackType TIMECODE

HINT

public static final TrackType HINT
Method Detail

values

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

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

valueOf

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

getHandler

public String getHandler()

fromHandler

public static TrackType fromHandler(String handler)


Copyright © 2013. All Rights Reserved.