public class DefaultLanguageScripts extends Object
Constructor and Description |
---|
DefaultLanguageScripts() |
Modifier and Type | Method and Description |
---|---|
static String |
getDefaultScript(String language)
Returns the default script for a language, or null if none.
|
static String |
getDefaultScript(String language,
String region)
Returns the default script for a language/region combination, or null if
none.
|
public static String getDefaultScript(String language)
language
- language code to get default script for (in lowercase)public static String getDefaultScript(String language, String region)
language
- language code to get default script for (in lowercase)region
- region code to get default script for (in uppercase); may be
nullCopyright © 2018. All rights reserved.