|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.icu.lang.UScript
A class to reflect UTR #24: Script Names (based on ISO 15924:2000, "Code for the representation of names of scripts"). UTR #24 describes the basis for a new Unicode data file, Scripts.txt.
Field Summary | |
static int |
ARABIC
Arabic |
static int |
ARMENIAN
Armenian |
static int |
BENGALI
Bengali |
static int |
BOPOMOFO
Bopomofo |
static int |
BRAILLE
Braille New script in Unicode 4 |
static int |
BUGINESE
New script code in Unicode 4.1 |
static int |
BUHID
Buhid |
static int |
CANADIAN_ABORIGINAL
Unified Canadian Aboriginal Symbols |
static int |
CHEROKEE
Cherokee |
static int |
CODE_LIMIT
Limit |
static int |
COMMON
Common |
static int |
COPTIC
Coptic |
static int |
CYPRIOT
Cypriot New script in Unicode 4 |
static int |
CYRILLIC
Cyrillic |
static int |
DESERET
Deseret |
static int |
DEVANAGARI
Devanagari |
static int |
ETHIOPIC
Ethiopic |
static int |
GEORGIAN
Georgian |
static int |
GLAGOLITIC
New script code in Unicode 4.1 |
static int |
GOTHIC
Gothic |
static int |
GREEK
Greek |
static int |
GUJARATI
Gujarati |
static int |
GURMUKHI
Gurmukhi |
static int |
HAN
Han |
static int |
HANGUL
Hangul |
static int |
HANUNOO
Hanunooo |
static int |
HEBREW
Hebrew |
static int |
HIRAGANA
Hiragana |
static int |
INHERITED
Inherited |
static int |
INVALID_CODE
Invalid code |
static int |
KANNADA
Kannada |
static int |
KATAKANA
Katakana |
static int |
KATAKANA_OR_HIRAGANA
New script code in Unicode 4.0.1 |
static int |
KHAROSHTHI
New script code in Unicode 4.1 |
static int |
KHMER
Khmer |
static int |
LAO
Lao |
static int |
LATIN
Latin |
static int |
LIMBU
Limbu New script in Unicode 4 |
static int |
LINEAR_B
Linear B New script in Unicode 4 |
static int |
MALAYALAM
Malayalam |
static int |
MONGOLIAN
Mangolian |
static int |
MYANMAR
Myammar |
static int |
NEW_TAI_LUE
New script code in Unicode 4.1 |
static int |
OGHAM
Ogham |
static int |
OLD_ITALIC
Old Itallic |
static int |
OLD_PERSIAN
New script code in Unicode 4.1 |
static int |
ORIYA
Oriya |
static int |
OSMANYA
Osmanya New script in Unicode 4 |
static int |
RUNIC
Runic |
static int |
SHAVIAN
Shavian New script in Unicode 4 |
static int |
SINHALA
Sinhala |
static int |
SYLOTI_NAGRI
New script code in Unicode 4.1 |
static int |
SYRIAC
Syriac |
static int |
TAGALOG
Tagalog |
static int |
TAGBANWA
Tagbanwa |
static int |
TAI_LE
Tai Le New script in Unicode 4 |
static int |
TAMIL
Tamil |
static int |
TELUGU
Telugu |
static int |
THAANA
Thana |
static int |
THAI
Thai |
static int |
TIBETAN
Tibetan |
static int |
TIFINAGH
New script code in Unicode 4.1 |
static int |
UCAS
Unified Canadian Aboriginal Symbols (alias) |
static int |
UGARITIC
Ugaritic New script in Unicode 4 |
static int |
YI
Yi syllables |
Method Summary | |
static int[] |
getCode(java.util.Locale locale)
Gets a script codes associated with the given locale or ISO 15924 abbreviation or name. |
static int[] |
getCode(java.lang.String nameOrAbbrOrLocale)
Gets a script codes associated with the given locale or ISO 15924 abbreviation or name. |
static int[] |
getCode(ULocale locale)
Gets a script codes associated with the given locale or ISO 15924 abbreviation or name. |
static int |
getCodeFromName(java.lang.String nameOrAbbr)
Gets a script codes associated with the given ISO 15924 abbreviation or name. |
static java.lang.String |
getName(int scriptCode)
Gets a script name associated with the given script code. |
static int |
getScript(int codepoint)
Gets the script code associated with the given codepoint. |
static java.lang.String |
getShortName(int scriptCode)
Gets a script name associated with the given script code. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int INVALID_CODE
public static final int COMMON
public static final int INHERITED
public static final int ARABIC
public static final int ARMENIAN
public static final int BENGALI
public static final int BOPOMOFO
public static final int CHEROKEE
public static final int COPTIC
public static final int CYRILLIC
public static final int DESERET
public static final int DEVANAGARI
public static final int ETHIOPIC
public static final int GEORGIAN
public static final int GOTHIC
public static final int GREEK
public static final int GUJARATI
public static final int GURMUKHI
public static final int HAN
public static final int HANGUL
public static final int HEBREW
public static final int HIRAGANA
public static final int KANNADA
public static final int KATAKANA
public static final int KHMER
public static final int LAO
public static final int LATIN
public static final int MALAYALAM
public static final int MONGOLIAN
public static final int MYANMAR
public static final int OGHAM
public static final int OLD_ITALIC
public static final int ORIYA
public static final int RUNIC
public static final int SINHALA
public static final int SYRIAC
public static final int TAMIL
public static final int TELUGU
public static final int THAANA
public static final int THAI
public static final int TIBETAN
public static final int CANADIAN_ABORIGINAL
public static final int UCAS
public static final int YI
public static final int TAGALOG
public static final int HANUNOO
public static final int BUHID
public static final int TAGBANWA
public static final int BRAILLE
public static final int CYPRIOT
public static final int LIMBU
public static final int LINEAR_B
public static final int OSMANYA
public static final int SHAVIAN
public static final int TAI_LE
public static final int UGARITIC
public static final int KATAKANA_OR_HIRAGANA
public static final int BUGINESE
public static final int GLAGOLITIC
public static final int KHAROSHTHI
public static final int SYLOTI_NAGRI
public static final int NEW_TAI_LUE
public static final int TIFINAGH
public static final int OLD_PERSIAN
public static final int CODE_LIMIT
Method Detail |
public static final int[] getCode(java.util.Locale locale)
locale
- Locale
public static final int[] getCode(ULocale locale)
locale
- ULocale
public static final int[] getCode(java.lang.String nameOrAbbrOrLocale)
Note: To search by short or long script alias only, use UCharacater.getPropertyValueEnum(UProperty.SCRIPT, alias) instead. This does a fast lookup with no access of the locale data.
nameOrAbbrOrLocale
- name of the script or ISO 15924 code or locale
public static final int getCodeFromName(java.lang.String nameOrAbbr)
nameOrAbbr
- name of the script or ISO 15924 code
public static final int getScript(int codepoint)
codepoint
- UChar32 codepoint
public static final java.lang.String getName(int scriptCode)
scriptCode
- int script code
public static final java.lang.String getShortName(int scriptCode)
scriptCode
- int script code
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |