Most visited

Recently visited

Added in API level 24

Character.UnicodeScript

public static final enum Character.UnicodeScript
extends Enum<Character.UnicodeScript>

java.lang.Object
   ↳ java.lang.Enum<java.lang.Character.UnicodeScript>
     ↳ java.lang.Character.UnicodeScript


A family of character subsets representing the character scripts defined in the Unicode Standard Annex #24: Script Names. Every Unicode character is assigned to a single Unicode script, either a specific script, such as Latin, or one of the following three special values, Inherited, Common or Unknown.

Summary

Enum values

Character.UnicodeScript  ARABIC

Unicode script "Arabic". 

Character.UnicodeScript  ARMENIAN

Unicode script "Armenian". 

Character.UnicodeScript  AVESTAN

Unicode script "Avestan". 

Character.UnicodeScript  BALINESE

Unicode script "Balinese". 

Character.UnicodeScript  BAMUM

Unicode script "Bamum". 

Character.UnicodeScript  BATAK

Unicode script "Batak". 

Character.UnicodeScript  BENGALI

Unicode script "Bengali". 

Character.UnicodeScript  BOPOMOFO

Unicode script "Bopomofo". 

Character.UnicodeScript  BRAHMI

Unicode script "Brahmi". 

Character.UnicodeScript  BRAILLE

Unicode script "Braille". 

Character.UnicodeScript  BUGINESE

Unicode script "Buginese". 

Character.UnicodeScript  BUHID

Unicode script "Buhid". 

Character.UnicodeScript  CANADIAN_ABORIGINAL

Unicode script "Canadian_Aboriginal". 

Character.UnicodeScript  CARIAN

Unicode script "Carian". 

Character.UnicodeScript  CHAM

Unicode script "Cham". 

Character.UnicodeScript  CHEROKEE

Unicode script "Cherokee". 

Character.UnicodeScript  COMMON

Unicode script "Common". 

Character.UnicodeScript  COPTIC

Unicode script "Coptic". 

Character.UnicodeScript  CUNEIFORM

Unicode script "Cuneiform". 

Character.UnicodeScript  CYPRIOT

Unicode script "Cypriot". 

Character.UnicodeScript  CYRILLIC

Unicode script "Cyrillic". 

Character.UnicodeScript  DESERET

Unicode script "Deseret". 

Character.UnicodeScript  DEVANAGARI

Unicode script "Devanagari". 

Character.UnicodeScript  EGYPTIAN_HIEROGLYPHS

Unicode script "Egyptian_Hieroglyphs". 

Character.UnicodeScript  ETHIOPIC

Unicode script "Ethiopic". 

Character.UnicodeScript  GEORGIAN

Unicode script "Georgian". 

Character.UnicodeScript  GLAGOLITIC

Unicode script "Glagolitic". 

Character.UnicodeScript  GOTHIC

Unicode script "Gothic". 

Character.UnicodeScript  GREEK

Unicode script "Greek". 

Character.UnicodeScript  GUJARATI

Unicode script "Gujarati". 

Character.UnicodeScript  GURMUKHI

Unicode script "Gurmukhi". 

Character.UnicodeScript  HAN

Unicode script "Han". 

Character.UnicodeScript  HANGUL

Unicode script "Hangul". 

Character.UnicodeScript  HANUNOO

Unicode script "Hanunoo". 

Character.UnicodeScript  HEBREW

Unicode script "Hebrew". 

Character.UnicodeScript  HIRAGANA

Unicode script "Hiragana". 

Character.UnicodeScript  IMPERIAL_ARAMAIC

Unicode script "Imperial_Aramaic". 

Character.UnicodeScript  INHERITED

Unicode script "Inherited". 

Character.UnicodeScript  INSCRIPTIONAL_PAHLAVI

Unicode script "Inscriptional_Pahlavi". 

Character.UnicodeScript  INSCRIPTIONAL_PARTHIAN

Unicode script "Inscriptional_Parthian". 

Character.UnicodeScript  JAVANESE

Unicode script "Javanese". 

Character.UnicodeScript  KAITHI

Unicode script "Kaithi". 

Character.UnicodeScript  KANNADA

Unicode script "Kannada". 

Character.UnicodeScript  KATAKANA

Unicode script "Katakana". 

Character.UnicodeScript  KAYAH_LI

Unicode script "Kayah_Li". 

