Enum Class Platform

java.lang.Object
java.lang.Enum<Platform>
nl.vpro.domain.media.Platform
All Implemented Interfaces:
Serializable, Comparable<Platform>, Constable, Displayable

public enum Platform extends Enum<Platform> implements Displayable
Author:
Michiel Meeuwissen
  • Enum Constant Details

    • INTERNETVOD

      public static final Platform INTERNETVOD
      Visible on internet.

      For audio see INTERNETAOD

    • TVVOD

      public static final Platform TVVOD
    • PLUSVOD

      public static final Platform PLUSVOD
      NLZiet,platform "extra" in cooperation with Dutch commercial broadcasters
    • NPOPLUSVOD

      @Deprecated public static final Platform NPOPLUSVOD
      Deprecated.
      NPOPlus, platform "plusx" is the NPO only offspring/splitoff from NLZiet Zie MSE-2742 Blijkbaar nooit gebruikt.
  • Field Details

    • INTERNETAOD

      @Beta public static final Platform INTERNETAOD
      Audible on internet. For now this just is INTERNETVOD, assuming that even if some object has both audio and video, it should make no difference for the availability on a certain platform.

      Having this a proper enum would also require large amounts of republication, so for now we at least postpone that.

      Since:
      7.7
  • Method Details

    • values

      public static Platform[] 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 Platform 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
    • valueOfOrNull

      public static Platform valueOfOrNull(String id)
    • get

      public static Platform get(String id)
    • matches

      public boolean matches(Platform platform)
      Since:
      5.6.2
    • isStreamingPlatform

      public boolean isStreamingPlatform()
    • getAvTypes

      public Set<AVType> getAvTypes()
    • isEncryptionIsPossible

      public boolean isEncryptionIsPossible()
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Displayable