public enum VBRMethod extends java.lang.Enum<VBRMethod>
LAMEHeader
,
LAME Header FormatEnum Constant and Description |
---|
ABR
average bit rate encoding
|
ABR_2_PASS
average bit rate 2 pass encoding method
|
CBR
constant bit rate encoding
|
CBR_2_PASS
constant bit rate 2 pass encoding method
|
RESERVED
reserved
|
UNKNOWN
Unknown encoding method
|
UNUSED_1
unused
|
UNUSED_2
unused
|
UNUSED_3
unused
|
UNUSED_4
unused
|
UNUSED_5
unused
|
UNUSED_6
unused
|
VBR_1
variabel bit rate encoding method 1
|
VBR_2
variabel bit rate encoding method 2
|
VBR_3
variabel bit rate encoding method 3
|
VBR_4
variabel bit rate encoding method 4
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
gets the name of the MPEG layer.
|
java.lang.String |
toString()
gets a string representation of the LAME VBR method enum.
|
static VBRMethod |
valueOf(int method)
converts an integral value to its corresponding LAME VBR method enum.
|
static VBRMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VBRMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VBRMethod UNKNOWN
public static final VBRMethod CBR
public static final VBRMethod ABR
public static final VBRMethod VBR_1
public static final VBRMethod VBR_2
public static final VBRMethod VBR_3
public static final VBRMethod VBR_4
public static final VBRMethod UNUSED_1
public static final VBRMethod CBR_2_PASS
public static final VBRMethod ABR_2_PASS
public static final VBRMethod UNUSED_2
public static final VBRMethod UNUSED_3
public static final VBRMethod UNUSED_4
public static final VBRMethod UNUSED_5
public static final VBRMethod UNUSED_6
public static final VBRMethod RESERVED
public static VBRMethod[] values()
for (VBRMethod c : VBRMethod.values()) System.out.println(c);
public static VBRMethod 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 VBRMethod valueOf(int method) throws java.lang.IllegalArgumentException
method
- integral value to be converted to an LAME VBR method enum.java.lang.IllegalArgumentException
- if the value is not a valid LAME VBR method.public java.lang.String toString()
toString
in class java.lang.Enum<VBRMethod>