Package com.ilib
Class ScriptInfo
- java.lang.Object
-
- com.ilib.ScriptInfo
-
public class ScriptInfo extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ScriptInfo()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getScriptByLocale(IlibLocale target)
Seeks for full locale name in locales map and returns script of target locale, otherwise - default script Latnprotected static void
initLocales()
-
-
-
Method Detail
-
initLocales
protected static void initLocales()
-
getScriptByLocale
public static java.lang.String getScriptByLocale(IlibLocale target)
Seeks for full locale name in locales map and returns script of target locale, otherwise - default script Latn- Parameters:
target
- locale in BCP 47 format- Returns:
- native script for given locale and default script Latn if locale is not detected
-
-