Character.UnicodeScript  KHAROSHTHI

Unicode script "Kharoshthi". 

Character.UnicodeScript  KHMER

Unicode script "Khmer". 

Character.UnicodeScript  LAO

Unicode script "Lao". 

Character.UnicodeScript  LATIN

Unicode script "Latin". 

Character.UnicodeScript  LEPCHA

Unicode script "Lepcha". 

Character.UnicodeScript  LIMBU

Unicode script "Limbu". 

Character.UnicodeScript  LINEAR_B

Unicode script "Linear_B". 

Character.UnicodeScript  LISU

Unicode script "Lisu". 

Character.UnicodeScript  LYCIAN

Unicode script "Lycian". 

Character.UnicodeScript  LYDIAN

Unicode script "Lydian". 

Character.UnicodeScript  MALAYALAM

Unicode script "Malayalam". 

Character.UnicodeScript  MANDAIC

Unicode script "Mandaic". 

Character.UnicodeScript  MEETEI_MAYEK

Unicode script "Meetei_Mayek". 

Character.UnicodeScript  MONGOLIAN

Unicode script "Mongolian". 

Character.UnicodeScript  MYANMAR

Unicode script "Myanmar". 

Character.UnicodeScript  NEW_TAI_LUE

Unicode script "New_Tai_Lue". 

Character.UnicodeScript  NKO

Unicode script "Nko". 

Character.UnicodeScript  OGHAM

Unicode script "Ogham". 

Character.UnicodeScript  OLD_ITALIC

Unicode script "Old_Italic". 

Character.UnicodeScript  OLD_PERSIAN

Unicode script "Old_Persian". 

Character.UnicodeScript  OLD_SOUTH_ARABIAN

Unicode script "Old_South_Arabian". 

Character.UnicodeScript  OLD_TURKIC

Unicode script "Old_Turkic". 

Character.UnicodeScript  OL_CHIKI

Unicode script "Ol_Chiki". 

Character.UnicodeScript  ORIYA

Unicode script "Oriya". 

Character.UnicodeScript  OSMANYA

Unicode script "Osmanya". 

Character.UnicodeScript  PHAGS_PA

Unicode script "Phags_Pa". 

Character.UnicodeScript  PHOENICIAN

Unicode script "Phoenician". 

Character.UnicodeScript  REJANG

Unicode script "Rejang". 

Character.UnicodeScript  RUNIC

Unicode script "Runic". 

Character.UnicodeScript  SAMARITAN

Unicode script "Samaritan". 

Character.UnicodeScript  SAURASHTRA

Unicode script "Saurashtra". 

Character.UnicodeScript  SHAVIAN

Unicode script "Shavian". 

Character.UnicodeScript  SINHALA

Unicode script "Sinhala". 

Character.UnicodeScript  SUNDANESE

Unicode script "Sundanese". 

Character.UnicodeScript  SYLOTI_NAGRI

Unicode script "Syloti_Nagri". 

Character.UnicodeScript  SYRIAC

Unicode script "Syriac". 

Character.UnicodeScript  TAGALOG

Unicode script "Tagalog". 

Character.UnicodeScript  TAGBANWA

Unicode script "Tagbanwa". 

Character.UnicodeScript  TAI_LE

Unicode script "Tai_Le". 

Character.UnicodeScript  TAI_THAM

Unicode script "Tai_Tham". 

Character.UnicodeScript  TAI_VIET

Unicode script "Tai_Viet". 

Character.UnicodeScript  TAMIL

Unicode script "Tamil". 

Character.UnicodeScript  TELUGU

Unicode script "Telugu". 

Character.UnicodeScript  THAANA

Unicode script "Thaana". 

Character.UnicodeScript  THAI

Unicode script "Thai". 

Character.UnicodeScript  TIBETAN

Unicode script "Tibetan". 

Character.UnicodeScript  TIFINAGH

Unicode script "Tifinagh". 

Character.UnicodeScript  UGARITIC

Unicode script "Ugaritic". 

Character.UnicodeScript  UNKNOWN

Unicode script "Unknown". 

Character.UnicodeScript  VAI

Unicode script "Vai". 

Character.UnicodeScript  YI

Unicode script "Yi". 

Public methods

static final Character.UnicodeScript forName(String scriptName)

Returns the UnicodeScript constant with the given Unicode script name or the script name alias.

