com.ibm.icu.lang
Class UScript

java.lang.Object
  extended by com.ibm.icu.lang.UScript

public final class UScript
extends Object

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.

Status:
Stable ICU 2.4.

Field Summary
static int ARABIC
          Arabic
static int ARMENIAN
          Armenian
static int AVESTAN
          ISO 15924 script code
static int BALINESE
          ISO 15924 script code
static int BATAK
          ISO 15924 script code
static int BENGALI
          Bengali
static int BLISSYMBOLS
          ISO 15924 script code
static int BOOK_PAHLAVI
          ISO 15924 script code
static int BOPOMOFO
          Bopomofo
static int BRAHMI
          ISO 15924 script code
static int BRAILLE
          Braille Script in Unicode 4
static int BUGINESE
          Script in Unicode 4.1
static int BUHID
          Buhid
static int CANADIAN_ABORIGINAL
          Unified Canadian Aboriginal Symbols
static int CARIAN
          ISO 15924 script code
static int CHAKMA
          ISO 15924 script code
static int CHAM
          ISO 15924 script code
static int CHEROKEE
          Cherokee
static int CIRTH
          ISO 15924 script code
static int CODE_LIMIT
          Limit
static int COMMON
          Common
static int COPTIC
          Coptic
static int CUNEIFORM
          ISO 15924 script code
static int CYPRIOT
          Cypriot Script in Unicode 4
static int CYRILLIC
          Cyrillic
static int DEMOTIC_EGYPTIAN
          ISO 15924 script code
static int DESERET
          Deseret
static int DEVANAGARI
          Devanagari
static int EASTERN_SYRIAC
          ISO 15924 script code
static int EGYPTIAN_HIEROGLYPHS
          ISO 15924 script code
static int ESTRANGELO_SYRIAC
          ISO 15924 script code
static int ETHIOPIC
          Ethiopic
static int GEORGIAN
          Georgian
static int GLAGOLITIC
          Script 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 HARAPPAN_INDUS
          ISO 15924 script code
static int HEBREW
          Hebrew
static int HIERATIC_EGYPTIAN
          ISO 15924 script code
static int HIRAGANA
          Hiragana
static int IMPERIAL_ARAMAIC
          ISO 15924 script code
static int INHERITED
          Inherited
static int INSCRIPTIONAL_PAHLAVI
          ISO 15924 script code
static int INSCRIPTIONAL_PARTHIAN
          ISO 15924 script code
static int INVALID_CODE
          Invalid code
static int JAPANESE
          ISO 15924 script code
static int JAVANESE
          ISO 15924 script code
static int KAITHI
          ISO 15924 script code
static int KANNADA
          Kannada
static int KATAKANA
          Katakana
static int KATAKANA_OR_HIRAGANA
          Script in Unicode 4.0.1
static int KAYAH_LI
          ISO 15924 script code
static int KHAROSHTHI
          Script in Unicode 4.1
static int KHMER
          Khmer
static int KHUTSURI
          ISO 15924 script code
static int KOREAN
          ISO 15924 script code
static int LANNA
          ISO 15924 script code
static int LAO
          Lao
static int LATIN
          Latin
static int LATIN_FRAKTUR
          ISO 15924 script code
static int LATIN_GAELIC
          ISO 15924 script code
static int LEPCHA
          ISO 15924 script code
static int LIMBU
          Limbu Script in Unicode 4
static int LINEAR_A
          ISO 15924 script code
static int LINEAR_B
          Linear B Script in Unicode 4
static int LYCIAN
          ISO 15924 script code
static int LYDIAN
          ISO 15924 script code
static int MALAYALAM
          Malayalam
static int MANDAEAN
          ISO 15924 script code
static int MANICHAEAN
          ISO 15924 script code
static int MATHEMATICAL_NOTATION
          ISO 15924 script code
static int MAYAN_HIEROGLYPHS
          ISO 15924 script code
static int MEITEI_MAYEK
          ISO 15924 script code
static int MEROITIC
          ISO 15924 script code
static int MONGOLIAN
          Mangolian
static int MOON
          ISO 15924 script code
static int MYANMAR
          Myammar
