Enum MatroskaElementType.DataType
- java.lang.Object
-
- java.lang.Enum<MatroskaElementType.DataType>
-
- com.sedmelluq.discord.lavaplayer.container.matroska.format.MatroskaElementType.DataType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MatroskaElementType.DataType>
- Enclosing class:
- MatroskaElementType
public static enum MatroskaElementType.DataType extends java.lang.Enum<MatroskaElementType.DataType>
Data type of an element.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BINARYRaw binary data.DATENanosecond timestamp since 2001.FLOATFloat (either 4 or 8 byte)MASTERContains child elements.SIGNED_INTEGERSigned EBML integer.STRINGASCII-encoded string.UNSIGNED_INTEGERUnsigned EBML integer.UTF8_STRINGUTF8-encoded string.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MatroskaElementType.DataTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MatroskaElementType.DataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MASTER
public static final MatroskaElementType.DataType MASTER
Contains child elements.
-
UNSIGNED_INTEGER
public static final MatroskaElementType.DataType UNSIGNED_INTEGER
Unsigned EBML integer.
-
SIGNED_INTEGER
public static final MatroskaElementType.DataType SIGNED_INTEGER
Signed EBML integer.
-
STRING
public static final MatroskaElementType.DataType STRING
ASCII-encoded string.
-
UTF8_STRING
public static final MatroskaElementType.DataType UTF8_STRING
UTF8-encoded string.
-
BINARY
public static final MatroskaElementType.DataType BINARY
Raw binary data.
-
FLOAT
public static final MatroskaElementType.DataType FLOAT
Float (either 4 or 8 byte)
-
DATE
public static final MatroskaElementType.DataType DATE
Nanosecond timestamp since 2001.
-
-
Method Detail
-
values
public static MatroskaElementType.DataType[] 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.DataType c : MatroskaElementType.DataType.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.DataType 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
-
-