public enum GainOriginator extends java.lang.Enum<GainOriginator>
LAMEHeader
,
LAME Header FormatEnum Constant and Description |
---|
ARTIST
set by artist
|
MODEL
set by a model
|
NOT_SET
not set
|
RMS_AVERAGE
set by the simple RMS average
|
USER
set by the user
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
gets the name of the LAME replay gain originator.
|
java.lang.String |
toString()
gets a string representation of the LAME replay gain originator enum.
|
static GainOriginator |
valueOf(int originator)
converts an integral value to its corresponding LAME replay gain originator enum.
|
static GainOriginator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GainOriginator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GainOriginator NOT_SET
public static final GainOriginator ARTIST
public static final GainOriginator USER
public static final GainOriginator MODEL
public static final GainOriginator RMS_AVERAGE
public static GainOriginator[] values()
for (GainOriginator c : GainOriginator.values()) System.out.println(c);
public static GainOriginator 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 GainOriginator valueOf(int originator) throws java.lang.IllegalArgumentException
originator
- integral value to be converted to an LAME replay gain originator enum.java.lang.IllegalArgumentException
- if the value is not a valid LAME replay gain originator.public java.lang.String toString()
toString
in class java.lang.Enum<GainOriginator>