Character.UnicodeScript - JRE Emulation | JRE Emulation
public static final enum

Character.UnicodeScript

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

Class Overview

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  CHAKMA  Unicode script "Chakma". 
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  MEROITIC_CURSIVE  Unicode script "Meroitic Cursive". 
Character.UnicodeScript  MEROITIC_HIEROGLYPHS  Unicode script "Meroitic Hieroglyphs". 
Character.UnicodeScript  MIAO  Unicode script "Miao". 
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  SHARADA  Unicode script "Sharada". 
Character.UnicodeScript  SHAVIAN  Unicode script "Shavian". 
Character.UnicodeScript  SINHALA  Unicode script "Sinhala". 
Character.UnicodeScript  SORA_SOMPENG  Unicode script "Sora Sompeng". 
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  TAKRI  Unicode script "Takri". 
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
final static 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)
final static UnicodeScript[] values()
Inherited Methods
[Expand]
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Character.UnicodeScript ARABIC

Unicode script "Arabic".

public static final Character.UnicodeScript ARMENIAN

Unicode script "Armenian".

public static final Character.UnicodeScript AVESTAN

Unicode script "Avestan".

public static final Character.UnicodeScript BALINESE

Unicode script "Balinese".

public static final Character.UnicodeScript BAMUM

Unicode script "Bamum".

public static final Character.UnicodeScript BATAK

Unicode script "Batak".

public static final Character.UnicodeScript BENGALI

Unicode script "Bengali".

public static final Character.UnicodeScript BOPOMOFO

Unicode script "Bopomofo".

public static final Character.UnicodeScript BRAHMI

Unicode script "Brahmi".

public static final Character.UnicodeScript BRAILLE

Unicode script "Braille".

public static final Character.UnicodeScript BUGINESE

Unicode script "Buginese".

public static final Character.UnicodeScript BUHID

Unicode script "Buhid".

public static final Character.UnicodeScript CANADIAN_ABORIGINAL

Unicode script "Canadian_Aboriginal".

public static final Character.UnicodeScript CARIAN

Unicode script "Carian".

public static final Character.UnicodeScript CHAKMA

Unicode script "Chakma".

public static final Character.UnicodeScript CHAM

Unicode script "Cham".

public static final Character.UnicodeScript CHEROKEE

Unicode script "Cherokee".

public static final Character.UnicodeScript COMMON

Unicode script "Common".

public static final Character.UnicodeScript COPTIC

Unicode script "Coptic".

public static final Character.UnicodeScript CUNEIFORM

Unicode script "Cuneiform".

public static final Character.UnicodeScript CYPRIOT

Unicode script "Cypriot".

public static final Character.UnicodeScript CYRILLIC

Unicode script "Cyrillic".

public static final Character.UnicodeScript DESERET

Unicode script "Deseret".

public static final Character.UnicodeScript DEVANAGARI

Unicode script "Devanagari".

public static final Character.UnicodeScript EGYPTIAN_HIEROGLYPHS

Unicode script "Egyptian_Hieroglyphs".

public static final Character.UnicodeScript ETHIOPIC

Unicode script "Ethiopic".

public static final Character.UnicodeScript GEORGIAN

Unicode script "Georgian".

public static final Character.UnicodeScript GLAGOLITIC

Unicode script "Glagolitic".

public static final Character.UnicodeScript GOTHIC

Unicode script "Gothic".

public static final Character.UnicodeScript GREEK

Unicode script "Greek".

public static final Character.UnicodeScript GUJARATI

Unicode script "Gujarati".

public static final Character.UnicodeScript GURMUKHI

Unicode script "Gurmukhi".

public static final Character.UnicodeScript HAN

Unicode script "Han".

public static final Character.UnicodeScript HANGUL

Unicode script "Hangul".

public static final Character.UnicodeScript HANUNOO

Unicode script "Hanunoo".

public static final Character.UnicodeScript HEBREW

Unicode script "Hebrew".

public static final Character.UnicodeScript HIRAGANA

Unicode script "Hiragana".

public static final Character.UnicodeScript IMPERIAL_ARAMAIC

Unicode script "Imperial_Aramaic".

public static final Character.UnicodeScript INHERITED

Unicode script "Inherited".

public static final Character.UnicodeScript INSCRIPTIONAL_PAHLAVI

Unicode script "Inscriptional_Pahlavi".

public static final Character.UnicodeScript INSCRIPTIONAL_PARTHIAN

Unicode script "Inscriptional_Parthian".

public static final Character.UnicodeScript JAVANESE

Unicode script "Javanese".

public static final Character.UnicodeScript KAITHI

Unicode script "Kaithi".

public static final Character.UnicodeScript KANNADA

Unicode script "Kannada".

public static final Character.UnicodeScript KATAKANA

Unicode script "Katakana".

public static final Character.UnicodeScript KAYAH_LI

Unicode script "Kayah_Li".

public static final Character.UnicodeScript KHAROSHTHI

Unicode script "Kharoshthi".

public static final Character.UnicodeScript KHMER

Unicode script "Khmer".

public static final Character.UnicodeScript LAO

