public static enum Character.UnicodeScript extends Enum<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
.
public static final Character.UnicodeScript COMMON
Unicode script "Common".
public static final Character.UnicodeScript LATIN
Unicode script "Latin".
public static final Character.UnicodeScript GREEK
Unicode script "Greek".
public static final Character.UnicodeScript CYRILLIC
Unicode script "Cyrillic".
public static final Character.UnicodeScript ARMENIAN
Unicode script "Armenian".
public static final Character.UnicodeScript HEBREW
Unicode script "Hebrew".
public static final Character.UnicodeScript ARABIC
Unicode script "Arabic".
public static final Character.UnicodeScript SYRIAC
Unicode script "Syriac".
public static final Character.UnicodeScript THAANA
Unicode script "Thaana".
public static final Character.UnicodeScript DEVANAGARI
Unicode script "Devanagari".
public static final Character.UnicodeScript BENGALI
Unicode script "Bengali".
public static final Character.UnicodeScript GURMUKHI
Unicode script "Gurmukhi".
public static final Character.UnicodeScript GUJARATI
Unicode script "Gujarati".
public static final Character.UnicodeScript ORIYA
Unicode script "Oriya".
public static final Character.UnicodeScript TAMIL
Unicode script "Tamil".
public static final Character.UnicodeScript TELUGU
Unicode script "Telugu".
public static final Character.UnicodeScript KANNADA
Unicode script "Kannada".
public static final Character.UnicodeScript MALAYALAM
Unicode script "Malayalam".
public static final Character.UnicodeScript SINHALA
Unicode script "Sinhala".
public static final Character.UnicodeScript THAI
Unicode script "Thai".
public static final Character.UnicodeScript LAO
Unicode script "Lao".
public static final Character.UnicodeScript TIBETAN
Unicode script "Tibetan".
public static final Character.UnicodeScript MYANMAR
Unicode script "Myanmar".
public static final Character.UnicodeScript GEORGIAN
Unicode script "Georgian".
public static final Character.UnicodeScript HANGUL
Unicode script "Hangul".
public static final Character.UnicodeScript ETHIOPIC
Unicode script "Ethiopic".
public static final Character.UnicodeScript CHEROKEE
Unicode script "Cherokee".
public static final Character.UnicodeScript CANADIAN_ABORIGINAL
Unicode script "Canadian_Aboriginal".
public static final Character.UnicodeScript OGHAM
Unicode script "Ogham".
public static final Character.UnicodeScript RUNIC
Unicode script "Runic".
public static final Character.UnicodeScript KHMER
Unicode script "Khmer".
public static final Character.UnicodeScript MONGOLIAN
Unicode script "Mongolian".
public static final Character.UnicodeScript HIRAGANA
Unicode script "Hiragana".
public static final Character.UnicodeScript KATAKANA
Unicode script "Katakana".
public static final Character.UnicodeScript BOPOMOFO
Unicode script "Bopomofo".
public static final Character.UnicodeScript HAN
Unicode script "Han".
public static final Character.UnicodeScript YI
Unicode script "Yi".
public static final Character.UnicodeScript OLD_ITALIC
Unicode script "Old_Italic".
public static final Character.UnicodeScript GOTHIC
Unicode script "Gothic".
public static final Character.UnicodeScript DESERET
Unicode script "Deseret".
public static final Character.UnicodeScript INHERITED
Unicode script "Inherited".
public static final Character.UnicodeScript TAGALOG
Unicode script "Tagalog".
public static final Character.UnicodeScript HANUNOO
Unicode script "Hanunoo".
public static final Character.UnicodeScript BUHID
Unicode script "Buhid".
public static final Character.UnicodeScript TAGBANWA
Unicode script "Tagbanwa".
public static final Character.UnicodeScript LIMBU
Unicode script "Limbu".
public static final Character.UnicodeScript TAI_LE
Unicode script "Tai_Le".
public static final Character.UnicodeScript LINEAR_B
Unicode script "Linear_B".
public static final Character.UnicodeScript UGARITIC
Unicode script "Ugaritic".
public static final Character.UnicodeScript SHAVIAN
Unicode script "Shavian".
public static final Character.UnicodeScript OSMANYA
Unicode script "Osmanya".
public static final Character.UnicodeScript CYPRIOT
Unicode script "Cypriot".
public static final Character.UnicodeScript BRAILLE
Unicode script "Braille".
public static final Character.UnicodeScript BUGINESE
Unicode script "Buginese".
public static final Character.UnicodeScript COPTIC
Unicode script "Coptic".
public static final Character.UnicodeScript NEW_TAI_LUE
Unicode script "New_Tai_Lue".
public static final Character.UnicodeScript GLAGOLITIC
Unicode script "Glagolitic".
public static final Character.UnicodeScript TIFINAGH
Unicode script "Tifinagh".
public static final Character.UnicodeScript SYLOTI_NAGRI
Unicode script "Syloti_Nagri".
public static final Character.UnicodeScript OLD_PERSIAN
Unicode script "Old_Persian".
public static final Character.UnicodeScript KHAROSHTHI
Unicode script "Kharoshthi".
public static final Character.UnicodeScript BALINESE
Unicode script "Balinese".
public static final Character.UnicodeScript CUNEIFORM
Unicode script "Cuneiform".
public static final Character.UnicodeScript PHOENICIAN
Unicode script "Phoenician".
public static final Character.UnicodeScript PHAGS_PA
Unicode script "Phags_Pa".
public static final Character.UnicodeScript NKO
Unicode script "Nko".
public static final Character.UnicodeScript SUNDANESE
Unicode script "Sundanese".
public static final Character.UnicodeScript BATAK
Unicode script "Batak".
public static final Character.UnicodeScript LEPCHA
Unicode script "Lepcha".
public static final Character.UnicodeScript OL_CHIKI
Unicode script "Ol_Chiki".
public static final Character.UnicodeScript VAI
Unicode script "Vai".
public static final Character.UnicodeScript SAURASHTRA
Unicode script "Saurashtra".
public static final Character.UnicodeScript KAYAH_LI
Unicode script "Kayah_Li".
public static final Character.UnicodeScript REJANG
Unicode script "Rejang".
public static final Character.UnicodeScript LYCIAN
Unicode script "Lycian".
public static final Character.UnicodeScript CARIAN
Unicode script "Carian".
public static final Character.UnicodeScript LYDIAN
Unicode script "Lydian".
public static final Character.UnicodeScript CHAM
Unicode script "Cham".
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 AVESTAN
Unicode script "Avestan".
public static final Character.UnicodeScript EGYPTIAN_HIEROGLYPHS
Unicode script "Egyptian_Hieroglyphs".
public static final Character.UnicodeScript SAMARITAN
Unicode script "Samaritan".
public static final Character.UnicodeScript MANDAIC
Unicode script "Mandaic".
public static final Character.UnicodeScript LISU
Unicode script "Lisu".
public static final Character.UnicodeScript BAMUM
Unicode script "Bamum".
public static final Character.UnicodeScript JAVANESE
Unicode script "Javanese".
public static final Character.UnicodeScript MEETEI_MAYEK
Unicode script "Meetei_Mayek".
public static final Character.UnicodeScript IMPERIAL_ARAMAIC
Unicode script "Imperial_Aramaic".
public static final Character.UnicodeScript OLD_SOUTH_ARABIAN
Unicode script "Old_South_Arabian".
public static final Character.UnicodeScript INSCRIPTIONAL_PARTHIAN
Unicode script "Inscriptional_Parthian".
public static final Character.UnicodeScript INSCRIPTIONAL_PAHLAVI
Unicode script "Inscriptional_Pahlavi".
public static final Character.UnicodeScript OLD_TURKIC
Unicode script "Old_Turkic".
public static final Character.UnicodeScript BRAHMI
Unicode script "Brahmi".
public static final Character.UnicodeScript KAITHI
Unicode script "Kaithi".
public static final Character.UnicodeScript MEROITIC_HIEROGLYPHS
Unicode script "Meroitic Hieroglyphs".
public static final Character.UnicodeScript MEROITIC_CURSIVE
Unicode script "Meroitic Cursive".
public static final Character.UnicodeScript SORA_SOMPENG
Unicode script "Sora Sompeng".
public static final Character.UnicodeScript CHAKMA
Unicode script "Chakma".
public static final Character.UnicodeScript SHARADA
Unicode script "Sharada".
public static final Character.UnicodeScript TAKRI
Unicode script "Takri".
public static final Character.UnicodeScript MIAO
Unicode script "Miao".
public static final Character.UnicodeScript UNKNOWN
Unicode script "Unknown".
public static Character.UnicodeScript[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Character.UnicodeScript c : Character.UnicodeScript.values()) System.out.println(c);
public static Character.UnicodeScript valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
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)
Returns the enum constant representing the Unicode script of which the given character (Unicode code point) is assigned to.
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)
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.
scriptName
- A UnicodeScript
name.UnicodeScript
constant identified by scriptName
IllegalArgumentException
- if scriptName
is an invalid nameNullPointerException
- if scriptName
is null
© 1993–2017, 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.