public enum SupportedFileFormat extends java.lang.Enum<SupportedFileFormat>
Enum Constant and Description |
---|
AIF |
FLAC |
M4A |
M4B |
M4P |
MP3 |
MP4 |
OGG |
RA |
RM |
WAV |
WMA |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
filesuffix |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFilesuffix()
Returns the file suffix (lower case without initial .) associated with the format.
|
static SupportedFileFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SupportedFileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportedFileFormat OGG
public static final SupportedFileFormat MP3
public static final SupportedFileFormat FLAC
public static final SupportedFileFormat MP4
public static final SupportedFileFormat M4A
public static final SupportedFileFormat M4P
public static final SupportedFileFormat WMA
public static final SupportedFileFormat WAV
public static final SupportedFileFormat RA
public static final SupportedFileFormat RM
public static final SupportedFileFormat M4B
public static final SupportedFileFormat AIF
public static SupportedFileFormat[] values()
for (SupportedFileFormat c : SupportedFileFormat.values()) System.out.println(c);
public static SupportedFileFormat 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 getFilesuffix()
Copyright © 2005-2013 java.net. All Rights Reserved.