Enum MatroskaElementType
- java.lang.Object
-
- java.lang.Enum<MatroskaElementType>
-
- com.sedmelluq.discord.lavaplayer.container.matroska.format.MatroskaElementType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MatroskaElementType>
public enum MatroskaElementType extends java.lang.Enum<MatroskaElementType>
Registry of all required element types. This is not the complete set.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMatroskaElementType.DataTypeData type of an element.
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description byte[]bytesThe ID as EBML code bytes.MatroskaElementType.DataTypedataTypeData type of the element type.longidThe ID of the element type.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MatroskaElementTypefind(long id)static MatroskaElementTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MatroskaElementType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Ebml
public static final MatroskaElementType Ebml
-
DocType
public static final MatroskaElementType DocType
-
Segment
public static final MatroskaElementType Segment
-
SeekHead
public static final MatroskaElementType SeekHead
-
Seek
public static final MatroskaElementType Seek
-
SeekId
public static final MatroskaElementType SeekId
-
SeekPosition
public static final MatroskaElementType SeekPosition
-
Info
public static final MatroskaElementType Info
-
Tags
public static final MatroskaElementType Tags
-
Tag
public static final MatroskaElementType Tag
-
SimpleTag
public static final MatroskaElementType SimpleTag
-
Duration
public static final MatroskaElementType Duration
-
TimecodeScale
public static final MatroskaElementType TimecodeScale
-
Cluster
public static final MatroskaElementType Cluster
-
Timecode
public static final MatroskaElementType Timecode
-
SimpleBlock
public static final MatroskaElementType SimpleBlock
-
BlockGroup
public static final MatroskaElementType BlockGroup
-
Block
public static final MatroskaElementType Block
-
BlockDuration
public static final MatroskaElementType BlockDuration
-
ReferenceBlock
public static final MatroskaElementType ReferenceBlock
-
Tracks
public static final MatroskaElementType Tracks
-
TrackEntry
public static final MatroskaElementType TrackEntry
-
TrackNumber
public static final MatroskaElementType TrackNumber
-
TrackUid
public static final MatroskaElementType TrackUid
-
TrackType
public static final MatroskaElementType TrackType
-
Name
public static final MatroskaElementType Name
-
CodecId
public static final MatroskaElementType CodecId
-
CodecPrivate
public static final MatroskaElementType CodecPrivate
-
Audio
public static final MatroskaElementType Audio
-
SamplingFrequency
public static final MatroskaElementType SamplingFrequency
-
OutputSamplingFrequency
public static final MatroskaElementType OutputSamplingFrequency
-
Channels
public static final MatroskaElementType Channels
-
BitDepth
public static final MatroskaElementType BitDepth
-
Cues
public static final MatroskaElementType Cues
-
CuePoint
public static final MatroskaElementType CuePoint
-
CueTime
public static final MatroskaElementType CueTime
-
CueTrackPositions
public static final MatroskaElementType CueTrackPositions
-
CueTrack
public static final MatroskaElementType CueTrack
-
CueClusterPosition
public static final MatroskaElementType CueClusterPosition
-
Title
public static final MatroskaElementType Title
-
TagName
public static final MatroskaElementType TagName
-
TagString
public static final MatroskaElementType TagString
-
Unknown
public static final MatroskaElementType Unknown
-
-
Field Detail
-
bytes
public final byte[] bytes
The ID as EBML code bytes.
-
id
public final long id
The ID of the element type.
-
dataType
public final MatroskaElementType.DataType dataType
Data type of the element type.
-
-
Method Detail
-
values
public static MatroskaElementType[] 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 (MatroskaElementType c : MatroskaElementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatroskaElementType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
find
public static MatroskaElementType find(long id)
- Parameters:
id- Code of the element type to find- Returns:
- The element type, Unknown if not present.
-
-