public static final class Character.UnicodeBlock extends Character.Subset
Modifier and Type | Method and Description |
---|---|
static Character.UnicodeBlock |
forName(String blockName)
返回具有给定名称的UnicodeBlock。
|
static Character.UnicodeBlock |
of(char c)
返回表示包含给定字符,或Unicode的块中的对象
null 如果字符不是一个定义的块中的一员。
|
static Character.UnicodeBlock |
of(int codePoint)
返回表示包含给定字符(Unicode代码点)Unicode的块中的对象,或
null 如果字符是不限定的块中的一员。
|
equals, hashCode, toString
public static final Character.UnicodeBlock BASIC_LATIN
public static final Character.UnicodeBlock LATIN_1_SUPPLEMENT
public static final Character.UnicodeBlock LATIN_EXTENDED_A
public static final Character.UnicodeBlock LATIN_EXTENDED_B
public static final Character.UnicodeBlock IPA_EXTENSIONS
public static final Character.UnicodeBlock SPACING_MODIFIER_LETTERS
public static final Character.UnicodeBlock COMBINING_DIACRITICAL_MARKS
public static final Character.UnicodeBlock GREEK
这个块以前被称为“希腊语”块。
public static final Character.UnicodeBlock CYRILLIC
public static final Character.UnicodeBlock ARMENIAN
public static final Character.UnicodeBlock HEBREW
public static final Character.UnicodeBlock ARABIC
public static final Character.UnicodeBlock DEVANAGARI
public static final Character.UnicodeBlock BENGALI
public static final Character.UnicodeBlock GURMUKHI
public static final Character.UnicodeBlock GUJARATI
public static final Character.UnicodeBlock ORIYA
public static final Character.UnicodeBlock TAMIL
public static final Character.UnicodeBlock TELUGU
public static final Character.UnicodeBlock KANNADA
public static final Character.UnicodeBlock MALAYALAM
public static final Character.UnicodeBlock THAI
public static final Character.UnicodeBlock LAO
public static final Character.UnicodeBlock TIBETAN
public static final Character.UnicodeBlock GEORGIAN
public static final Character.UnicodeBlock HANGUL_JAMO
public static final Character.UnicodeBlock LATIN_EXTENDED_ADDITIONAL
public static final Character.UnicodeBlock GREEK_EXTENDED
public static final Character.UnicodeBlock GENERAL_PUNCTUATION
public static final Character.UnicodeBlock SUPERSCRIPTS_AND_SUBSCRIPTS
public static final Character.UnicodeBlock CURRENCY_SYMBOLS
public static final Character.UnicodeBlock COMBINING_MARKS_FOR_SYMBOLS
此块以前称为“组合符号标记”。
public static final Character.UnicodeBlock LETTERLIKE_SYMBOLS
public static final Character.UnicodeBlock NUMBER_FORMS
public static final Character.UnicodeBlock ARROWS
public static final Character.UnicodeBlock MATHEMATICAL_OPERATORS
public static final Character.UnicodeBlock MISCELLANEOUS_TECHNICAL
public static final Character.UnicodeBlock CONTROL_PICTURES
public static final Character.UnicodeBlock OPTICAL_CHARACTER_RECOGNITION
public static final Character.UnicodeBlock ENCLOSED_ALPHANUMERICS
public static final Character.UnicodeBlock BOX_DRAWING
public static final Character.UnicodeBlock BLOCK_ELEMENTS
public static final Character.UnicodeBlock GEOMETRIC_SHAPES
public static final Character.UnicodeBlock MISCELLANEOUS_SYMBOLS
public static final Character.UnicodeBlock DINGBATS
public static final Character.UnicodeBlock CJK_SYMBOLS_AND_PUNCTUATION
public static final Character.UnicodeBlock HIRAGANA
public static final Character.UnicodeBlock KATAKANA
public static final Character.UnicodeBlock BOPOMOFO
public static final Character.UnicodeBlock HANGUL_COMPATIBILITY_JAMO
public static final Character.UnicodeBlock KANBUN
public static final Character.UnicodeBlock ENCLOSED_CJK_LETTERS_AND_MONTHS
public static final Character.UnicodeBlock CJK_COMPATIBILITY
public static final Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS
public static final Character.UnicodeBlock HANGUL_SYLLABLES
public static final Character.UnicodeBlock PRIVATE_USE_AREA
public static final Character.UnicodeBlock CJK_COMPATIBILITY_IDEOGRAPHS
public static final Character.UnicodeBlock ALPHABETIC_PRESENTATION_FORMS
public static final Character.UnicodeBlock ARABIC_PRESENTATION_FORMS_A
public static final Character.UnicodeBlock COMBINING_HALF_MARKS
public static final Character.UnicodeBlock CJK_COMPATIBILITY_FORMS
public static final Character.UnicodeBlock SMALL_FORM_VARIANTS
public static final Character.UnicodeBlock ARABIC_PRESENTATION_FORMS_B
public static final Character.UnicodeBlock HALFWIDTH_AND_FULLWIDTH_FORMS
public static final Character.UnicodeBlock SPECIALS
@Deprecated public static final Character.UnicodeBlock SURROGATES_AREA
HIGH_SURROGATES
, HIGH_PRIVATE_USE_SURROGATES
和LOW_SURROGATES
。
这些新常量与Unicode标准的块定义相匹配。
of(char)
和of(int)
方法返回新的常量,而不是SURROGATES_AREA。
public static final Character.UnicodeBlock SYRIAC
public static final Character.UnicodeBlock THAANA
public static final Character.UnicodeBlock SINHALA
public static final Character.UnicodeBlock MYANMAR
public static final Character.UnicodeBlock ETHIOPIC
public static final Character.UnicodeBlock CHEROKEE
public static final Character.UnicodeBlock UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS
public static final Character.UnicodeBlock OGHAM
public static final Character.UnicodeBlock RUNIC
public static final Character.UnicodeBlock KHMER
public static final Character.UnicodeBlock MONGOLIAN
public static final Character.UnicodeBlock BRAILLE_PATTERNS
public static final Character.UnicodeBlock CJK_RADICALS_SUPPLEMENT
public static final Character.UnicodeBlock KANGXI_RADICALS
public static final Character.UnicodeBlock IDEOGRAPHIC_DESCRIPTION_CHARACTERS
public static final Character.UnicodeBlock BOPOMOFO_EXTENDED
public static final Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A
public static final Character.UnicodeBlock YI_SYLLABLES
public static final Character.UnicodeBlock YI_RADICALS
public static final Character.UnicodeBlock CYRILLIC_SUPPLEMENTARY
public static final Character.UnicodeBlock TAGALOG
public static final Character.UnicodeBlock HANUNOO
public static final Character.UnicodeBlock BUHID
public static final Character.UnicodeBlock TAGBANWA
public static final Character.UnicodeBlock LIMBU
public static final Character.UnicodeBlock TAI_LE
public static final Character.UnicodeBlock KHMER_SYMBOLS
public static final Character.UnicodeBlock PHONETIC_EXTENSIONS
public static final Character.UnicodeBlock MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A
public static final Character.UnicodeBlock SUPPLEMENTAL_ARROWS_A
public static final Character.UnicodeBlock SUPPLEMENTAL_ARROWS_B
public static final Character.UnicodeBlock MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B
public static final Character.UnicodeBlock SUPPLEMENTAL_MATHEMATICAL_OPERATORS
public static final Character.UnicodeBlock MISCELLANEOUS_SYMBOLS_AND_ARROWS
public static final Character.UnicodeBlock KATAKANA_PHONETIC_EXTENSIONS
public static final Character.UnicodeBlock YIJING_HEXAGRAM_SYMBOLS
public static final Character.UnicodeBlock VARIATION_SELECTORS
public static final Character.UnicodeBlock LINEAR_B_SYLLABARY
public static final Character.UnicodeBlock LINEAR_B_IDEOGRAMS
public static final Character.UnicodeBlock AEGEAN_NUMBERS
public static final Character.UnicodeBlock OLD_ITALIC
public static final Character.UnicodeBlock GOTHIC
public static final Character.UnicodeBlock UGARITIC
public static final Character.UnicodeBlock DESERET
public static final Character.UnicodeBlock SHAVIAN
public static final Character.UnicodeBlock OSMANYA
public static final Character.UnicodeBlock CYPRIOT_SYLLABARY
public static final Character.UnicodeBlock BYZANTINE_MUSICAL_SYMBOLS
public static final Character.UnicodeBlock MUSICAL_SYMBOLS
public static final Character.UnicodeBlock TAI_XUAN_JING_SYMBOLS
public static final Character.UnicodeBlock MATHEMATICAL_ALPHANUMERIC_SYMBOLS
public static final Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B
public static final Character.UnicodeBlock CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT
public static final Character.UnicodeBlock TAGS
public static final Character.UnicodeBlock VARIATION_SELECTORS_SUPPLEMENT
public static final Character.UnicodeBlock SUPPLEMENTARY_PRIVATE_USE_AREA_A
public static final Character.UnicodeBlock SUPPLEMENTARY_PRIVATE_USE_AREA_B
public static final Character.UnicodeBlock HIGH_SURROGATES
public static final Character.UnicodeBlock HIGH_PRIVATE_USE_SURROGATES
public static final Character.UnicodeBlock LOW_SURROGATES
public static final Character.UnicodeBlock ARABIC_SUPPLEMENT
public static final Character.UnicodeBlock NKO
public static final Character.UnicodeBlock SAMARITAN
public static final Character.UnicodeBlock MANDAIC
public static final Character.UnicodeBlock ETHIOPIC_SUPPLEMENT
public static final Character.UnicodeBlock UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED
public static final Character.UnicodeBlock NEW_TAI_LUE
public static final Character.UnicodeBlock BUGINESE
public static final Character.UnicodeBlock TAI_THAM
public static final Character.UnicodeBlock BALINESE
public static final Character.UnicodeBlock SUNDANESE
public static final Character.UnicodeBlock BATAK
public static final Character.UnicodeBlock LEPCHA
public static final Character.UnicodeBlock OL_CHIKI
public static final Character.UnicodeBlock VEDIC_EXTENSIONS
public static final Character.UnicodeBlock PHONETIC_EXTENSIONS_SUPPLEMENT
public static final Character.UnicodeBlock COMBINING_DIACRITICAL_MARKS_SUPPLEMENT
public static final Character.UnicodeBlock GLAGOLITIC
public static final Character.UnicodeBlock LATIN_EXTENDED_C
public static final Character.UnicodeBlock COPTIC
public static final Character.UnicodeBlock GEORGIAN_SUPPLEMENT
public static final Character.UnicodeBlock TIFINAGH
public static final Character.UnicodeBlock ETHIOPIC_EXTENDED
public static final Character.UnicodeBlock CYRILLIC_EXTENDED_A
public static final Character.UnicodeBlock SUPPLEMENTAL_PUNCTUATION
public static final Character.UnicodeBlock CJK_STROKES
public static final Character.UnicodeBlock LISU
public static final Character.UnicodeBlock VAI
public static final Character.UnicodeBlock CYRILLIC_EXTENDED_B
public static final Character.UnicodeBlock BAMUM
public static final Character.UnicodeBlock MODIFIER_TONE_LETTERS
public static final Character.UnicodeBlock LATIN_EXTENDED_D
public static final Character.UnicodeBlock SYLOTI_NAGRI
public static final Character.UnicodeBlock COMMON_INDIC_NUMBER_FORMS
public static final Character.UnicodeBlock PHAGS_PA
public static final Character.UnicodeBlock SAURASHTRA
public static final Character.UnicodeBlock DEVANAGARI_EXTENDED
public static final Character.UnicodeBlock KAYAH_LI
public static final Character.UnicodeBlock REJANG
public static final Character.UnicodeBlock HANGUL_JAMO_EXTENDED_A
public static final Character.UnicodeBlock JAVANESE
public static final Character.UnicodeBlock CHAM
public static final Character.UnicodeBlock MYANMAR_EXTENDED_A
public static final Character.UnicodeBlock TAI_VIET
public static final Character.UnicodeBlock ETHIOPIC_EXTENDED_A
public static final Character.UnicodeBlock MEETEI_MAYEK
public static final Character.UnicodeBlock HANGUL_JAMO_EXTENDED_B
public static final Character.UnicodeBlock VERTICAL_FORMS
public static final Character.UnicodeBlock ANCIENT_GREEK_NUMBERS
public static final Character.UnicodeBlock ANCIENT_SYMBOLS
public static final Character.UnicodeBlock PHAISTOS_DISC
public static final Character.UnicodeBlock LYCIAN
public static final Character.UnicodeBlock CARIAN
public static final Character.UnicodeBlock OLD_PERSIAN
public static final Character.UnicodeBlock IMPERIAL_ARAMAIC
public static final Character.UnicodeBlock PHOENICIAN
public static final Character.UnicodeBlock LYDIAN
public static final Character.UnicodeBlock KHAROSHTHI
public static final Character.UnicodeBlock OLD_SOUTH_ARABIAN
public static final Character.UnicodeBlock AVESTAN
public static final Character.UnicodeBlock INSCRIPTIONAL_PARTHIAN
public static final Character.UnicodeBlock INSCRIPTIONAL_PAHLAVI
public static final Character.UnicodeBlock OLD_TURKIC
public static final Character.UnicodeBlock RUMI_NUMERAL_SYMBOLS
public static final Character.UnicodeBlock BRAHMI
public static final Character.UnicodeBlock KAITHI
public static final Character.UnicodeBlock CUNEIFORM
public static final Character.UnicodeBlock CUNEIFORM_NUMBERS_AND_PUNCTUATION
public static final Character.UnicodeBlock EGYPTIAN_HIEROGLYPHS
public static final Character.UnicodeBlock BAMUM_SUPPLEMENT
public static final Character.UnicodeBlock KANA_SUPPLEMENT
public static final Character.UnicodeBlock ANCIENT_GREEK_MUSICAL_NOTATION
public static final Character.UnicodeBlock COUNTING_ROD_NUMERALS
public static final Character.UnicodeBlock MAHJONG_TILES
public static final Character.UnicodeBlock DOMINO_TILES
public static final Character.UnicodeBlock PLAYING_CARDS
public static final Character.UnicodeBlock ENCLOSED_ALPHANUMERIC_SUPPLEMENT
public static final Character.UnicodeBlock ENCLOSED_IDEOGRAPHIC_SUPPLEMENT
public static final Character.UnicodeBlock MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS
public static final Character.UnicodeBlock EMOTICONS
public static final Character.UnicodeBlock TRANSPORT_AND_MAP_SYMBOLS
public static final Character.UnicodeBlock ALCHEMICAL_SYMBOLS
public static final Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_C
public static final Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_D
public static final Character.UnicodeBlock ARABIC_EXTENDED_A
public static final Character.UnicodeBlock SUNDANESE_SUPPLEMENT
public static final Character.UnicodeBlock MEETEI_MAYEK_EXTENSIONS
public static final Character.UnicodeBlock MEROITIC_HIEROGLYPHS
public static final Character.UnicodeBlock MEROITIC_CURSIVE
public static final Character.UnicodeBlock SORA_SOMPENG
public static final Character.UnicodeBlock CHAKMA
public static final Character.UnicodeBlock SHARADA
public static final Character.UnicodeBlock TAKRI
public static final Character.UnicodeBlock MIAO
public static final Character.UnicodeBlock ARABIC_MATHEMATICAL_ALPHABETIC_SYMBOLS
public static Character.UnicodeBlock of(char c)
null
如果字符不是一个定义的块中的一员。
注意:此方法无法处理supplementary characters 。 要支持所有Unicode字符(包括补充字符),请使用of(int)
方法。
c
- 有问题的人物
UnicodeBlock
成员的Unicode块的
UnicodeBlock
实例,如果该字符不是任何Unicode块的成员,
null
public static Character.UnicodeBlock of(int codePoint)
null
如果字符是不限定的块中的一员。
codePoint
- 有问题的字符(Unicode代码点)。
UnicodeBlock
成员的Unicode块的
UnicodeBlock
实例,如果该字符不是任何Unicode块的成员,
null
IllegalArgumentException
- 如果指定的
codePoint
是无效的Unicode代码点。
Character.isValidCodePoint(int)
public static final Character.UnicodeBlock forName(String blockName)
Character
类指定其支持的标准版本。
此方法接受以下形式的块名称:
BASIC_LATIN
块。 此表单将使用下划线替换规范名称中的所有空格和连字符。 如果Unicode标准更改块名称,则将接受上一个和当前的名称。
blockName
- A
UnicodeBlock
名称。
UnicodeBlock
通过鉴定实例
blockName
IllegalArgumentException
- 如果
blockName
是无效的名称
NullPointerException
- 如果
blockName
为空
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, 2014, Oracle and/or its affiliates. All rights reserved.