public enum Format extends Enum<Format>
| Enum Constant and Description |
|---|
AVI |
FLV |
H264 |
IMG |
IVF |
MJPEG |
MKV |
MOV |
MPEG_AUDIO |
MPEG_PS |
MPEG_TS |
RAW |
WAV |
WEBP |
Y4M |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAudio() |
boolean |
isVideo() |
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 MOV
public static final Format MPEG_PS
public static final Format MPEG_TS
public static final Format MKV
public static final Format H264
public static final Format RAW
public static final Format FLV
public static final Format AVI
public static final Format IMG
public static final Format IVF
public static final Format MJPEG
public static final Format Y4M
public static final Format WAV
public static final Format WEBP
public static final Format MPEG_AUDIO
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 nullpublic boolean isAudio()
public boolean isVideo()
Copyright © 2018. All rights reserved.