public enum GainType extends java.lang.Enum<GainType>
![]() |
![]() |
LAMEHeader,
LAME Header Format| Enum Constant and Description |
|---|
AUDIOPHILE
replay gain set for audiophile
|
NOT_SET
not set
|
RADIO
replay gain set for radio airplay
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
gets the name of the LAME replay gain type.
|
java.lang.String |
toString()
gets a string representation of the LAME replay gain type enum.
|
static GainType |
valueOf(int type)
converts an integral value to its corresponding LAME replay gain type enum.
|
static GainType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GainType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GainType NOT_SET
public static final GainType RADIO
public static final GainType AUDIOPHILE
public static GainType[] values()
for (GainType c : GainType.values()) System.out.println(c);
public static GainType 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 GainType valueOf(int type) throws java.lang.IllegalArgumentException
type - integral value to be converted to an LAME replay gain type enum.java.lang.IllegalArgumentException - if the value is not a valid LAME replay gain type.public java.lang.String toString()
toString in class java.lang.Enum<GainType>