Enum MzIdentMLVersion

java.lang.Object
java.lang.Enum<MzIdentMLVersion>
com.compomics.util.experiment.io.identification.MzIdentMLVersion
All Implemented Interfaces:
Serializable, Comparable<MzIdentMLVersion>, java.lang.constant.Constable

public enum MzIdentMLVersion
extends Enum<MzIdentMLVersion>
Enum of the versions of the mzIdentML format supported.
Author:
Marc Vaudel
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static MzIdentMLVersion[] 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 MzIdentMLVersion 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
    • getMzIdentMLVersion

      public static MzIdentMLVersion getMzIdentMLVersion​(int index)
      Returns the mzIdentML format corresponding to the given index.
      Parameters:
      index - the index
      Returns:
      the mzIdentML format corresponding to the given index
    • getCommandLineOptions

      public static String getCommandLineOptions()
      Returns a string describing the different options.
      Returns:
      a string describing the different options