public class Language extends Object
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 |
Modifier and Type | Method and Description |
---|---|
String |
getFullLanguage() |
String |
getLanguagePart() |
String |
getTerritoryPart() |
static void |
main(String[] args) |
static String |
normalize(String lang) |
String |
toString() |
public static final String UNSPECIFIED_LANGUAGE
public static final Language ZH
public static final Language ZH_CN
public static final Language ZH_TW
public static final char CANONICAL_LANG_SEPARATOR
public Language(String language)
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.