Serializable
, Comparable<Character.UnicodeScript>
, Constable
Character
public static enum Character.UnicodeScript extends Enum<Character.UnicodeScript>
Latin
, or one of the following three special values, Inherited
, Common
or Unknown
.Enum.EnumDesc<E extends Enum<E>>
Enum Constant | Description |
---|---|
ADLAM |
Unicode script "Adlam". |
AHOM |
Unicode script "Ahom". |
ANATOLIAN_HIEROGLYPHS |
Unicode script "Anatolian Hieroglyphs". |
ARABIC |
Unicode script "Arabic". |
ARMENIAN |
Unicode script "Armenian". |
AVESTAN |
Unicode script "Avestan". |
BALINESE |
Unicode script "Balinese". |
BAMUM |
Unicode script "Bamum". |
BASSA_VAH |
Unicode script "Bassa Vah". |
BATAK |
Unicode script "Batak". |
BENGALI |
Unicode script "Bengali". |
BHAIKSUKI |
Unicode script "Bhaiksuki". |
BOPOMOFO |
Unicode script "Bopomofo". |
BRAHMI |
Unicode script "Brahmi". |
BRAILLE |
Unicode script "Braille". |
BUGINESE |
Unicode script "Buginese". |
BUHID |
Unicode script "Buhid". |
CANADIAN_ABORIGINAL |
Unicode script "Canadian_Aboriginal". |
CARIAN |
Unicode script "Carian". |
CAUCASIAN_ALBANIAN |
Unicode script "Caucasian Albanian". |
CHAKMA |
Unicode script "Chakma". |
CHAM |
Unicode script "Cham". |
CHEROKEE |
Unicode script "Cherokee". |
CHORASMIAN |
Unicode script "Chorasmian". |
COMMON |
Unicode script "Common". |
COPTIC |
Unicode script "Coptic". |
CUNEIFORM |
Unicode script "Cuneiform". |
CYPRIOT |
Unicode script "Cypriot". |
CYPRO_MINOAN |
Unicode script "Cypro Minoan". |
CYRILLIC |
Unicode script "Cyrillic". |
DESERET |
Unicode script "Deseret". |
DEVANAGARI |
Unicode script "Devanagari". |
DIVES_AKURU |
Unicode script "Dives Akuru". |
DOGRA |
Unicode script "Dogra". |
DUPLOYAN |
Unicode script "Duployan". |
EGYPTIAN_HIEROGLYPHS |
Unicode script "Egyptian_Hieroglyphs". |
ELBASAN |
Unicode script "Elbasan". |
ELYMAIC |
Unicode script "Elymaic". |
ETHIOPIC |
Unicode script "Ethiopic". |
GEORGIAN |
Unicode script "Georgian". |
GLAGOLITIC |
Unicode script "Glagolitic". |
GOTHIC |
Unicode script "Gothic". |
GRANTHA |
Unicode script "Grantha". |
GREEK |
Unicode script "Greek". |
GUJARATI |
Unicode script "Gujarati". |
GUNJALA_GONDI |
Unicode script "Gunjala Gondi". |
GURMUKHI |
Unicode script "Gurmukhi". |
HAN |
Unicode script "Han". |
HANGUL |
Unicode script "Hangul". |
HANIFI_ROHINGYA |
Unicode script "Hanifi Rohingya". |
HANUNOO |
Unicode script "Hanunoo". |
HATRAN |
Unicode script "Hatran". |
HEBREW |
Unicode script "Hebrew". |
HIRAGANA |
Unicode script "Hiragana". |
IMPERIAL_ARAMAIC |
Unicode script "Imperial_Aramaic". |
INHERITED |
Unicode script "Inherited". |
INSCRIPTIONAL_PAHLAVI |
Unicode script "Inscriptional_Pahlavi". |
INSCRIPTIONAL_PARTHIAN |
Unicode script "Inscriptional_Parthian". |
JAVANESE |
Unicode script "Javanese". |
KAITHI |
Unicode script "Kaithi". |
KANNADA |
Unicode script "Kannada". |
KATAKANA |
Unicode script "Katakana". |
KAWI |
Unicode script "Kawi". |
KAYAH_LI |
Unicode script "Kayah_Li". |
KHAROSHTHI |
Unicode script "Kharoshthi". |
KHITAN_SMALL_SCRIPT |
Unicode script "Khitan Small Script". |
KHMER |
Unicode script "Khmer". |
KHOJKI |
Unicode script "Khojki". |
KHUDAWADI |
Unicode script "Khudawadi". |
LAO |
Unicode script "Lao". |
LATIN |
Unicode script "Latin". |
LEPCHA |
Unicode script "Lepcha". |
LIMBU |
Unicode script "Limbu". |
LINEAR_A |
Unicode script "Linear A". |
LINEAR_B |
Unicode script "Linear_B". |
LISU |
Unicode script "Lisu". |
LYCIAN |
Unicode script "Lycian". |
LYDIAN |
Unicode script "Lydian". |
MAHAJANI |
Unicode script "Mahajani". |
MAKASAR |
Unicode script "Makasar". |
MALAYALAM |
Unicode script "Malayalam". |
MANDAIC |
Unicode script "Mandaic". |
MANICHAEAN |
Unicode script "Manichaean". |
MARCHEN |
Unicode script "Marchen". |
MASARAM_GONDI |
Unicode script "Masaram Gondi". |
MEDEFAIDRIN |
Unicode script "Medefaidrin". |
MEETEI_MAYEK |
Unicode script "Meetei_Mayek". |
MENDE_KIKAKUI |
Unicode script "Mende Kikakui". |
MEROITIC_CURSIVE |
Unicode script "Meroitic Cursive". |
MEROITIC_HIEROGLYPHS |
Unicode script "Meroitic Hieroglyphs". |
MIAO |
Unicode script "Miao". |
MODI |
Unicode script "Modi". |
MONGOLIAN |
Unicode script "Mongolian". |
MRO |
Unicode script "Mro". |
MULTANI |
Unicode script "Multani". |
MYANMAR |
Unicode script "Myanmar". |
NABATAEAN |
Unicode script "Nabataean". |
NAG_MUNDARI |
Unicode script "Nag Mundari". |
NANDINAGARI |
Unicode script "Nandinagari". |
NEW_TAI_LUE |
Unicode script "New_Tai_Lue". |
NEWA |
Unicode script "Newa". |
NKO |
Unicode script "Nko". |
NUSHU |
Unicode script "Nushu". |
NYIAKENG_PUACHUE_HMONG |
Unicode script "Nyiakeng Puachue Hmong". |
OGHAM |
Unicode script "Ogham". |
OL_CHIKI |
Unicode script "Ol_Chiki". |
OLD_HUNGARIAN |
Unicode script "Old Hungarian". |
OLD_ITALIC |
Unicode script "Old_Italic". |
OLD_NORTH_ARABIAN |
Unicode script "Old North Arabian". |
OLD_PERMIC |
Unicode script "Old Permic". |
OLD_PERSIAN |
Unicode script "Old_Persian". |
OLD_SOGDIAN |
Unicode script "Old Sogdian". |
OLD_SOUTH_ARABIAN |
Unicode script "Old_South_Arabian". |
OLD_TURKIC |
Unicode script "Old_Turkic". |
OLD_UYGHUR |
Unicode script "Old Uyghur". |
ORIYA |
Unicode script "Oriya". |
OSAGE |
Unicode script "Osage". |
OSMANYA |
Unicode script "Osmanya". |
PAHAWH_HMONG |
Unicode script "Pahawh Hmong". |
PALMYRENE |
Unicode script "Palmyrene". |
PAU_CIN_HAU |
Unicode script "Pau Cin Hau". |
PHAGS_PA |
Unicode script "Phags_Pa". |
PHOENICIAN |
Unicode script "Phoenician". |
PSALTER_PAHLAVI |
Unicode script "Psalter Pahlavi". |
REJANG |
Unicode script "Rejang". |
RUNIC |
Unicode script "Runic". |
SAMARITAN |
Unicode script "Samaritan". |
SAURASHTRA |
Unicode script "Saurashtra". |
SHARADA |
Unicode script "Sharada". |
SHAVIAN |
Unicode script "Shavian". |
SIDDHAM |
Unicode script "Siddham". |
SIGNWRITING |
Unicode script "SignWriting". |
SINHALA |
Unicode script "Sinhala". |
SOGDIAN |
Unicode script "Sogdian". |
SORA_SOMPENG |
Unicode script "Sora Sompeng". |
SOYOMBO |
Unicode script "Soyombo". |
SUNDANESE |
Unicode script "Sundanese". |
SYLOTI_NAGRI |
Unicode script "Syloti_Nagri". |
SYRIAC |
Unicode script "Syriac". |
TAGALOG |
Unicode script "Tagalog". |
TAGBANWA |
Unicode script "Tagbanwa". |
TAI_LE |
Unicode script "Tai_Le". |
TAI_THAM |
Unicode script "Tai_Tham". |
TAI_VIET |
Unicode script "Tai_Viet". |
TAKRI |
Unicode script "Takri". |
TAMIL |
Unicode script "Tamil". |
TANGSA |
Unicode script "Tangsa". |
TANGUT |
Unicode script "Tangut". |
TELUGU |
Unicode script "Telugu". |
THAANA |
Unicode script "Thaana". |
THAI |
Unicode script "Thai". |
TIBETAN |
Unicode script "Tibetan". |
TIFINAGH |
Unicode script "Tifinagh". |
TIRHUTA |
Unicode script "Tirhuta". |
TOTO |
Unicode script "Toto". |
UGARITIC |
Unicode script "Ugaritic". |
UNKNOWN |
Unicode script "Unknown". |
VAI |
Unicode script "Vai". |
VITHKUQI |
Unicode script "Vithkuqi". |
WANCHO |
Unicode script "Wancho". |
WARANG_CITI |
Unicode script "Warang Citi". |
YEZIDI |
Unicode script "Yezidi". |
YI |
Unicode script "Yi". |
ZANABAZAR_SQUARE |
Unicode script "Zanabazar Square". |
Modifier and Type | Method | Description |
---|---|---|
static final Character.UnicodeScript |
forName |
Returns the UnicodeScript constant with the given Unicode script name or the script name alias. |
static Character.UnicodeScript |
of |
Returns the enum constant representing the Unicode script of which the given character (Unicode code point) is assigned to. |
static Character.UnicodeScript |
valueOf |
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. |
public static final Character.UnicodeScript COMMON
public static final Character.UnicodeScript LATIN
public static final Character.UnicodeScript GREEK
public static final Character.UnicodeScript CYRILLIC
public static final Character.UnicodeScript ARMENIAN
public static final Character.UnicodeScript HEBREW
public static final Character.UnicodeScript ARABIC
public static final Character.UnicodeScript SYRIAC
public static final Character.UnicodeScript THAANA
public static final Character.UnicodeScript DEVANAGARI
public static final Character.UnicodeScript BENGALI
public static final Character.UnicodeScript GURMUKHI
public static final Character.UnicodeScript GUJARATI
public static final Character.UnicodeScript ORIYA
public static final Character.UnicodeScript TAMIL
public static final Character.UnicodeScript TELUGU
public static final Character.UnicodeScript KANNADA
public static final Character.UnicodeScript MALAYALAM
public static final Character.UnicodeScript SINHALA
public static final Character.UnicodeScript THAI
public static final Character.UnicodeScript LAO
public static final Character.UnicodeScript TIBETAN
public static final Character.UnicodeScript MYANMAR
public static final Character.UnicodeScript GEORGIAN
public static final Character.UnicodeScript HANGUL
public static final Character.UnicodeScript ETHIOPIC
public static final Character.UnicodeScript CHEROKEE
public static final Character.UnicodeScript CANADIAN_ABORIGINAL
public static final Character.UnicodeScript OGHAM
public static final Character.UnicodeScript RUNIC
public static final Character.UnicodeScript KHMER
public static final Character.UnicodeScript MONGOLIAN
public static final Character.UnicodeScript HIRAGANA
public static final Character.UnicodeScript KATAKANA
public static final Character.UnicodeScript BOPOMOFO
public static final Character.UnicodeScript HAN
public static final Character.UnicodeScript YI
public static final Character.UnicodeScript OLD_ITALIC
public static final Character.UnicodeScript GOTHIC
public static final Character.UnicodeScript DESERET
public static final Character.UnicodeScript INHERITED
public static final Character.UnicodeScript TAGALOG
public static final Character.UnicodeScript HANUNOO
public static final Character.UnicodeScript BUHID
public static final Character.UnicodeScript TAGBANWA
public static final Character.UnicodeScript LIMBU
public static final Character.UnicodeScript TAI_LE
public static final Character.UnicodeScript LINEAR_B
public static final Character.UnicodeScript UGARITIC
public static final Character.UnicodeScript SHAVIAN
public static final Character.UnicodeScript OSMANYA
public static final Character.UnicodeScript CYPRIOT
public static final Character.UnicodeScript BRAILLE
public static final Character.UnicodeScript BUGINESE
public static final Character.UnicodeScript COPTIC
public static final Character.UnicodeScript NEW_TAI_LUE
public static final Character.UnicodeScript GLAGOLITIC
public static final Character.UnicodeScript TIFINAGH
public static final Character.UnicodeScript SYLOTI_NAGRI
public static final Character.UnicodeScript OLD_PERSIAN
public static final Character.UnicodeScript KHAROSHTHI
public static final Character.UnicodeScript BALINESE
public static final Character.UnicodeScript CUNEIFORM
public static final Character.UnicodeScript PHOENICIAN
public static final Character.UnicodeScript PHAGS_PA
public static final Character.UnicodeScript NKO
public static final Character.UnicodeScript SUNDANESE
public static final Character.UnicodeScript BATAK
public static final Character.UnicodeScript LEPCHA
public static final Character.UnicodeScript OL_CHIKI
public static final Character.UnicodeScript VAI
public static final Character.UnicodeScript SAURASHTRA
public static final Character.UnicodeScript KAYAH_LI
public static final Character.UnicodeScript REJANG
public static final Character.UnicodeScript LYCIAN
public static final Character.UnicodeScript CARIAN
public static final Character.UnicodeScript LYDIAN
public static final Character.UnicodeScript CHAM
public static final Character.UnicodeScript TAI_THAM
public static final Character.UnicodeScript TAI_VIET
public static final Character.UnicodeScript AVESTAN
public static final Character.UnicodeScript EGYPTIAN_HIEROGLYPHS
public static final Character.UnicodeScript SAMARITAN
public static final Character.UnicodeScript MANDAIC
public static final Character.UnicodeScript LISU
public static final Character.UnicodeScript BAMUM
public static final Character.UnicodeScript JAVANESE
public static final Character.UnicodeScript MEETEI_MAYEK
public static final Character.UnicodeScript IMPERIAL_ARAMAIC
public static final Character.UnicodeScript OLD_SOUTH_ARABIAN
public static final Character.UnicodeScript INSCRIPTIONAL_PARTHIAN
public static final Character.UnicodeScript INSCRIPTIONAL_PAHLAVI
public static final Character.UnicodeScript OLD_TURKIC
public static final Character.UnicodeScript BRAHMI
public static final Character.UnicodeScript KAITHI
public static final Character.UnicodeScript MEROITIC_HIEROGLYPHS
public static final Character.UnicodeScript MEROITIC_CURSIVE
public static final Character.UnicodeScript SORA_SOMPENG
public static final Character.UnicodeScript CHAKMA
public static final Character.UnicodeScript SHARADA
public static final Character.UnicodeScript TAKRI
public static final Character.UnicodeScript MIAO
public static final Character.UnicodeScript CAUCASIAN_ALBANIAN
public static final Character.UnicodeScript BASSA_VAH
public static final Character.UnicodeScript DUPLOYAN
public static final Character.UnicodeScript ELBASAN
public static final Character.UnicodeScript GRANTHA
public static final Character.UnicodeScript PAHAWH_HMONG
public static final Character.UnicodeScript KHOJKI
public static final Character.UnicodeScript LINEAR_A
public static final Character.UnicodeScript MAHAJANI
public static final Character.UnicodeScript MANICHAEAN
public static final Character.UnicodeScript MENDE_KIKAKUI
public static final Character.UnicodeScript MODI
public static final Character.UnicodeScript MRO
public static final Character.UnicodeScript OLD_NORTH_ARABIAN
public static final Character.UnicodeScript NABATAEAN
public static final Character.UnicodeScript PALMYRENE
public static final Character.UnicodeScript PAU_CIN_HAU
public static final Character.UnicodeScript OLD_PERMIC
public static final Character.UnicodeScript PSALTER_PAHLAVI
public static final Character.UnicodeScript SIDDHAM
public static final Character.UnicodeScript KHUDAWADI
public static final Character.UnicodeScript TIRHUTA
public static final Character.UnicodeScript WARANG_CITI
public static final Character.UnicodeScript AHOM
public static final Character.UnicodeScript ANATOLIAN_HIEROGLYPHS
public static final Character.UnicodeScript HATRAN
public static final Character.UnicodeScript MULTANI
public static final Character.UnicodeScript OLD_HUNGARIAN
public static final Character.UnicodeScript SIGNWRITING
public static final Character.UnicodeScript ADLAM
public static final Character.UnicodeScript BHAIKSUKI
public static final Character.UnicodeScript MARCHEN
public static final Character.UnicodeScript NEWA
public static final Character.UnicodeScript OSAGE
public static final Character.UnicodeScript TANGUT
public static final Character.UnicodeScript MASARAM_GONDI
public static final Character.UnicodeScript NUSHU
public static final Character.UnicodeScript SOYOMBO
public static final Character.UnicodeScript ZANABAZAR_SQUARE
public static final Character.UnicodeScript HANIFI_ROHINGYA
public static final Character.UnicodeScript OLD_SOGDIAN
public static final Character.UnicodeScript SOGDIAN
public static final Character.UnicodeScript DOGRA
public static final Character.UnicodeScript GUNJALA_GONDI
public static final Character.UnicodeScript MAKASAR
public static final Character.UnicodeScript MEDEFAIDRIN
public static final Character.UnicodeScript ELYMAIC
public static final Character.UnicodeScript NANDINAGARI
public static final Character.UnicodeScript NYIAKENG_PUACHUE_HMONG
public static final Character.UnicodeScript WANCHO
public static final Character.UnicodeScript YEZIDI
public static final Character.UnicodeScript CHORASMIAN
public static final Character.UnicodeScript DIVES_AKURU
public static final Character.UnicodeScript KHITAN_SMALL_SCRIPT
public static final Character.UnicodeScript VITHKUQI
public static final Character.UnicodeScript OLD_UYGHUR
public static final Character.UnicodeScript CYPRO_MINOAN
public static final Character.UnicodeScript TANGSA
public static final Character.UnicodeScript TOTO
public static final Character.UnicodeScript KAWI
public static final Character.UnicodeScript NAG_MUNDARI
public static final Character.UnicodeScript UNKNOWN
public static Character.UnicodeScript[] values()
public static Character.UnicodeScript valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Character.UnicodeScript of(int codePoint)
codePoint
- the character (Unicode code point) in question.UnicodeScript
constant representing the Unicode script of which this character is assigned to.IllegalArgumentException
- if the specified codePoint
is an invalid Unicode code point.public static final Character.UnicodeScript forName(String scriptName)
Scripts.txt
and PropertyValueAliases.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.
scriptName
- A UnicodeScript
name.UnicodeScript
constant identified by scriptName
IllegalArgumentException
- if scriptName
is an invalid nameNullPointerException
- if scriptName
is null
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Character.UnicodeScript.html