static Character.UnicodeScript of(int codePoint)

Returns the enum constant representing the Unicode script of which the given character (Unicode code point) is assigned to.

static Character.UnicodeScript valueOf(String name)
static final UnicodeScript[] values()

Inherited methods

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

ARABIC

Added in API level 24
Character.UnicodeScript ARABIC

Unicode script "Arabic".

ARMENIAN

Added in API level 24
Character.UnicodeScript ARMENIAN

Unicode script "Armenian".

AVESTAN

Added in API level 24
Character.UnicodeScript AVESTAN

Unicode script "Avestan".

BALINESE

Added in API level 24
Character.UnicodeScript BALINESE

Unicode script "Balinese".

BAMUM

Added in API level 24
Character.UnicodeScript BAMUM

Unicode script "Bamum".

BATAK

Added in API level 24
Character.UnicodeScript BATAK

Unicode script "Batak".

BENGALI

Added in API level 24
Character.UnicodeScript BENGALI

Unicode script "Bengali".

BOPOMOFO

Added in API level 24
Character.UnicodeScript BOPOMOFO

Unicode script "Bopomofo".

BRAHMI

Added in API level 24
Character.UnicodeScript BRAHMI

Unicode script "Brahmi".

BRAILLE

Added in API level 24
Character.UnicodeScript BRAILLE

Unicode script "Braille".

BUGINESE

Added in API level 24
Character.UnicodeScript BUGINESE

Unicode script "Buginese".

BUHID

Added in API level 24
Character.UnicodeScript BUHID

Unicode script "Buhid".

CANADIAN_ABORIGINAL

Added in API level 24
Character.UnicodeScript CANADIAN_ABORIGINAL

Unicode script "Canadian_Aboriginal".

CARIAN

Added in API level 24
Character.UnicodeScript CARIAN

Unicode script "Carian".

CHAM

Added in API level 24
Character.UnicodeScript CHAM

Unicode script "Cham".

CHEROKEE

Added in API level 24
Character.UnicodeScript CHEROKEE

Unicode script "Cherokee".

COMMON

Added in API level 24
Character.UnicodeScript COMMON

Unicode script "Common".

COPTIC

Added in API level 24
Character.UnicodeScript COPTIC

Unicode script "Coptic".

CUNEIFORM

Added in API level 24
Character.UnicodeScript CUNEIFORM

Unicode script "Cuneiform".

CYPRIOT

Added in API level 24
Character.UnicodeScript CYPRIOT

Unicode script "Cypriot".

CYRILLIC

Added in API level 24
Character.UnicodeScript CYRILLIC

Unicode script "Cyrillic".

DESERET

Added in API level 24
Character.UnicodeScript DESERET

Unicode script "Deseret".

DEVANAGARI

Added in API level 24
Character.UnicodeScript DEVANAGARI

Unicode script "Devanagari".

EGYPTIAN_HIEROGLYPHS

Added in API level 24
Character.UnicodeScript EGYPTIAN_HIEROGLYPHS

Unicode script "Egyptian_Hieroglyphs".

ETHIOPIC

Added in API level 24
Character.UnicodeScript ETHIOPIC

Unicode script "Ethiopic".

GEORGIAN

Added in API level 24
Character.UnicodeScript GEORGIAN

Unicode script "Georgian".

GLAGOLITIC

Added in API level 24
Character.UnicodeScript GLAGOLITIC

Unicode script "Glagolitic".

GOTHIC

Added in API level 24
Character.UnicodeScript GOTHIC

Unicode script "Gothic".

GREEK

Added in API level 24
Character.UnicodeScript GREEK

Unicode script "Greek".

GUJARATI

Added in API level 24
Character.UnicodeScript GUJARATI

Unicode script "Gujarati".

GURMUKHI

Added in API level 24
Character.UnicodeScript GURMUKHI

Unicode script "Gurmukhi".

HAN

Added in API level 24
Character.UnicodeScript HAN

Unicode script "Han".

HANGUL

Added in API level 24
Character.UnicodeScript HANGUL

Unicode script "Hangul".

HANUNOO

Added in API level 24
Character.UnicodeScript HANUNOO

Unicode script "Hanunoo".

HEBREW

Added in API level 24
Character.UnicodeScript HEBREW

Unicode script "Hebrew".

HIRAGANA

