Package org.apache.uima.cas.text

# Class Language

java.lang.Object
org.apache.uima.cas.text.Language

public class Language extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final char`
  `CANONICAL_LANG_SEPARATOR`
  `static final String`
  `UNSPECIFIED_LANGUAGE`
  `static final Language`
  `ZH`
  `static final Language`
  `ZH_CN`
  `static final Language`
  `ZH_TW`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Language(String language)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getFullLanguage()`
  `String`
  `getLanguagePart()`
  `String`
  `getTerritoryPart()`
  `static void`
  `main(String[] args)`
  `static final String`
  `normalize(String lang)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### UNSPECIFIED_LANGUAGE

    public static final String UNSPECIFIED_LANGUAGE
    See Also:
      - Constant Field Values

  - ### ZH

    public static final Language ZH

  - ### ZH_CN

    public static final Language ZH_CN

  - ### ZH_TW

    public static final Language ZH_TW

  - ### CANONICAL_LANG_SEPARATOR

    public static final char CANONICAL_LANG_SEPARATOR
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### Language

    public Language(String language)

- ## Method Details

  - ### normalize

    public static final String normalize(String lang)

  - ### getLanguagePart

    public String getLanguagePart()

  - ### getTerritoryPart

    public String getTerritoryPart()

  - ### getFullLanguage

    public String getFullLanguage()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### main

    public static void main(String[] args)