Enum Class SearchMode

java.lang.Object
java.lang.Enum<SearchMode>
de.sfuhrm.radiobrowser4j.SearchMode
All Implemented Interfaces:
Serializable, Comparable<SearchMode>, Constable

public enum SearchMode extends Enum<SearchMode>
The mode to search for.
Author:
Stephan Fuhrmann
See Also:
  • Enum Constant Details

    • BYUUID

      public static final SearchMode BYUUID
      Search by UUID.
    • BYNAME

      public static final SearchMode BYNAME
      Search by name.
    • BYNAMEEXACT

      public static final SearchMode BYNAMEEXACT
      Search by exact name.
    • BYCODEC

      public static final SearchMode BYCODEC
      Search by codec.
    • BYCODECEXACT

      public static final SearchMode BYCODECEXACT
      Search by exact codec.
    • BYCOUNTRY

      public static final SearchMode BYCOUNTRY
      Search by country.
    • BYCOUNTRYEXACT

      public static final SearchMode BYCOUNTRYEXACT
      Search by exact country.
    • BYCOUNTRYCODEEXACT

      public static final SearchMode BYCOUNTRYCODEEXACT
      Search by ISO 3166-1 alpha-2 country code.
    • BYSTATE

      public static final SearchMode BYSTATE
      Search by state.
    • BYSTATEEXACT

      public static final SearchMode BYSTATEEXACT
      Search by exact state.
    • BYLANGUAGE

      public static final SearchMode BYLANGUAGE
      Search by language.
    • BYLANGUAGEEXACT

      public static final SearchMode BYLANGUAGEEXACT
      Search by exact language.
    • BYTAG

      public static final SearchMode BYTAG
      Search by tag.
    • BYTAGEXACT

      public static final SearchMode BYTAGEXACT
      Search by exact tag.
  • Method Details

    • values

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