Enum Class Language

java.lang.Object
java.lang.Enum<Language>
io.github.cobas91.enums.Language
All Implemented Interfaces:
Serializable, Comparable<Language>, java.lang.constant.Constable

public enum Language extends Enum<Language>
Enumeration class representing the supported languages.
  • Enum Constant Details

    • en_US

      public static final Language en_US
    • cs_CZ

      public static final Language cs_CZ
    • de_DE

      public static final Language de_DE
    • el_GR

      public static final Language el_GR
    • en_AU

      public static final Language en_AU
    • en_GB

      public static final Language en_GB
    • en_PH

      public static final Language en_PH
    • en_SG

      public static final Language en_SG
    • es_AR

      public static final Language es_AR
    • es_ES

      public static final Language es_ES
    • es_MX

      public static final Language es_MX
    • fr_FR

      public static final Language fr_FR
    • hu_HU

      public static final Language hu_HU
    • it_IT

      public static final Language it_IT
    • ja_JP

      public static final Language ja_JP
    • ko_KR

      public static final Language ko_KR
    • pl_PL

      public static final Language pl_PL
    • pt_BR

      public static final Language pt_BR
    • ro_RO

      public static final Language ro_RO
    • ru_RU

      public static final Language ru_RU
    • th_TH

      public static final Language th_TH
    • tr_TR

      public static final Language tr_TR
    • vi_VN

      public static final Language vi_VN
    • zh_CN

      public static final Language zh_CN
    • zh_MY

      public static final Language zh_MY
    • ms_MY

      public static final Language ms_MY
    • zh_TW

      public static final Language zh_TW
    • id_ID

      public static final Language id_ID
  • Method Details

    • values

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