static int NEW_TAI_LUE
          Script in Unicode 4.1
static int NKO
          ISO 15924 script code
static int OGHAM
          Ogham
static int OL_CHIKI
          ISO 15924 script code
static int OLD_CHURCH_SLAVONIC_CYRILLIC
          ISO 15924 script code
static int OLD_HUNGARIAN
          ISO 15924 script code
static int OLD_ITALIC
          Old Itallic
static int OLD_PERMIC
          ISO 15924 script code
static int OLD_PERSIAN
          Script in Unicode 4.1
static int ORIYA
          Oriya
static int ORKHON
          ISO 15924 script code
static int OSMANYA
          Osmanya Script in Unicode 4
static int PAHAWH_HMONG
          ISO 15924 script code
static int PHAGS_PA
          ISO 15924 script code
static int PHOENICIAN
          ISO 15924 script code
static int PHONETIC_POLLARD
          ISO 15924 script code
static int PSALTER_PAHLAVI
          ISO 15924 script code
static int REJANG
          ISO 15924 script code
static int RONGORONGO
          ISO 15924 script code
static int RUNIC
          Runic
static int SAMARITAN
          ISO 15924 script code
static int SARATI
          ISO 15924 script code
static int SAURASHTRA
          ISO 15924 script code
static int SHAVIAN
          Shavian Script in Unicode 4
static int SIGN_WRITING
          ISO 15924 script code
static int SIMPLIFIED_HAN
          ISO 15924 script code
static int SINHALA
          Sinhala
static int SUNDANESE
          ISO 15924 script code
static int SYLOTI_NAGRI
          Script in Unicode 4.1
static int SYMBOLS
          ISO 15924 script code
static int SYRIAC
          Syriac
static int TAGALOG
          Tagalog
static int TAGBANWA
          Tagbanwa
static int TAI_LE
          Tai Le Script in Unicode 4
static int TAI_VIET
          ISO 15924 script code
static int TAMIL
          Tamil
static int TELUGU
          Telugu
static int TENGWAR
          ISO 15924 script code
static int THAANA
          Thana
static int THAI
          Thai
static int TIBETAN
          Tibetan
static int TIFINAGH
          Script in Unicode 4.1
static int TRADITIONAL_HAN
          ISO 15924 script code
static int UCAS
          Unified Canadian Aboriginal Symbols (alias)
static int UGARITIC
          Ugaritic Script in Unicode 4
static int UNKNOWN
          ISO 15924 script code
static int UNWRITTEN_LANGUAGES
          ISO 15924 script code
static int VAI
          ISO 15924 script code
static int VISIBLE_SPEECH
          ISO 15924 script code
static int WESTERN_SYRIAC
          ISO 15924 script code
static int YI
          Yi syllables
 
Method Summary
static int[] getCode(Locale locale)
          Gets a script codes associated with the given locale or ISO 15924 abbreviation or name.
