Enum InfoType

java.lang.Object
java.lang.Enum<InfoType>
com.amilesend.mediainfo.type.InfoType
All Implemented Interfaces:
Serializable, Comparable<InfoType>

public enum InfoType extends Enum<InfoType>
Defines the kind of info types available to parse from media files.
  • Enum Constant Details

    • Name

      public static final InfoType Name
      Parameter name.
    • Text

      public static final InfoType Text
      Parameter value.
    • Measure

      public static final InfoType Measure
      Unit of parameter value.
    • Options

      public static final InfoType Options
      Indicates options for parsing.
    • NameText

      public static final InfoType NameText
      Translated name of the parameter.
    • MeasureText

      public static final InfoType MeasureText
      Translated name of the measurement unit.
    • Info

      public static final InfoType Info
      More information about the parameter.
    • HowTo

      public static final InfoType HowTo
      How this parameter is supported. Values can be:
      • N (No)
      • B (Beta)
      • R (Read only)
      • W (Read/Write)
    • Domain

      public static final InfoType Domain
      Domain of this piece of information.
  • Method Details

    • values

      public static InfoType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static InfoType 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 name
      NullPointerException - if the argument is null