Package eu.webtoolkit.jwt
Enum Class MediaEncoding
- All Implemented Interfaces:
Serializable
,Comparable<MediaEncoding>
,Constable
An enumeration for a media encoding.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAudio: Flash format.Video: Flash format.Audio: MP4 encoding (essential audio format)Video: MP4 encoding (essential video format)Audio: MP3 encoding (essential audio format)Audio: OGG encoding.Video: OGG encoding.The poster image (e.g.Audio: WAV (uncompressed) format.Audio: WebM encoding.Video: WebM encoding. -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Returns the numerical representation of this enum.static MediaEncoding
Returns the enum constant of this class with the specified name.static MediaEncoding[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PosterImage
The poster image (e.g. JPG/PNG) for a video. -
MP3
Audio: MP3 encoding (essential audio format) -
M4A
Audio: MP4 encoding (essential audio format) -
OGA
Audio: OGG encoding. -
WAV
Audio: WAV (uncompressed) format. -
WEBMA
Audio: WebM encoding. -
FLA
Audio: Flash format. -
M4V
Video: MP4 encoding (essential video format) -
OGV
Video: OGG encoding. -
WEBMV
Video: WebM encoding. -
FLV
Video: Flash format.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()Returns the numerical representation of this enum.
-