Enum Class Character.UnicodeScript
- All Implemented Interfaces:
Serializable
,Comparable<Character.UnicodeScript>
,Constable
- Enclosing class:
Character
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
.- Since:
- 1.7
- External Specifications
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUnicode script "Adlam".Unicode script "Ahom".Unicode script "Anatolian Hieroglyphs".Unicode script "Arabic".Unicode script "Armenian".Unicode script "Avestan".Unicode script "Balinese".Unicode script "Bamum".Unicode script "Bassa Vah".Unicode script "Batak".Unicode script "Bengali".Unicode script "Bhaiksuki".Unicode script "Bopomofo".Unicode script "Brahmi".Unicode script "Braille".Unicode script "Buginese".Unicode script "Buhid".Unicode script "Canadian_Aboriginal".Unicode script "Carian".Unicode script "Caucasian Albanian".Unicode script "Chakma".Unicode script "Cham".Unicode script "Cherokee".Unicode script "Chorasmian".Unicode script "Common".Unicode script "Coptic".Unicode script "Cuneiform".Unicode script "Cypriot".Unicode script "Cypro Minoan".Unicode script "Cyrillic".Unicode script "Deseret".Unicode script "Devanagari".Unicode script "Dives Akuru".Unicode script "Dogra".Unicode script "Duployan".Unicode script "Egyptian_Hieroglyphs".Unicode script "Elbasan".Unicode script "Elymaic".Unicode script "Ethiopic".Unicode script "Georgian".Unicode script "Glagolitic".Unicode script "Gothic".Unicode script "Grantha".Unicode script "Greek".Unicode script "Gujarati".Unicode script "Gunjala Gondi".Unicode script "Gurmukhi".Unicode script "Han".Unicode script "Hangul".Unicode script "Hanifi Rohingya".Unicode script "Hanunoo".Unicode script "Hatran".Unicode script "Hebrew".Unicode script "Hiragana".Unicode script "Imperial_Aramaic".Unicode script "Inherited".Unicode script "Inscriptional_Pahlavi".Unicode script "Inscriptional_Parthian".Unicode script "Javanese".Unicode script "Kaithi".Unicode script "Kannada".Unicode script "Katakana".Unicode script "Kawi".Unicode script "Kayah_Li".Unicode script "Kharoshthi".Unicode script "Khitan Small Script".Unicode script "Khmer".Unicode script "Khojki".Unicode script "Khudawadi".Unicode script "Lao".Unicode script "Latin".Unicode script "Lepcha".Unicode script "Limbu".Unicode script "Linear A".Unicode script "Linear_B".Unicode script "Lisu".Unicode script "Lycian".Unicode script "Lydian".Unicode script "Mahajani".Unicode script "Makasar".Unicode script "Malayalam".Unicode script "Mandaic".Unicode script "Manichaean".Unicode script "Marchen".Unicode script "Masaram Gondi".Unicode script "Medefaidrin".Unicode script "Meetei_Mayek".Unicode script "Mende Kikakui".Unicode script "Meroitic Cursive".Unicode script "Meroitic Hieroglyphs".Unicode script "Miao".Unicode script "Modi".Unicode script "Mongolian".Unicode script "Mro".Unicode script "Multani".Unicode script "Myanmar".Unicode script "Nabataean".Unicode script "Nag Mundari".Unicode script "Nandinagari".Unicode script "New_Tai_Lue".Unicode script "Newa".Unicode script "Nko".Unicode script "Nushu".Unicode script "Nyiakeng Puachue Hmong".Unicode script "Ogham".Unicode script "Ol_Chiki".Unicode script "Old Hungarian".Unicode script "Old_Italic".Unicode script "Old North Arabian".Unicode script "Old Permic".Unicode script "Old_Persian".Unicode script "Old Sogdian".Unicode script "Old_South_Arabian".Unicode script "Old_Turkic".Unicode script "Old Uyghur".Unicode script "Oriya".Unicode script "Osage".Unicode script "Osmanya".Unicode script "Pahawh Hmong".Unicode script "Palmyrene".Unicode script "Pau Cin Hau".Unicode script "Phags_Pa".Unicode script "Phoenician".Unicode script "Psalter Pahlavi".Unicode script "Rejang".Unicode script "Runic".Unicode script "Samaritan".Unicode script "Saurashtra".Unicode script "Sharada".Unicode script "Shavian".Unicode script "Siddham".Unicode script "SignWriting".Unicode script "Sinhala".Unicode script "Sogdian".Unicode script "Sora Sompeng".Unicode script "Soyombo".Unicode script "Sundanese".Unicode script "Syloti_Nagri".Unicode script "Syriac".Unicode script "Tagalog".Unicode script "Tagbanwa".Unicode script "Tai_Le".Unicode script "Tai_Tham".Unicode script "Tai_Viet".Unicode script "Takri".Unicode script "Tamil".Unicode script "Tangsa".Unicode script "Tangut".Unicode script "Telugu".Unicode script "Thaana".Unicode script "Thai".Unicode script "Tibetan".Unicode script "Tifinagh".Unicode script "Tirhuta".Unicode script "Toto".Unicode script "Ugaritic".Unicode script "Unknown".Unicode script "Vai".Unicode script "Vithkuqi".Unicode script "Wancho".Unicode script "Warang Citi".Unicode script "Yezidi".Unicode script "Yi".Unicode script "Zanabazar Square". -
Method Summary
Modifier and TypeMethodDescriptionstatic final Character.UnicodeScript
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
Returns the enum constant of this class with the specified name.static Character.UnicodeScript[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMMON
Unicode script "Common". -
LATIN
Unicode script "Latin". -
GREEK
Unicode script "Greek". -
CYRILLIC
Unicode script "Cyrillic". -
ARMENIAN
Unicode script "Armenian". -
HEBREW
Unicode script "Hebrew". -
ARABIC
Unicode script "Arabic". -
SYRIAC
Unicode script "Syriac". -
THAANA
Unicode script "Thaana". -
DEVANAGARI
Unicode script "Devanagari". -
BENGALI
Unicode script "Bengali". -
GURMUKHI
Unicode script "Gurmukhi". -
GUJARATI
Unicode script "Gujarati". -
ORIYA
Unicode script "Oriya". -
TAMIL
Unicode script "Tamil". -
TELUGU
Unicode script "Telugu". -
KANNADA
Unicode script "Kannada". -
MALAYALAM
Unicode script "Malayalam". -
SINHALA
Unicode script "Sinhala". -
THAI
Unicode script "Thai". -
LAO
Unicode script "Lao". -
TIBETAN
Unicode script "Tibetan". -
MYANMAR
Unicode script "Myanmar". -
GEORGIAN
Unicode script "Georgian". -
HANGUL
Unicode script "Hangul". -
ETHIOPIC
Unicode script "Ethiopic". -
CHEROKEE
Unicode script "Cherokee". -
CANADIAN_ABORIGINAL
Unicode script "Canadian_Aboriginal". -
OGHAM
Unicode script "Ogham". -
RUNIC
Unicode script "Runic". -
KHMER
Unicode script "Khmer". -
MONGOLIAN
Unicode script "Mongolian". -
HIRAGANA
Unicode script "Hiragana". -
KATAKANA
Unicode script "Katakana". -
BOPOMOFO
Unicode script "Bopomofo". -
HAN
Unicode script "Han". -
YI
Unicode script "Yi". -
OLD_ITALIC
Unicode script "Old_Italic". -
GOTHIC
Unicode script "Gothic". -
DESERET
Unicode script "Deseret". -
INHERITED
Unicode script "Inherited". -
TAGALOG
Unicode script "Tagalog". -
HANUNOO
Unicode script "Hanunoo". -
BUHID
Unicode script "Buhid". -
TAGBANWA
Unicode script "Tagbanwa". -
LIMBU
Unicode script "Limbu". -
TAI_LE
Unicode script "Tai_Le". -
LINEAR_B
Unicode script "Linear_B". -
UGARITIC
Unicode script "Ugaritic". -
SHAVIAN
Unicode script "Shavian". -
OSMANYA
Unicode script "Osmanya". -
CYPRIOT
Unicode script "Cypriot". -
BRAILLE
Unicode script "Braille". -
BUGINESE
Unicode script "Buginese". -
COPTIC
Unicode script "Coptic". -
NEW_TAI_LUE
Unicode script "New_Tai_Lue". -
GLAGOLITIC
Unicode script "Glagolitic". -
TIFINAGH
Unicode script "Tifinagh". -
SYLOTI_NAGRI
Unicode script "Syloti_Nagri". -
OLD_PERSIAN
Unicode script "Old_Persian". -
KHAROSHTHI
Unicode script "Kharoshthi". -
BALINESE
Unicode script "Balinese". -
CUNEIFORM
Unicode script "Cuneiform". -
PHOENICIAN
Unicode script "Phoenician". -
PHAGS_PA
Unicode script "Phags_Pa". -
NKO
Unicode script "Nko". -
SUNDANESE
Unicode script "Sundanese". -
BATAK
Unicode script "Batak". -
LEPCHA
Unicode script "Lepcha". -
OL_CHIKI
Unicode script "Ol_Chiki". -
VAI
Unicode script "Vai". -
SAURASHTRA
Unicode script "Saurashtra". -
KAYAH_LI
Unicode script "Kayah_Li". -
REJANG
Unicode script "Rejang". -
LYCIAN
Unicode script "Lycian". -
CARIAN
Unicode script "Carian". -
LYDIAN
Unicode script "Lydian". -
CHAM
Unicode script "Cham". -
TAI_THAM
Unicode script "Tai_Tham". -
TAI_VIET
Unicode script "Tai_Viet". -
AVESTAN
Unicode script "Avestan". -
EGYPTIAN_HIEROGLYPHS
Unicode script "Egyptian_Hieroglyphs". -
SAMARITAN
Unicode script "Samaritan". -
MANDAIC
Unicode script "Mandaic". -
LISU
Unicode script "Lisu". -
BAMUM
Unicode script "Bamum". -
JAVANESE
Unicode script "Javanese". -
MEETEI_MAYEK
Unicode script "Meetei_Mayek". -
IMPERIAL_ARAMAIC
Unicode script "Imperial_Aramaic". -
OLD_SOUTH_ARABIAN
Unicode script "Old_South_Arabian". -
INSCRIPTIONAL_PARTHIAN
Unicode script "Inscriptional_Parthian". -
INSCRIPTIONAL_PAHLAVI
Unicode script "Inscriptional_Pahlavi". -
OLD_TURKIC
Unicode script "Old_Turkic". -
BRAHMI
Unicode script "Brahmi". -
KAITHI
Unicode script "Kaithi". -
MEROITIC_HIEROGLYPHS
Unicode script "Meroitic Hieroglyphs".- Since:
- 1.8
-
MEROITIC_CURSIVE
Unicode script "Meroitic Cursive".- Since:
- 1.8
-
SORA_SOMPENG
-
CHAKMA
-
SHARADA
-
TAKRI
-
MIAO
-
CAUCASIAN_ALBANIAN
Unicode script "Caucasian Albanian".- Since:
- 9
-
BASSA_VAH
-
DUPLOYAN
-
ELBASAN
-
GRANTHA
-
PAHAWH_HMONG
-
KHOJKI
-
LINEAR_A
-
MAHAJANI
-
MANICHAEAN
-
MENDE_KIKAKUI
-
MODI
-
MRO
-
OLD_NORTH_ARABIAN
Unicode script "Old North Arabian".- Since:
- 9
-
NABATAEAN
-
PALMYRENE
-
PAU_CIN_HAU
-
OLD_PERMIC
-
PSALTER_PAHLAVI
Unicode script "Psalter Pahlavi".- Since:
- 9
-
SIDDHAM
-
KHUDAWADI
-
TIRHUTA
-
WARANG_CITI
-
AHOM
-
ANATOLIAN_HIEROGLYPHS
Unicode script "Anatolian Hieroglyphs".- Since:
- 9
-
HATRAN
-
MULTANI
-
OLD_HUNGARIAN
-
SIGNWRITING
-
ADLAM
-
BHAIKSUKI
-
MARCHEN
-
NEWA
-
OSAGE
-
TANGUT
-
MASARAM_GONDI
-
NUSHU
-
SOYOMBO
-
ZANABAZAR_SQUARE
Unicode script "Zanabazar Square".- Since:
- 11
-
HANIFI_ROHINGYA
Unicode script "Hanifi Rohingya".- Since:
- 12
-
OLD_SOGDIAN
-
SOGDIAN
-
DOGRA
-
GUNJALA_GONDI
-
MAKASAR
-
MEDEFAIDRIN
-
ELYMAIC
-
NANDINAGARI
-
NYIAKENG_PUACHUE_HMONG
Unicode script "Nyiakeng Puachue Hmong".- Since:
- 13
-
WANCHO
-
YEZIDI
-
CHORASMIAN
-
DIVES_AKURU
-
KHITAN_SMALL_SCRIPT
Unicode script "Khitan Small Script".- Since:
- 15
-
VITHKUQI
-
OLD_UYGHUR
-
CYPRO_MINOAN
-
TANGSA
-
TOTO
-
KAWI
-
NAG_MUNDARI
-
UNKNOWN
Unicode script "Unknown".
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
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 specifiedcodePoint
is an invalid Unicode code point.- See Also:
-
forName
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 filesScripts.txt
andPropertyValueAliases.txt
define script names and the script name aliases for a particular version of the standard. TheCharacter
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
- AUnicodeScript
name.- Returns:
- The
UnicodeScript
constant identified byscriptName
- Throws:
IllegalArgumentException
- ifscriptName
is an invalid nameNullPointerException
- ifscriptName
is null
-