Enum Class MediaEncoding

java.lang.Object
java.lang.Enum<MediaEncoding>
eu.webtoolkit.jwt.MediaEncoding
All Implemented Interfaces:
Serializable, Comparable<MediaEncoding>, Constable

public enum MediaEncoding extends Enum<MediaEncoding>
An enumeration for a media encoding.
  • Enum Constant Details

    • PosterImage

      public static final MediaEncoding PosterImage
      The poster image (e.g. JPG/PNG) for a video.
    • MP3

      public static final MediaEncoding MP3
      Audio: MP3 encoding (essential audio format)
    • M4A

      public static final MediaEncoding M4A
      Audio: MP4 encoding (essential audio format)
    • OGA

      public static final MediaEncoding OGA
      Audio: OGG encoding.
    • WAV

      public static final MediaEncoding WAV
      Audio: WAV (uncompressed) format.
    • WEBMA

      public static final MediaEncoding WEBMA
      Audio: WebM encoding.
    • FLA

      public static final MediaEncoding FLA
      Audio: Flash format.
    • M4V

      public static final MediaEncoding M4V
      Video: MP4 encoding (essential video format)
    • OGV

      public static final MediaEncoding OGV
      Video: OGG encoding.
    • WEBMV

      public static final MediaEncoding WEBMV
      Video: WebM encoding.
    • FLV

      public static final MediaEncoding FLV
      Video: Flash format.
  • Method Details

    • values

      public static MediaEncoding[] 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

      public static MediaEncoding valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Returns the numerical representation of this enum.