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
.
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
|
Character.UnicodeScript CANADIAN_ABORIGINAL
Unicode script "Canadian_Aboriginal".
Character.UnicodeScript EGYPTIAN_HIEROGLYPHS
Unicode script "Egyptian_Hieroglyphs".
Character.UnicodeScript IMPERIAL_ARAMAIC
Unicode script "Imperial_Aramaic".
Character.UnicodeScript INSCRIPTIONAL_PAHLAVI
Unicode script "Inscriptional_Pahlavi".
Character.UnicodeScript INSCRIPTIONAL_PARTHIAN
Unicode script "Inscriptional_Parthian".
Character.UnicodeScript MEETEI_MAYEK
Unicode script "Meetei_Mayek".
Character.UnicodeScript OLD_SOUTH_ARABIAN
Unicode script "Old_South_Arabian".
Character.UnicodeScript SYLOTI_NAGRI
Unicode script "Syloti_Nagri".
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
|
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:
Character.UnicodeScript valueOf (String name)
Parameters | |
---|---|
name |
String
|
Returns | |
---|---|
Character.UnicodeScript |