Unicode script "Lao".

public static final Character.UnicodeScript LATIN

Unicode script "Latin".

public static final Character.UnicodeScript LEPCHA

Unicode script "Lepcha".

public static final Character.UnicodeScript LIMBU

Unicode script "Limbu".

public static final Character.UnicodeScript LINEAR_B

Unicode script "Linear_B".

public static final Character.UnicodeScript LISU

Unicode script "Lisu".

public static final Character.UnicodeScript LYCIAN

Unicode script "Lycian".

public static final Character.UnicodeScript LYDIAN

Unicode script "Lydian".

public static final Character.UnicodeScript MALAYALAM

Unicode script "Malayalam".

public static final Character.UnicodeScript MANDAIC

Unicode script "Mandaic".

public static final Character.UnicodeScript MEETEI_MAYEK

Unicode script "Meetei_Mayek".

public static final Character.UnicodeScript MEROITIC_CURSIVE

Unicode script "Meroitic Cursive".

public static final Character.UnicodeScript MEROITIC_HIEROGLYPHS

Unicode script "Meroitic Hieroglyphs".

public static final Character.UnicodeScript MIAO

Unicode script "Miao".

public static final Character.UnicodeScript MONGOLIAN

Unicode script "Mongolian".

public static final Character.UnicodeScript MYANMAR

Unicode script "Myanmar".

public static final Character.UnicodeScript NEW_TAI_LUE

Unicode script "New_Tai_Lue".

public static final Character.UnicodeScript NKO

Unicode script "Nko".

public static final Character.UnicodeScript OGHAM

Unicode script "Ogham".

public static final Character.UnicodeScript OLD_ITALIC

Unicode script "Old_Italic".

public static final Character.UnicodeScript OLD_PERSIAN

Unicode script "Old_Persian".

public static final Character.UnicodeScript OLD_SOUTH_ARABIAN

Unicode script "Old_South_Arabian".

public static final Character.UnicodeScript OLD_TURKIC

Unicode script "Old_Turkic".

public static final Character.UnicodeScript OL_CHIKI

Unicode script "Ol_Chiki".

public static final Character.UnicodeScript ORIYA

Unicode script "Oriya".

public static final Character.UnicodeScript OSMANYA

Unicode script "Osmanya".

public static final Character.UnicodeScript PHAGS_PA

Unicode script "Phags_Pa".

public static final Character.UnicodeScript PHOENICIAN

Unicode script "Phoenician".

public static final Character.UnicodeScript REJANG

Unicode script "Rejang".

public static final Character.UnicodeScript RUNIC

Unicode script "Runic".

public static final Character.UnicodeScript SAMARITAN

Unicode script "Samaritan".

public static final Character.UnicodeScript SAURASHTRA

Unicode script "Saurashtra".

public static final Character.UnicodeScript SHARADA

Unicode script "Sharada".

public static final Character.UnicodeScript SHAVIAN

Unicode script "Shavian".

public static final Character.UnicodeScript SINHALA

Unicode script "Sinhala".

public static final Character.UnicodeScript SORA_SOMPENG

Unicode script "Sora Sompeng".

public static final Character.UnicodeScript SUNDANESE

Unicode script "Sundanese".

public static final Character.UnicodeScript SYLOTI_NAGRI

Unicode script "Syloti_Nagri".

public static final Character.UnicodeScript SYRIAC

Unicode script "Syriac".

public static final Character.UnicodeScript TAGALOG

Unicode script "Tagalog".

public static final Character.UnicodeScript TAGBANWA

Unicode script "Tagbanwa".

public static final Character.UnicodeScript TAI_LE

Unicode script "Tai_Le".

public static final Character.UnicodeScript TAI_THAM

Unicode script "Tai_Tham".

public static final Character.UnicodeScript TAI_VIET

Unicode script "Tai_Viet".

public static final Character.UnicodeScript TAKRI

Unicode script "Takri".

public static final Character.UnicodeScript TAMIL

Unicode script "Tamil".

public static final Character.UnicodeScript TELUGU

Unicode script "Telugu".

public static final Character.UnicodeScript THAANA

Unicode script "Thaana".

public static final Character.UnicodeScript THAI

Unicode script "Thai".

public static final Character.UnicodeScript TIBETAN

Unicode script "Tibetan".

public static final Character.UnicodeScript TIFINAGH

Unicode script "Tifinagh".

public static final Character.UnicodeScript UGARITIC

Unicode script "Ugaritic".

public static final Character.UnicodeScript UNKNOWN

Unicode script "Unknown".

public static final Character.UnicodeScript VAI

Unicode script "Vai".

public static final Character.UnicodeScript YI

Unicode script "Yi".

Public Methods

public static final 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 A UnicodeScript name.
Returns
  • The UnicodeScript constant identified by scriptName
Throws
IllegalArgumentException if scriptName is an invalid name
NullPointerException if scriptName is null

public 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.

Parameters
codePoint the character (Unicode code point) in question.
Returns
  • 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.

public static Character.UnicodeScript valueOf (String name)

public static final UnicodeScript[] values ()