Enum Class NfoAudioCodec

java.lang.Object
java.lang.Enum<NfoAudioCodec>
be.gaudry.model.file.nfo.constants.NfoAudioCodec
All Implemented Interfaces:
INfoEnum, Serializable, Comparable<NfoAudioCodec>, Constable

public enum NfoAudioCodec extends Enum<NfoAudioCodec> implements INfoEnum
Author:
Steph GAUDRY
  • Enum Constant Details

  • Method Details

    • values

      public static NfoAudioCodec[] 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 NfoAudioCodec 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
    • getInfo

      public String getInfo(boolean htmlWrapped)
      Description copied from interface: INfoEnum
      The information to display about this nfo value
      Specified by:
      getInfo in interface INfoEnum
      Parameters:
      htmlWrapped - true to wrap text by HTML tags
      Returns:
    • getDisplay

      public String getDisplay()
      Description copied from interface: INfoEnum
      The display to show in a GUI component
      Specified by:
      getDisplay in interface INfoEnum
      Returns:
    • getModel

      public static String[] getModel()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<NfoAudioCodec>
    • getNfoType

      public static String getNfoType()
      Returns the type of information provided by the enum.
      Returns:
    • getNfoValue

      public String getNfoValue()
      Description copied from interface: INfoEnum
      The value to store in the nfo tag
      Specified by:
      getNfoValue in interface INfoEnum
      Returns: