public enum Emphasis extends java.lang.Enum<Emphasis>
![]() |
![]() |
MPEGFrameHeader
,
Moving Picture Experts GroupEnum Constant and Description |
---|
_50_15_MS
50/15 ms
|
CCIT_J_17
CCIT J.17
|
NONE
None
|
RESERVED
Reserved
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
gets the name of the emphasis.
|
java.lang.String |
toString()
gets a string representation of the emphasis enum.
|
static Emphasis |
valueOf(int emphasis)
converts an integral value to its corresponding emphasis enum.
|
static Emphasis |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Emphasis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Emphasis NONE
public static final Emphasis _50_15_MS
public static final Emphasis RESERVED
public static final Emphasis CCIT_J_17
public static Emphasis[] values()
for (Emphasis c : Emphasis.values()) System.out.println(c);
public static Emphasis valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public static Emphasis valueOf(int emphasis) throws java.lang.IllegalArgumentException
emphasis
- integral value to be converted to an emphasis enum.java.lang.IllegalArgumentException
- if the value is not a valid emphasis.public java.lang.String toString()
toString
in class java.lang.Enum<Emphasis>