org.apache.uima.cas.text
Class Language
java.lang.Object
org.apache.uima.cas.text.Language
public class Language
- extends Object
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
Language
public Language(String language)
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 © 2010 The Apache Software Foundation. All Rights Reserved.