public enum Format extends Enum<Format>
| Enum Constant and Description |
|---|
AAC |
ANY |
ASF |
ASX |
AVI |
BMP |
FLAC |
FLASH |
FLV |
GGP |
GIF |
HTML |
JPEG |
JPG |
M3U |
M3U8 |
M4A |
M4V |
MID |
MOV |
MP2 |
MP3 |
MP4 |
MPEG |
MPG |
OGA |
OGG |
OGM |
OGV |
PCM |
PNG |
PODCAST |
QT |
RA |
RAM |
RM |
SMIL |
TIFF |
TS |
UNKNOWN |
VOB |
VODCAST |
WAV |
WAX |
WEBM |
WM |
WMA |
WMD |
WMP |
WMV |
WMX |
WMZ |
WVX |
| Modifier and Type | Field and Description |
|---|---|
static String |
DTD_MIMEMAPPING_1_0 |
static String |
PUBLIC_ID_MIMEMAPPING_1_0 |
protected static List<Format> |
real |
static String |
RESOURCE |
protected static List<Format> |
windowsMedia |
| Modifier and Type | Method and Description |
|---|---|
static Format |
get(int i) |
static Format |
get(String id) |
String |
getGUIIndicator(Locale locale) |
static List<Format> |
getMediaFormats()
don't know if this is nice
|
MimeType |
getMimeType() |
MimeType |
getMimeType(String codec) |
List<Format> |
getSimilar() |
int |
getValue() |
boolean |
isReal() |
boolean |
isWindowsMedia() |
(package private) static void |
readMimeMapping(String mimeMappingFile) |
int |
toInt() |
static Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Format UNKNOWN
public static final Format MP3
public static final Format RA
public static final Format WAV
public static final Format PCM
public static final Format MP2
public static final Format RM
public static final Format VOB
public static final Format AVI
public static final Format MPEG
public static final Format MP4
public static final Format MPG
public static final Format ASF
public static final Format MOV
public static final Format WMA
public static final Format OGG
public static final Format OGM
public static final Format RAM
public static final Format WMP
public static final Format HTML
public static final Format SMIL
public static final Format QT
public static final Format ASX
public static final Format WAX
public static final Format WMV
public static final Format WVX
public static final Format WM
public static final Format WMX
public static final Format WMZ
public static final Format WMD
public static final Format MID
public static final Format OGV
public static final Format OGA
public static final Format WEBM
public static final Format PODCAST
public static final Format VODCAST
public static final Format M4A
public static final Format M4V
public static final Format TS
public static final Format GGP
public static final Format FLASH
public static final Format FLV
public static final Format JPG
public static final Format JPEG
public static final Format GIF
public static final Format BMP
public static final Format PNG
public static final Format TIFF
public static final Format AAC
public static final Format FLAC
public static final Format M3U
public static final Format M3U8
public static final Format ANY
public static final String RESOURCE
public static final String PUBLIC_ID_MIMEMAPPING_1_0
public static final String DTD_MIMEMAPPING_1_0
public static Format[] values()
for (Format c : Format.values()) System.out.println(c);
public static Format 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 nullstatic void readMimeMapping(String mimeMappingFile)
public int toInt()
public int getValue()
public static Format get(int i)
public boolean isReal()
public boolean isWindowsMedia()
public MimeType getMimeType()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}