static int[] getCode(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(String nameOrAbbr)
          Deprecated. This API is ICU internal only.
static 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 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

INVALID_CODE

public static final int INVALID_CODE
Invalid code

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

COMMON

public static final int COMMON
Common

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

INHERITED

public static final int INHERITED
Inherited

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

ARABIC

public static final int ARABIC
Arabic

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

ARMENIAN

public static final int ARMENIAN
Armenian

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

BENGALI

public static final int BENGALI
Bengali

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

BOPOMOFO

public static final int BOPOMOFO
Bopomofo

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

CHEROKEE

public static final int CHEROKEE
Cherokee

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

COPTIC

public static final int COPTIC
Coptic

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

CYRILLIC

public static final int CYRILLIC
Cyrillic

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

DESERET

public static final int DESERET
Deseret

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

DEVANAGARI

public static final int DEVANAGARI
Devanagari

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

ETHIOPIC

public static final int ETHIOPIC
Ethiopic

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

GEORGIAN

public static final int GEORGIAN
Georgian

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

GOTHIC

public static final int GOTHIC
Gothic

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

GREEK

public static final int GREEK
Greek

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

GUJARATI

public static final int GUJARATI
Gujarati

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

GURMUKHI

public static final int GURMUKHI
Gurmukhi

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

HAN

public static final int HAN
Han

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

HANGUL

public static final int HANGUL
Hangul

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

HEBREW

public static final int HEBREW
Hebrew

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

HIRAGANA

public static final int HIRAGANA
Hiragana

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

KANNADA

public static final int KANNADA
Kannada

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

KATAKANA

public static final int KATAKANA
Katakana

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

KHMER

public static final int KHMER
Khmer

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

LAO

public static final int LAO
Lao

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

LATIN

public static final int LATIN
Latin

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

MALAYALAM

public static final int MALAYALAM
Malayalam

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

MONGOLIAN

public static final int MONGOLIAN
Mangolian

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

MYANMAR

public static final int MYANMAR
Myammar

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

OGHAM

public static final int OGHAM
Ogham

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

OLD_ITALIC

public static final int OLD_ITALIC
Old Itallic

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

ORIYA

public static final int ORIYA
Oriya

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

RUNIC

public static final int RUNIC
Runic

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

SINHALA

public static final int SINHALA
Sinhala

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

SYRIAC

public static final int SYRIAC
Syriac

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

TAMIL

public static final int TAMIL
Tamil

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

TELUGU

public static final int TELUGU
Telugu

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

THAANA

public static final int THAANA
Thana

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

THAI

public static final int THAI
Thai

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

TIBETAN

public static final int TIBETAN
Tibetan

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

CANADIAN_ABORIGINAL

public static final int CANADIAN_ABORIGINAL
Unified Canadian Aboriginal Symbols

See Also:
Constant Field Values
Status:
Stable ICU 2.6.

UCAS

public static final int UCAS
Unified Canadian Aboriginal Symbols (alias)

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

YI

public static final int YI
Yi syllables

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

TAGALOG

public static final int TAGALOG
Tagalog

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

HANUNOO

public static final int HANUNOO
Hanunooo

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

BUHID

public static final int BUHID
Buhid

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

TAGBANWA

public static final int TAGBANWA
Tagbanwa

See Also:
Constant Field Values
Status:
Stable ICU 2.4.

BRAILLE

public static final int BRAILLE
Braille Script in Unicode 4

See Also:
Constant Field Values
Status:
Stable ICU 2.6.

CYPRIOT

public static final int CYPRIOT
Cypriot Script in Unicode 4

See Also:
Constant Field Values
Status:
Stable ICU 2.6.

LIMBU

public static final int LIMBU
Limbu Script in Unicode 4

See Also:
Constant Field Values
Status:
Stable ICU 2.6.

LINEAR_B

public static final int LINEAR_B
Linear B Script in Unicode 4

See Also:
Constant Field Values
Status:
Stable ICU 2.6.

OSMANYA

public static final int OSMANYA
Osmanya Script in Unicode 4

See Also:
Constant Field Values
Status:
Stable ICU 2.6.

SHAVIAN

public static final int SHAVIAN
Shavian Script in Unicode 4

See Also:
Constant Field Values
Status:
Stable ICU 2.6.

TAI_LE

public static final int TAI_LE
Tai Le Script in Unicode 4

See Also:
Constant Field Values
Status:
Stable ICU 2.6.

UGARITIC

public static final int UGARITIC
Ugaritic Script in Unicode 4

See Also:
Constant Field Values
Status:
Stable ICU 2.6.

KATAKANA_OR_HIRAGANA

public static final int KATAKANA_OR_HIRAGANA
Script in Unicode 4.0.1

See Also:
Constant Field Values
Status:
Stable ICU 3.0.

BUGINESE

public static final int BUGINESE
Script in Unicode 4.1

See Also:
Constant Field Values
Status:
Stable ICU 3.4.

GLAGOLITIC

public static final int GLAGOLITIC
Script in Unicode 4.1

See Also:
Constant Field Values
Status:
Stable ICU 3.4.

KHAROSHTHI

public static final int KHAROSHTHI
Script in Unicode 4.1

See Also:
Constant Field Values
Status:
Stable ICU 3.4.

SYLOTI_NAGRI

public static final int SYLOTI_NAGRI
Script in Unicode 4.1

See Also:
Constant Field Values
Status:
Stable ICU 3.4.

NEW_TAI_LUE

public static final int NEW_TAI_LUE
Script in Unicode 4.1

See Also:
Constant Field Values
Status:
Stable ICU 3.4.

TIFINAGH

public static final int TIFINAGH
Script in Unicode 4.1

See Also:
Constant Field Values
Status:
Stable ICU 3.4.

OLD_PERSIAN

public static final int OLD_PERSIAN
Script in Unicode 4.1

See Also:
Constant Field Values
Status:
Stable ICU 3.4.

BALINESE

public static final int BALINESE
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

BATAK

public static final int BATAK
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

BLISSYMBOLS

public static final int BLISSYMBOLS
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

BRAHMI

public static final int BRAHMI
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

CHAM

public static final int CHAM
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

CIRTH

public static final int CIRTH
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

OLD_CHURCH_SLAVONIC_CYRILLIC

public static final int OLD_CHURCH_SLAVONIC_CYRILLIC
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

DEMOTIC_EGYPTIAN

public static final int DEMOTIC_EGYPTIAN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

HIERATIC_EGYPTIAN

public static final int HIERATIC_EGYPTIAN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

EGYPTIAN_HIEROGLYPHS

public static final int EGYPTIAN_HIEROGLYPHS
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

KHUTSURI

public static final int KHUTSURI
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

SIMPLIFIED_HAN

public static final int SIMPLIFIED_HAN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

TRADITIONAL_HAN

public static final int TRADITIONAL_HAN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

PAHAWH_HMONG

public static final int PAHAWH_HMONG
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

OLD_HUNGARIAN

public static final int OLD_HUNGARIAN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

HARAPPAN_INDUS

public static final int HARAPPAN_INDUS
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

JAVANESE

public static final int JAVANESE
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

KAYAH_LI

public static final int KAYAH_LI
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

LATIN_FRAKTUR

public static final int LATIN_FRAKTUR
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

LATIN_GAELIC

public static final int LATIN_GAELIC
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

LEPCHA

public static final int LEPCHA
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

LINEAR_A

public static final int LINEAR_A
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

MANDAEAN

public static final int MANDAEAN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

MAYAN_HIEROGLYPHS

public static final int MAYAN_HIEROGLYPHS
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

MEROITIC

public static final int MEROITIC
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

NKO

public static final int NKO
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

ORKHON

public static final int ORKHON
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

OLD_PERMIC

public static final int OLD_PERMIC
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

PHAGS_PA

public static final int PHAGS_PA
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

PHOENICIAN

public static final int PHOENICIAN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

PHONETIC_POLLARD

public static final int PHONETIC_POLLARD
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

RONGORONGO

public static final int RONGORONGO
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

SARATI

public static final int SARATI
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

ESTRANGELO_SYRIAC

public static final int ESTRANGELO_SYRIAC
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

WESTERN_SYRIAC

public static final int WESTERN_SYRIAC
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

EASTERN_SYRIAC

public static final int EASTERN_SYRIAC
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

TENGWAR

public static final int TENGWAR
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

VAI

public static final int VAI
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

VISIBLE_SPEECH

public static final int VISIBLE_SPEECH
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

CUNEIFORM

public static final int CUNEIFORM
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

UNWRITTEN_LANGUAGES

public static final int UNWRITTEN_LANGUAGES
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

UNKNOWN

public static final int UNKNOWN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.6.

CARIAN

public static final int CARIAN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.8.

JAPANESE

public static final int JAPANESE
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.8.

LANNA

public static final int LANNA
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.8.

LYCIAN

public static final int LYCIAN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.8.

LYDIAN

public static final int LYDIAN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.8.

OL_CHIKI

public static final int OL_CHIKI
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.8.

REJANG

public static final int REJANG
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.8.

SAURASHTRA

public static final int SAURASHTRA
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.8.

SIGN_WRITING

public static final int SIGN_WRITING
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.8.

SUNDANESE

public static final int SUNDANESE
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.8.

MOON

public static final int MOON
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.8.

MEITEI_MAYEK

public static final int MEITEI_MAYEK
ISO 15924 script code

See Also:
Constant Field Values
Status:
Stable ICU 3.8.

IMPERIAL_ARAMAIC

public static final int IMPERIAL_ARAMAIC
ISO 15924 script code

See Also:
Constant Field Values
Status:
Draft ICU 4.0.

AVESTAN

public static final int AVESTAN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Draft ICU 4.0.

CHAKMA

public static final int CHAKMA
ISO 15924 script code

See Also:
Constant Field Values
Status:
Draft ICU 4.0.

KOREAN

public static final int KOREAN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Draft ICU 4.0.

KAITHI

public static final int KAITHI
ISO 15924 script code

See Also:
Constant Field Values
Status:
Draft ICU 4.0.

MANICHAEAN

public static final int MANICHAEAN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Draft ICU 4.0.

INSCRIPTIONAL_PAHLAVI

public static final int INSCRIPTIONAL_PAHLAVI
ISO 15924 script code

See Also:
Constant Field Values
Status:
Draft ICU 4.0.

PSALTER_PAHLAVI

public static final int PSALTER_PAHLAVI
ISO 15924 script code

See Also:
Constant Field Values
Status:
Draft ICU 4.0.

BOOK_PAHLAVI

public static final int BOOK_PAHLAVI
ISO 15924 script code

See Also:
Constant Field Values
Status:
Draft ICU 4.0.

INSCRIPTIONAL_PARTHIAN

public static final int INSCRIPTIONAL_PARTHIAN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Draft ICU 4.0.

SAMARITAN

public static final int SAMARITAN
ISO 15924 script code

See Also:
Constant Field Values
Status:
Draft ICU 4.0.

TAI_VIET

public static final int TAI_VIET
ISO 15924 script code

See Also:
Constant Field Values
Status:
Draft ICU 4.0.

MATHEMATICAL_NOTATION

public static final int MATHEMATICAL_NOTATION
ISO 15924 script code

See Also:
Constant Field Values
Status:
Draft ICU 4.0.

SYMBOLS

public static final int SYMBOLS
ISO 15924 script code

See Also:
Constant Field Values
Status:
Draft ICU 4.0.

CODE_LIMIT

public static final int CODE_LIMIT
Limit

See Also:
Constant Field Values
Status:
Stable ICU 2.4.
Method Detail

getCode

public static final 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
Returns:
The script codes array. null if the the code cannot be found.
Status:
Stable ICU 2.4.

getCode

public static final 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
Returns:
The script codes array. null if the the code cannot be found.
Status:
Stable ICU 3.0.

getCode

public static final 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. This does a fast lookup with no access of the locale data.

Parameters:
nameOrAbbrOrLocale - name of the script or ISO 15924 code or locale
Returns:
The script codes array. null if the the code cannot be found.
Status:
Stable ICU 2.4.

getCodeFromName

public static final int getCodeFromName(String nameOrAbbr)
Deprecated. This API is ICU internal only.

Gets a script codes associated with the given ISO 15924 abbreviation or name. Returns MALAYAM given "Malayam" OR "Mlym".

Parameters:
nameOrAbbr - name of the script or ISO 15924 code
Returns:
The script code value or INVALID_CODE if the code cannot be found.
Status:
Internal. This API is ICU internal only.

getScript

public static final int getScript(int codepoint)
Gets the script code associated with the given codepoint. Returns UScript.MALAYAM given 0x0D02

Parameters:
codepoint - UChar32 codepoint
Returns:
The script code
Status:
Stable ICU 2.4.

getName

public static final String getName(int scriptCode)
Gets a script name associated with the given script code. Returns "Malayam" given MALAYAM

Parameters:
scriptCode - int script code
Returns:
script name as a string in full as given in TR#24
Status:
Stable ICU 2.4.

getShortName

public static final String getShortName(int scriptCode)
Gets a script name associated with the given script code. Returns "Mlym" given MALAYAM

Parameters:
scriptCode - int script code
Returns:
script abbreviated name as a string as given in TR#24
Status:
Stable ICU 2.4.


Copyright (c) 2009 IBM Corporation and others.