Package io.micronaut.rss.language
Enum Class RssLanguage
- All Implemented Interfaces:
Serializable
,Comparable<RssLanguage>
,Constable
Languages for RSS.
- Since:
- 1.0
- Author:
- Sergio del Amo
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
@NonNull String
static @NonNull Optional<RssLanguage>
toMap()
static RssLanguage
Returns the enum constant of this class with the specified name.static RssLanguage[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LANG_AFRIKAANS
-
LANG_ALBANIAN
-
LANG_BASQUE
-
LANG_BELARUSIAN
-
LANG_BULGARIAN
-
LANG_CATALAN
-
LANG_CHINESE_SIMPLIFIED
-
LANG_CHINESE_TRADITIONAL
-
LANG_CROATIAN
-
LANG_CZECH
-
LANG_DANISH
-
LANG_DUTCH
-
LANG_DUTCH_BELGIUM
-
LANG_DUTCH_NETHERLANDS
-
LANG_ENGLISH
-
LANG_ENGLISH_AUSTRALIA
-
LANG_ENGLISH_BELIZE
-
LANG_ENGLISH_CANANDA
-
LANG_ENGLISH_IRELAND
-
LANG_ENGLISH_JAMAICA
-
LANG_ENGLISH_NEW_ZEALAND
-
LANG_ENGLISH_PHILLIPINES
-
LANG_ENGLISH_SOUTH_AFRICA
-
LANG_ENGLISH_TRINIDAD
-
LANG_ENGLISH_UNITED_KINGDOM
-
LANG_ENGLISH_UNITED_STATES
-
LANG_ENGLISH_ZIMBABWE
-
LANG_ESTONIAN
-
LANG_FAEROESE
-
LANG_FINNISH
-
LANG_FRENCH
-
LANG_FRENCH_BELGIUM
-
LANG_FRENCH_CANADA
-
LANG_FRENCH_FRANCE
-
LANG_FRENCH_LUXEMBOURG
-
LANG_FRENCH_MONACO
-
LANG_FRENCH_SWITZERLAND
-
LANG_GALICIAN
-
LANG_GAELIC
-
LANG_GERMAN
-
LANG_GERMAN_AUSTRIA
-
LANG_GERMAN_GERMANY
-
LANG_GERMAN_LIECHTENSTEIN
-
LANG_GERMAN_LUXEMBOURG
-
LANG_GERMAN_SWITZERLAND
-
LANG_GREEK
-
LANG_HAWAIIAN
-
LANG_HUNGARIAN
-
LANG_ICENLANDIC
-
LANG_INDONESIAN
-
LANG_IRISH
-
LANG_ITALIAN
-
LANG_ITALIAN_ITALY
-
LANG_ITALIAN_SWITZERLAND
-
LANG_JAPANESE
-
LANG_KOREAN
-
LANG_MACEDONIAN
-
LANG_NORWEGIAN
-
LANG_POLISH
-
LANG_PORTUGUESE
-
LANG_PORTUGUESE_BRAZIL
-
LANG_PORTUGUESE_PORTUGAL
-
LANG_ROMANIAN
-
LANG_ROMANIAN_MOLDOVA
-
LANG_ROMANIAN_ROMANIA
-
LANG_RUSSIAN
-
LANG_RUSSIAN_MOLDOVA
-
LANG_RUSSIAN_RUSSIA
-
LANG_SERBIAN
-
LANG_SLOVAK
-
LANG_SLOVENIAN
-
LANG_SPANISH
-
LANG_SPANISH_ARGENTINA
-
LANG_SPANISH_BOLIVIA
-
LANG_SPANISH_CHILE
-
LANG_SPANISH_COLOMBIA
-
LANG_SPANISH_COSTA_RICA
-
LANG_SPANISH_DOMNICAN_REPUBLIC
-
LANG_SPANISH_ECUADOR
-
LANG_SPANISH_EL_SALVADOR
-
LANG_SPANISH_GUATEMALA
-
LANG_SPANISH_HONDURAS
-
LANG_SPANISH_MEXICO
-
LANG_SPANISH_NICARAGUA
-
LANG_SPANISH_PANAMA
-
LANG_SPANISH_PARAGUAY
-
LANG_SPANISH_PERU
-
LANG_SPANISH_PUERTO_RICO
-
LANG_SPANISH_SPAIN
-
LANG_SPANISH_URUGUAY
-
LANG_SPANISH_VENEZUELA
-
LANG_SWEDISH
-
LANG_SWEDISH_FINLAND
-
LANG_SWEDISH_SWEDEN
-
LANG_TURKISH
-
LANG_UKRANIAN
-
-
Field Details
-
LANGUAGE_CODE_PATTERN
- See Also:
-
-
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
-
getLanguageName
- Returns:
- The languageName
-
getLanguageCode
- Returns:
- The languageCode
-
toMap
- Returns:
- a RssLanguage as Map
-
of
-