public enum SupportedFileFormat extends Enum<SupportedFileFormat>
Enum Constant and Description |
---|
AIF |
AIFC |
AIFF |
DFF |
DSF |
FLAC |
M4A |
M4B |
M4P |
MP3 |
MP4 |
OGG |
RA |
RM |
WAV |
WMA |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
String |
getFilesuffix()
Returns the file suffix (lower case without initial .) associated with the format.
|
static SupportedFileFormat |
valueOf(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 final SupportedFileFormat AIFF
public static final SupportedFileFormat AIFC
public static final SupportedFileFormat DSF
public static final SupportedFileFormat DFF
public static SupportedFileFormat[] values()
for (SupportedFileFormat c : SupportedFileFormat.values()) System.out.println(c);
public static SupportedFileFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getFilesuffix()
public String getDisplayName()
Copyright © 2005–2020 jthink.net. All rights reserved.