public static enum Character.UnicodeScript extends Enum<Character.UnicodeScript>
Latin
, or
one of the following three special values,
Inherited
,
Common
or
Unknown
.Enum Constant and Description |
---|
ARABIC
Unicode script "Arabic".
|
ARMENIAN
Unicode script "Armenian".
|
AVESTAN
Unicode script "Avestan".
|
BALINESE
Unicode script "Balinese".
|
BAMUM
Unicode script "Bamum".
|
BATAK
Unicode script "Batak".
|
BENGALI
Unicode script "Bengali".
|
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".
|
CHAM
Unicode script "Cham".
|
CHEROKEE
Unicode script "Cherokee".
|
COMMON
Unicode script "Common".
|
COPTIC
Unicode script "Coptic".
|
CUNEIFORM
Unicode script "Cuneiform".
|
CYPRIOT
Unicode script "Cypriot".
|
CYRILLIC
Unicode script "Cyrillic".
|
DESERET
Unicode script "Deseret".
|
DEVANAGARI
Unicode script "Devanagari".
|
EGYPTIAN_HIEROGLYPHS
Unicode script "Egyptian_Hieroglyphs".
|
ETHIOPIC
Unicode script "Ethiopic".
|
GEORGIAN
Unicode script "Georgian".
|
GLAGOLITIC
Unicode script "Glagolitic".
|
GOTHIC
Unicode script "Gothic".
|
GREEK
Unicode script "Greek".
|
GUJARATI
Unicode script "Gujarati".
|
GURMUKHI
Unicode script "Gurmukhi".
|
HAN
Unicode script "Han".
|
HANGUL
Unicode script "Hangul".
|
HANUNOO
Unicode script "Hanunoo".
|
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".
|
KAYAH_LI
Unicode script "Kayah_Li".
|
KHAROSHTHI
Unicode script "Kharoshthi".
|
KHMER
Unicode script "Khmer".
|
LAO
Unicode script "Lao".
|
LATIN
Unicode script "Latin".
|
LEPCHA
Unicode script "Lepcha".
|
LIMBU
Unicode script "Limbu".
|
LINEAR_B
Unicode script "Linear_B".
|
LISU
Unicode script "Lisu".
|
LYCIAN
Unicode script "Lycian".
|
LYDIAN
Unicode script "Lydian".
|
MALAYALAM
Unicode script "Malayalam".
|
MANDAIC
Unicode script "Mandaic".
|
MEETEI_MAYEK
Unicode script "Meetei_Mayek".
|
MONGOLIAN
Unicode script "Mongolian".
|
MYANMAR
Unicode script "Myanmar".
|
NEW_TAI_LUE
Unicode script "New_Tai_Lue".
|
NKO
Unicode script "Nko".
|
OGHAM
Unicode script "Ogham".
|
OL_CHIKI
Unicode script "Ol_Chiki".
|
OLD_ITALIC
Unicode script "Old_Italic".
|
OLD_PERSIAN
Unicode script "Old_Persian".
|
OLD_SOUTH_ARABIAN
Unicode script "Old_South_Arabian".
|
OLD_TURKIC
Unicode script "Old_Turkic".
|
ORIYA
Unicode script "Oriya".
|
OSMANYA
Unicode script "Osmanya".
|
PHAGS_PA
Unicode script "Phags_Pa".
|
PHOENICIAN
Unicode script "Phoenician".
|
REJANG
Unicode script "Rejang".
|
RUNIC
Unicode script "Runic".
|
SAMARITAN
Unicode script "Samaritan".
|
SAURASHTRA
Unicode script "Saurashtra".
|
SHAVIAN
Unicode script "Shavian".
|
SINHALA
Unicode script "Sinhala".
|
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".
|
TAMIL
Unicode script "Tamil".
|
TELUGU
Unicode script "Telugu".
|
THAANA
Unicode script "Thaana".
|
THAI
Unicode script "Thai".
|
TIBETAN
Unicode script "Tibetan".
|
TIFINAGH
Unicode script "Tifinagh".
|
UGARITIC
Unicode script "Ugaritic".
|
UNKNOWN
Unicode script "Unknown".
|
VAI
Unicode script "Vai".
|
YI
Unicode script "Yi".
|
Modifier and Type | Method and Description |
---|---|
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)
Returns the enum constant of this type with the specified name.
|
static Character.UnicodeScript[] |
values()
Returns an array containing the constants of this enum type, 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 UNKNOWN
public static Character.UnicodeScript[] values()
for (Character.UnicodeScript c : Character.UnicodeScript.values()) System.out.println(c);
public static Character.UnicodeScript valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type 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.Character.isValidCodePoint(int)
public static final Character.UnicodeScript forName(String scriptName)
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 Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2012, Oracle and/or its affiliates. All rights reserved.