Added in API level 24
Character.UnicodeScript HIRAGANA

Unicode script "Hiragana".

IMPERIAL_ARAMAIC

Added in API level 24
Character.UnicodeScript IMPERIAL_ARAMAIC

Unicode script "Imperial_Aramaic".

INHERITED

Added in API level 24
Character.UnicodeScript INHERITED

Unicode script "Inherited".

INSCRIPTIONAL_PAHLAVI

Added in API level 24
Character.UnicodeScript INSCRIPTIONAL_PAHLAVI

Unicode script "Inscriptional_Pahlavi".

INSCRIPTIONAL_PARTHIAN

Added in API level 24
Character.UnicodeScript INSCRIPTIONAL_PARTHIAN

Unicode script "Inscriptional_Parthian".

JAVANESE

Added in API level 24
Character.UnicodeScript JAVANESE

Unicode script "Javanese".

KAITHI

Added in API level 24
Character.UnicodeScript KAITHI

Unicode script "Kaithi".

KANNADA

Added in API level 24
Character.UnicodeScript KANNADA

Unicode script "Kannada".

KATAKANA

Added in API level 24
Character.UnicodeScript KATAKANA

Unicode script "Katakana".

KAYAH_LI

Added in API level 24
Character.UnicodeScript KAYAH_LI

Unicode script "Kayah_Li".

KHAROSHTHI

Added in API level 24
Character.UnicodeScript KHAROSHTHI

Unicode script "Kharoshthi".

KHMER

Added in API level 24
Character.UnicodeScript KHMER

Unicode script "Khmer".

LAO

Added in API level 24
Character.UnicodeScript LAO

Unicode script "Lao".

LATIN

Added in API level 24
Character.UnicodeScript LATIN

Unicode script "Latin".

LEPCHA

Added in API level 24
Character.UnicodeScript LEPCHA

Unicode script "Lepcha".

LIMBU

Added in API level 24
Character.UnicodeScript LIMBU

Unicode script "Limbu".

LINEAR_B

Added in API level 24
Character.UnicodeScript LINEAR_B

Unicode script "Linear_B".

LISU

Added in API level 24
Character.UnicodeScript LISU

Unicode script "Lisu".

LYCIAN

Added in API level 24
Character.UnicodeScript LYCIAN

Unicode script "Lycian".

LYDIAN

Added in API level 24
Character.UnicodeScript LYDIAN

Unicode script "Lydian".

MALAYALAM

Added in API level 24
Character.UnicodeScript MALAYALAM

Unicode script "Malayalam".

MANDAIC

Added in API level 24
Character.UnicodeScript MANDAIC

Unicode script "Mandaic".

MEETEI_MAYEK

Added in API level 24
Character.UnicodeScript MEETEI_MAYEK

Unicode script "Meetei_Mayek".

MONGOLIAN

Added in API level 24
Character.UnicodeScript MONGOLIAN

Unicode script "Mongolian".

MYANMAR

Added in API level 24
Character.UnicodeScript MYANMAR

Unicode script "Myanmar".

NEW_TAI_LUE

Added in API level 24
Character.UnicodeScript NEW_TAI_LUE

Unicode script "New_Tai_Lue".

NKO

Added in API level 24
Character.UnicodeScript NKO

Unicode script "Nko".

OGHAM

Added in API level 24
Character.UnicodeScript OGHAM

Unicode script "Ogham".

OLD_ITALIC

Added in API level 24
Character.UnicodeScript OLD_ITALIC

Unicode script "Old_Italic".

OLD_PERSIAN

Added in API level 24
Character.UnicodeScript OLD_PERSIAN

Unicode script "Old_Persian".

OLD_SOUTH_ARABIAN

Added in API level 24
Character.UnicodeScript OLD_SOUTH_ARABIAN

Unicode script "Old_South_Arabian".

OLD_TURKIC

Added in API level 24
Character.UnicodeScript OLD_TURKIC

Unicode script "Old_Turkic".

OL_CHIKI

Added in API level 24
Character.UnicodeScript OL_CHIKI

Unicode script "Ol_Chiki".

ORIYA

Added in API level 24
Character.UnicodeScript ORIYA

Unicode script "Oriya".

OSMANYA

Added in API level 24
Character.UnicodeScript OSMANYA

Unicode script "Osmanya".

PHAGS_PA

