org.jcodec.containers.mp4
Enum TrackType
java.lang.Object
java.lang.Enum<TrackType>
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
VIDEO
public static final TrackType VIDEO
SOUND
public static final TrackType SOUND
TIMECODE
public static final TrackType TIMECODE
HINT
public static final TrackType HINT
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.