public enum MatroskaTrackType extends Enum<MatroskaTrackType> implements IEnumValue
Represents Matroska track types coded in 8 bits.
Enum Constant and Description |
---|
Audio
Track is an audio track.
|
Button
Track is a button track.
|
Complex
Track is a complex track, i.e.
|
Control
Track is a control track.
|
Logo
Track is a logo track.
|
Subtitle
Track is a subtitle track.
|
Undefined
The undefined track type.
|
Video
Track is a video track.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static MatroskaTrackType |
getByRawValue(int rawValue) |
IEnumValue |
getEnumValueByName(String name)
Returns the enumeration value by its name.
|
IEnumValue |
getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
|
static IEnumValue |
getFirst() |
int |
getRawValue()
Returns the raw value of this enumeration value.
|
RawIntegerType |
getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
|
static MatroskaTrackType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatroskaTrackType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final MatroskaTrackType Undefined
The undefined track type.
public static final MatroskaTrackType Video
Track is a video track.
public static final MatroskaTrackType Audio
Track is an audio track.
public static final MatroskaTrackType Complex
Track is a complex track, i.e. a combined video and audio track.
public static final MatroskaTrackType Logo
Track is a logo track.
public static final MatroskaTrackType Subtitle
Track is a subtitle track.
public static final MatroskaTrackType Button
Track is a button track.
public static final MatroskaTrackType Control
Track is a control track.
public static MatroskaTrackType[] values()
for (MatroskaTrackType c : MatroskaTrackType.values()) System.out.println(c);
public static MatroskaTrackType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static MatroskaTrackType getByRawValue(int rawValue)
public static IEnumValue getFirst()
public Object[] getAllValues()
IEnumValue
Returns the array of all values defined in the class.
getAllValues
in interface IEnumValue
public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValue
Returns the enumeration value by the raw value associated with it.
getEnumValueByRawValue
in interface IEnumValue
rawValue
- The raw value.public IEnumValue getEnumValueByName(String name)
IEnumValue
Returns the enumeration value by its name.
getEnumValueByName
in interface IEnumValue
name
- The name of the enumeration value.public RawIntegerType getRawValueType()
IEnumValue
Returns the underlying type of the raw value of this enumeration value.
getRawValueType
in interface IEnumValue
public int getRawValue()
IEnumValue
Returns the raw value of this enumeration value.
getRawValue
in interface IEnumValue