Package nl.vpro.domain.media
Enum AVFileFormat
- java.lang.Object
-
- java.lang.Enum<AVFileFormat>
-
- nl.vpro.domain.media.AVFileFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<AVFileFormat>
public enum AVFileFormat extends Enum<AVFileFormat>
See also nl/vpro/domain/media/vproMedia.xsd . Don't forget to keep that file into sync with this.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<AVFileFormat>
forMimeType(String mimetype)
static AVFileFormat
forProgramUrl(String url)
static AVFileFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static AVFileFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HASP
public static final AVFileFormat HASP
-
H264
public static final AVFileFormat H264
-
MP4
public static final AVFileFormat MP4
-
M4A
public static final AVFileFormat M4A
-
M4V
public static final AVFileFormat M4V
-
MP3
public static final AVFileFormat MP3
-
WVC1
public static final AVFileFormat WVC1
-
WM
public static final AVFileFormat WM
-
WMP
public static final AVFileFormat WMP
-
FLV
public static final AVFileFormat FLV
-
DGPP
public static final AVFileFormat DGPP
-
RM
public static final AVFileFormat RM
-
RAM
public static final AVFileFormat RAM
-
RA
public static final AVFileFormat RA
-
MPEG2
public static final AVFileFormat MPEG2
-
HTML
public static final AVFileFormat HTML
-
UNKNOWN
public static final AVFileFormat UNKNOWN
-
-
Method Detail
-
values
public static AVFileFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AVFileFormat c : AVFileFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AVFileFormat valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forMimeType
public static Optional<AVFileFormat> forMimeType(String mimetype)
-
forProgramUrl
public static AVFileFormat forProgramUrl(String url)
-
-