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 and Description
    --- | ---
    `static char` | `CANONICAL_LANG_SEPARATOR`
    `static String` | `UNSPECIFIED_LANGUAGE`
    `static Language` | `ZH`
    `static Language` | `ZH_CN`
    `static Language` | `ZH_TW`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Language(String language)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getFullLanguage()`
    `String` | `getLanguagePart()`
    `String` | `getTerritoryPart()`
    `static void` | `main(String[] args)`
    `static String` | `normalize(String lang)`
    `String` | `toString()`

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

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

- - ### Field Detail

    - #### 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 Detail

    - #### Language

          public Language(String language)

  - ### Method Detail

    - #### 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)

Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.