Method Summary |
|
final public static int[] | getCode(Locale locale) Gets a script codes associated with the given locale or ISO 15924 abbreviation or name.
Returns MALAYAM given "Malayam" OR "Mlym".
Returns LATIN given "en" OR "en_US"
Parameters: locale - Locale The script codes array. |
final public static int[] | getCode(ULocale locale) Gets a script codes associated with the given locale or ISO 15924 abbreviation or name.
Returns MALAYAM given "Malayam" OR "Mlym".
Returns LATIN given "en" OR "en_US"
Parameters: locale - ULocale The script codes array. |
final public static int[] | getCode(String nameOrAbbrOrLocale) Gets a script codes associated with the given locale or ISO 15924 abbreviation or name.
Returns MALAYAM given "Malayam" OR "Mlym".
Returns LATIN given "en" OR "en_US"
Note: To search by short or long script alias only, use
UCharacater.getPropertyValueEnum(UProperty.SCRIPT, alias)
instead. |
final public static int | getCodeFromName(String nameOrAbbr) Gets a script codes associated with the given ISO 15924 abbreviation or name. |
final public static String | getName(int scriptCode) Gets a script name associated with the given script code. |
final public static int | getScript(int codepoint) Gets the script code associated with the given codepoint. |
final public static String | getShortName(int scriptCode) Gets a script name associated with the given script code. |