public enum AudioFileFormat extends java.lang.Enum<AudioFileFormat>
Enum Constant and Description |
---|
MP3
MPEG Layer-3 compressed audio
|
WAV
Raw audio - uncompressed PCM in a WAV/RIFF format
|
Modifier and Type | Method and Description |
---|---|
static AudioFileFormat |
fromInt(int i) |
static AudioFileFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AudioFileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioFileFormat WAV
public static final AudioFileFormat MP3
public static AudioFileFormat[] values()
for (AudioFileFormat c : AudioFileFormat.values()) System.out.println(c);
public static AudioFileFormat 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 static AudioFileFormat fromInt(int i)