public class LanguageNames extends Object
Constructor and Description |
---|
LanguageNames() |
Modifier and Type | Method and Description |
---|---|
static boolean |
equals(String languageTagA,
String languageTagB) |
static String |
getMacroLanguage(String languageTag)
If language is a specific variant of a macro language (e.g.
|
static boolean |
hasMacroLanguage(String languageTag) |
static boolean |
isMacroLanguage(String languageTag) |
static String |
makeName(String language,
String script,
String region) |
static String |
normalizeName(String languageTag) |
public static boolean isMacroLanguage(String languageTag)
public static boolean hasMacroLanguage(String languageTag)
public static String getMacroLanguage(String languageTag)
languageTag
- Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.