Added in API level 24
Character.UnicodeScript PHAGS_PA

Unicode script "Phags_Pa".

PHOENICIAN

Added in API level 24
Character.UnicodeScript PHOENICIAN

Unicode script "Phoenician".

REJANG

Added in API level 24
Character.UnicodeScript REJANG

Unicode script "Rejang".

RUNIC

Added in API level 24
Character.UnicodeScript RUNIC

Unicode script "Runic".

SAMARITAN

Added in API level 24
Character.UnicodeScript SAMARITAN

Unicode script "Samaritan".

SAURASHTRA

Added in API level 24
Character.UnicodeScript SAURASHTRA

Unicode script "Saurashtra".

SHAVIAN

Added in API level 24
Character.UnicodeScript SHAVIAN

Unicode script "Shavian".

SINHALA

Added in API level 24
Character.UnicodeScript SINHALA

Unicode script "Sinhala".

SUNDANESE

Added in API level 24
Character.UnicodeScript SUNDANESE

Unicode script "Sundanese".

SYLOTI_NAGRI

Added in API level 24
Character.UnicodeScript SYLOTI_NAGRI

Unicode script "Syloti_Nagri".

SYRIAC

Added in API level 24
Character.UnicodeScript SYRIAC

Unicode script "Syriac".

TAGALOG

Added in API level 24
Character.UnicodeScript TAGALOG

Unicode script "Tagalog".

TAGBANWA

Added in API level 24
Character.UnicodeScript TAGBANWA

Unicode script "Tagbanwa".

TAI_LE

Added in API level 24
Character.UnicodeScript TAI_LE

Unicode script "Tai_Le".

TAI_THAM

Added in API level 24
Character.UnicodeScript TAI_THAM

Unicode script "Tai_Tham".

TAI_VIET

Added in API level 24
Character.UnicodeScript TAI_VIET

Unicode script "Tai_Viet".

TAMIL

Added in API level 24
Character.UnicodeScript TAMIL

Unicode script "Tamil".

TELUGU

Added in API level 24
Character.UnicodeScript TELUGU

Unicode script "Telugu".

THAANA

Added in API level 24
Character.UnicodeScript THAANA

Unicode script "Thaana".

THAI

Added in API level 24
Character.UnicodeScript THAI

Unicode script "Thai".

TIBETAN

Added in API level 24
Character.UnicodeScript TIBETAN

Unicode script "Tibetan".

TIFINAGH

Added in API level 24
Character.UnicodeScript TIFINAGH

Unicode script "Tifinagh".

UGARITIC

Added in API level 24
Character.UnicodeScript UGARITIC

Unicode script "Ugaritic".

UNKNOWN

Added in API level 24
Character.UnicodeScript UNKNOWN

Unicode script "Unknown".

VAI

Added in API level 24
Character.UnicodeScript VAI

Unicode script "Vai".

YI

Added in API level 24
Character.UnicodeScript YI

Unicode script "Yi".

Public methods

forName

Added in API level 24
Character.UnicodeScript forName (String scriptName)

Returns the UnicodeScript constant with the given Unicode script name or the script name alias. Script names and their aliases are determined by The Unicode Standard. The files Scripts<version>.txt and PropertyValueAliases<version>.txt define script names and the script name aliases for a particular version of the standard. The Character class specifies the version of the standard that it supports.

Character case is ignored for all of the valid script names. The en_US locale's case mapping rules are used to provide case-insensitive string comparisons for script name validation.

Parameters
scriptName String: A UnicodeScript name.
Returns
Character.UnicodeScript The UnicodeScript constant identified by scriptName
Throws
IllegalArgumentException if scriptName is an invalid name
NullPointerException if scriptName is null

of

Added in API level 24
Character.UnicodeScript of (int codePoint)

Returns the enum constant representing the Unicode script of which the given character (Unicode code point) is assigned to.

Parameters
codePoint int: the character (Unicode code point) in question.
Returns
Character.UnicodeScript The UnicodeScript constant representing the Unicode script of which this character is assigned to.
Throws
IllegalArgumentException if the specified codePoint is an invalid Unicode code point.

See also:

valueOf

Added in API level 24
Character.UnicodeScript valueOf (String name)

Parameters
name String
Returns
Character.UnicodeScript

values

Added in API level 24
UnicodeScript[] values ()

Returns
UnicodeScript[]

Hooray!