public enum AsfStreamType extends Enum<AsfStreamType> implements IEnumValue
Defines ASF stream types.
Enum Constant and Description |
---|
Audio
ASF Audio Media.
|
Binary
ASF Binary Media.
|
Command
ASF Command Media.
|
DegradableJpeg
ASF Degradable JPEG Media.
|
FileTransfer
ASF File Transfer Media.
|
Jfif
ASF JFIF Media.
|
Undefined
Undefined stream type.
|
Video
ASF Video Media.
|
WebStreamFormat
ASF Web Stream Format.
|
WebStreamSubtype
ASF Web Stream Media Subtype.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static AsfStreamType |
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 AsfStreamType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsfStreamType[] |
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 AsfStreamType Undefined
Undefined stream type.
public static final AsfStreamType Audio
ASF Audio Media.
public static final AsfStreamType Video
ASF Video Media.
public static final AsfStreamType Command
ASF Command Media.
public static final AsfStreamType Jfif
ASF JFIF Media.
public static final AsfStreamType DegradableJpeg
ASF Degradable JPEG Media.
public static final AsfStreamType FileTransfer
ASF File Transfer Media.
public static final AsfStreamType Binary
ASF Binary Media.
public static final AsfStreamType WebStreamSubtype
ASF Web Stream Media Subtype.
public static final AsfStreamType WebStreamFormat
ASF Web Stream Format.
public static AsfStreamType[] values()
for (AsfStreamType c : AsfStreamType.values()) System.out.println(c);
public static AsfStreamType 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 AsfStreamType 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