Package de.sfuhrm.radiobrowser4j
Enum Class SearchMode
- All Implemented Interfaces:
Serializable
,Comparable<SearchMode>
,Constable
The mode to search for.
- Author:
- Stephan Fuhrmann
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSearch by codec.Search by exact codec.Search by country.Search by ISO 3166-1 alpha-2 country code.Search by exact country.Search by language.Search by exact language.Search by name.Search by exact name.Search by state.Search by exact state.Search by tag.Search by exact tag.Search by UUID. -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchMode
Returns the enum constant of this class with the specified name.static SearchMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BYUUID
Search by UUID. -
BYNAME
Search by name. -
BYNAMEEXACT
Search by exact name. -
BYCODEC
Search by codec. -
BYCODECEXACT
Search by exact codec. -
BYCOUNTRY
Search by country. -
BYCOUNTRYEXACT
Search by exact country. -
BYCOUNTRYCODEEXACT
Search by ISO 3166-1 alpha-2 country code. -
BYSTATE
Search by state. -
BYSTATEEXACT
Search by exact state. -
BYLANGUAGE
Search by language. -
BYLANGUAGEEXACT
Search by exact language. -
BYTAG
Search by tag. -
BYTAGEXACT
Search by exact tag.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-