Enum Class Language

java.lang.Object
java.lang.Enum<Language>
com.iizix.translate.microsoft.Language
All Implemented Interfaces:
Serializable, Comparable<Language>, Constable

public enum Language extends Enum<Language>
List of languages and their language codes for the Azure Cognitive Services API.
Author:
Christopher Mindus
  • Enum Constant Details

    • Auto_detect

      public static final Language Auto_detect
    • Afrikaans

      public static final Language Afrikaans
    • Arabic

      public static final Language Arabic
    • Bosnian_Latin

      public static final Language Bosnian_Latin
    • Bulgarian

      public static final Language Bulgarian
    • Catalan

      public static final Language Catalan
    • Chinese_Simplified

      public static final Language Chinese_Simplified
    • Chinese_Traditional

      public static final Language Chinese_Traditional
    • Croatian

      public static final Language Croatian
    • Czech

      public static final Language Czech
    • Danish

      public static final Language Danish
    • Dutch

      public static final Language Dutch
    • English

      public static final Language English
    • Estonian

      public static final Language Estonian
    • Finnish

      public static final Language Finnish
    • French

      public static final Language French
    • German

      public static final Language German
    • Greek

      public static final Language Greek
    • Haitian_Creole

      public static final Language Haitian_Creole
    • Hebrew

      public static final Language Hebrew
    • Hindi

      public static final Language Hindi
    • Hmong_Daw

      public static final Language Hmong_Daw
    • Hungarian

      public static final Language Hungarian
    • Indonesian

      public static final Language Indonesian
    • Italian

      public static final Language Italian
    • Japanese

      public static final Language Japanese
    • Kiswahili

      public static final Language Kiswahili
    • Klingon

      public static final Language Klingon
    • Klingon_pIqaD

      public static final Language Klingon_pIqaD
    • Korean

      public static final Language Korean
    • Latvian

      public static final Language Latvian
    • Lithuanian

      public static final Language Lithuanian
    • Malay

      public static final Language Malay
    • Maltese

      public static final Language Maltese
    • Norwegian

      public static final Language Norwegian
    • Persian

      public static final Language Persian
    • Polish

      public static final Language Polish
    • Portuguese

      public static final Language Portuguese
    • Queretaro_Otomi

      public static final Language Queretaro_Otomi
    • Romanian

      public static final Language Romanian
    • Russian

      public static final Language Russian
    • Serbian_Cyrillic

      public static final Language Serbian_Cyrillic
    • Serbian_Latin

      public static final Language Serbian_Latin
    • Slovak

      public static final Language Slovak
    • Slovenian

      public static final Language Slovenian
    • Spanish

      public static final Language Spanish
    • Swedish

      public static final Language Swedish
    • Thai

      public static final Language Thai
    • Turkish

      public static final Language Turkish
    • Ukrainian

      public static final Language Ukrainian
    • Urdu

      public static final Language Urdu
    • Vietnamese

      public static final Language Vietnamese
    • Welsh

      public static final Language Welsh
    • Yucatec_Maya

      public static final Language Yucatec_Maya
  • Field Details

    • langID

      public final String langID
      Short abbreviation of the language name, typically two characters (unless for Chinese).
    • description

      public final String description
      Description.
  • 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
    • get

      public static Language get(String langID)
      Creates a Language enum from a language ID.
      Parameters:
      langID - The language ID.
      Returns:
      The Language.Nnn enum, or null if not found.
    • toString

      public String toString()
      Gets the language name.
      Overrides:
      toString in class Enum<Language>
      Returns:
      The language name in English.