Java™ Platform
Standard Ed. 8
compact1, compact2, compact3
java.lang

Class Character.UnicodeBlock

  • Enclosing class:
    Character


    public static final class Character.UnicodeBlock
    extends Character.Subset
    A family of character subsets representing the character blocks in the Unicode specification. Character blocks generally define characters used for a specific script or purpose. A character is contained by at most one Unicode block.
    Since:
    1.2
    • Field Detail

      • BASIC_LATIN

        public static final Character.UnicodeBlock BASIC_LATIN
        Constant for the "Basic Latin" Unicode character block.
        Since:
        1.2
      • LATIN_1_SUPPLEMENT

        public static final Character.UnicodeBlock LATIN_1_SUPPLEMENT
        Constant for the "Latin-1 Supplement" Unicode character block.
        Since:
        1.2
      • LATIN_EXTENDED_A

        public static final Character.UnicodeBlock LATIN_EXTENDED_A
        Constant for the "Latin Extended-A" Unicode character block.
        Since:
        1.2
      • LATIN_EXTENDED_B

        public static final Character.UnicodeBlock LATIN_EXTENDED_B
        Constant for the "Latin Extended-B" Unicode character block.
        Since:
        1.2
      • IPA_EXTENSIONS

        public static final Character.UnicodeBlock IPA_EXTENSIONS
        Constant for the "IPA Extensions" Unicode character block.
        Since:
        1.2
      • SPACING_MODIFIER_LETTERS

        public static final Character.UnicodeBlock SPACING_MODIFIER_LETTERS
        Constant for the "Spacing Modifier Letters" Unicode character block.
        Since:
        1.2
      • COMBINING_DIACRITICAL_MARKS

        public static final Character.UnicodeBlock COMBINING_DIACRITICAL_MARKS
        Constant for the "Combining Diacritical Marks" Unicode character block.
        Since:
        1.2
      • GREEK

        public static final Character.UnicodeBlock GREEK
        Constant for the "Greek and Coptic" Unicode character block.

        This block was previously known as the "Greek" block.

        Since:
        1.2
      • CYRILLIC

        public static final Character.UnicodeBlock CYRILLIC
        Constant for the "Cyrillic" Unicode character block.
        Since:
        1.2
      • ARMENIAN

        public static final Character.UnicodeBlock ARMENIAN
        Constant for the "Armenian" Unicode character block.
        Since:
        1.2
      • HEBREW

        public static final Character.UnicodeBlock HEBREW
        Constant for the "Hebrew" Unicode character block.
        Since:
        1.2
      • ARABIC

        public static final Character.UnicodeBlock ARABIC
        Constant for the "Arabic" Unicode character block.
        Since:
        1.2
      • DEVANAGARI

        public static final Character.UnicodeBlock DEVANAGARI
        Constant for the "Devanagari" Unicode character block.
        Since:
        1.2
      • BENGALI

        public static final Character.UnicodeBlock BENGALI
        Constant for the "Bengali" Unicode character block.
        Since:
        1.2
      • GURMUKHI

        public static final Character.UnicodeBlock GURMUKHI
        Constant for the "Gurmukhi" Unicode character block.
        Since:
        1.2
      • GUJARATI

        public static final Character.UnicodeBlock GUJARATI
        Constant for the "Gujarati" Unicode character block.
        Since:
        1.2
      • ORIYA

        public static final Character.UnicodeBlock ORIYA
        Constant for the "Oriya" Unicode character block.
        Since:
        1.2
      • TAMIL

        public static final Character.UnicodeBlock TAMIL
        Constant for the "Tamil" Unicode character block.
        Since:
        1.2
      • TELUGU

        public static final Character.UnicodeBlock TELUGU
        Constant for the "Telugu" Unicode character block.
        Since:
        1.2
      • KANNADA

        public static final Character.UnicodeBlock KANNADA
        Constant for the "Kannada" Unicode character block.
        Since:
        1.2
      • MALAYALAM

        public static final Character.UnicodeBlock MALAYALAM
        Constant for the "Malayalam" Unicode character block.
        Since:
        1.2
      • THAI

        public static final Character.UnicodeBlock THAI
        Constant for the "Thai" Unicode character block.
        Since:
        1.2
      • LAO

        public static final Character.UnicodeBlock LAO
        Constant for the "Lao" Unicode character block.
        Since:
        1.2
      • TIBETAN

        public static final Character.UnicodeBlock TIBETAN
        Constant for the "Tibetan" Unicode character block.
        Since:
        1.2
      • GEORGIAN

        public static final Character.UnicodeBlock GEORGIAN
        Constant for the "Georgian" Unicode character block.
        Since:
        1.2
      • HANGUL_JAMO

        public static final Character.UnicodeBlock HANGUL_JAMO
        Constant for the "Hangul Jamo" Unicode character block.
        Since:
        1.2
      • LATIN_EXTENDED_ADDITIONAL

        public static final Character.UnicodeBlock LATIN_EXTENDED_ADDITIONAL
        Constant for the "Latin Extended Additional" Unicode character block.
        Since:
        1.2
      • GREEK_EXTENDED

        public static final Character.UnicodeBlock GREEK_EXTENDED
        Constant for the "Greek Extended" Unicode character block.
        Since:
        1.2
      • GENERAL_PUNCTUATION

        public static final Character.UnicodeBlock GENERAL_PUNCTUATION
        Constant for the "General Punctuation" Unicode character block.
        Since:
        1.2
      • SUPERSCRIPTS_AND_SUBSCRIPTS

        public static final Character.UnicodeBlock SUPERSCRIPTS_AND_SUBSCRIPTS
        Constant for the "Superscripts and Subscripts" Unicode character block.
        Since:
        1.2
      • CURRENCY_SYMBOLS

        public static final Character.UnicodeBlock CURRENCY_SYMBOLS
        Constant for the "Currency Symbols" Unicode character block.
        Since:
        1.2
      • COMBINING_MARKS_FOR_SYMBOLS

        public static final Character.UnicodeBlock COMBINING_MARKS_FOR_SYMBOLS
        Constant for the "Combining Diacritical Marks for Symbols" Unicode character block.

        This block was previously known as "Combining Marks for Symbols".

        Since:
        1.2
      • LETTERLIKE_SYMBOLS

        public static final Character.UnicodeBlock LETTERLIKE_SYMBOLS
        Constant for the "Letterlike Symbols" Unicode character block.
        Since:
        1.2
      • NUMBER_FORMS

        public static final Character.UnicodeBlock NUMBER_FORMS
        Constant for the "Number Forms" Unicode character block.
        Since:
        1.2
      • ARROWS

        public static final Character.UnicodeBlock ARROWS
        Constant for the "Arrows" Unicode character block.
        Since:
        1.2
      • MATHEMATICAL_OPERATORS

        public static final Character.UnicodeBlock MATHEMATICAL_OPERATORS
        Constant for the "Mathematical Operators" Unicode character block.
        Since:
        1.2
      • MISCELLANEOUS_TECHNICAL

        public static final Character.UnicodeBlock MISCELLANEOUS_TECHNICAL
        Constant for the "Miscellaneous Technical" Unicode character block.
        Since:
        1.2
      • CONTROL_PICTURES

        public static final Character.UnicodeBlock CONTROL_PICTURES
        Constant for the "Control Pictures" Unicode character block.
        Since:
        1.2
      • OPTICAL_CHARACTER_RECOGNITION

        public static final Character.UnicodeBlock OPTICAL_CHARACTER_RECOGNITION
        Constant for the "Optical Character Recognition" Unicode character block.
        Since:
        1.2
      • ENCLOSED_ALPHANUMERICS

        public static final Character.UnicodeBlock ENCLOSED_ALPHANUMERICS
        Constant for the "Enclosed Alphanumerics" Unicode character block.
        Since:
        1.2
      • BOX_DRAWING

        public static final Character.UnicodeBlock BOX_DRAWING
        Constant for the "Box Drawing" Unicode character block.
        Since:
        1.2
      • BLOCK_ELEMENTS

        public static final Character.UnicodeBlock BLOCK_ELEMENTS
        Constant for the "Block Elements" Unicode character block.
        Since:
        1.2
      • GEOMETRIC_SHAPES

        public static final Character.UnicodeBlock GEOMETRIC_SHAPES
        Constant for the "Geometric Shapes" Unicode character block.
        Since:
        1.2
      • MISCELLANEOUS_SYMBOLS

        public static final Character.UnicodeBlock MISCELLANEOUS_SYMBOLS
        Constant for the "Miscellaneous Symbols" Unicode character block.
        Since:
        1.2
      • DINGBATS

        public static final Character.UnicodeBlock DINGBATS
        Constant for the "Dingbats" Unicode character block.
        Since:
        1.2
      • CJK_SYMBOLS_AND_PUNCTUATION

        public static final Character.UnicodeBlock CJK_SYMBOLS_AND_PUNCTUATION
        Constant for the "CJK Symbols and Punctuation" Unicode character block.
        Since:
        1.2
      • HIRAGANA

        public static final Character.UnicodeBlock HIRAGANA
        Constant for the "Hiragana" Unicode character block.
        Since:
        1.2
      • KATAKANA

        public static final Character.UnicodeBlock KATAKANA
        Constant for the "Katakana" Unicode character block.
        Since:
        1.2
      • BOPOMOFO

        public static final Character.UnicodeBlock BOPOMOFO
        Constant for the "Bopomofo" Unicode character block.
        Since:
        1.2
      • HANGUL_COMPATIBILITY_JAMO

        public static final Character.UnicodeBlock HANGUL_COMPATIBILITY_JAMO
        Constant for the "Hangul Compatibility Jamo" Unicode character block.
        Since:
        1.2
      • KANBUN

        public static final Character.UnicodeBlock KANBUN
        Constant for the "Kanbun" Unicode character block.
        Since:
        1.2
      • ENCLOSED_CJK_LETTERS_AND_MONTHS

        public static final Character.UnicodeBlock ENCLOSED_CJK_LETTERS_AND_MONTHS
        Constant for the "Enclosed CJK Letters and Months" Unicode character block.
        Since:
        1.2
      • CJK_COMPATIBILITY

        public static final Character.UnicodeBlock CJK_COMPATIBILITY
        Constant for the "CJK Compatibility" Unicode character block.
        Since:
        1.2
      • CJK_UNIFIED_IDEOGRAPHS

        public static final Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS
        Constant for the "CJK Unified Ideographs" Unicode character block.
        Since:
        1.2
      • HANGUL_SYLLABLES

        public static final Character.UnicodeBlock HANGUL_SYLLABLES
        Constant for the "Hangul Syllables" Unicode character block.
        Since:
        1.2
      • PRIVATE_USE_AREA

        public static final Character.UnicodeBlock PRIVATE_USE_AREA
        Constant for the "Private Use Area" Unicode character block.
        Since:
        1.2
      • CJK_COMPATIBILITY_IDEOGRAPHS

        public static final Character.UnicodeBlock CJK_COMPATIBILITY_IDEOGRAPHS
        Constant for the "CJK Compatibility Ideographs" Unicode character block.
        Since:
        1.2
      • ALPHABETIC_PRESENTATION_FORMS

        public static final Character.UnicodeBlock ALPHABETIC_PRESENTATION_FORMS
        Constant for the "Alphabetic Presentation Forms" Unicode character block.
        Since:
        1.2
      • ARABIC_PRESENTATION_FORMS_A

        public static final Character.UnicodeBlock ARABIC_PRESENTATION_FORMS_A
        Constant for the "Arabic Presentation Forms-A" Unicode character block.
        Since:
        1.2
      • COMBINING_HALF_MARKS

        public static final Character.UnicodeBlock COMBINING_HALF_MARKS
        Constant for the "Combining Half Marks" Unicode character block.
        Since:
        1.2
      • CJK_COMPATIBILITY_FORMS

        public static final Character.UnicodeBlock CJK_COMPATIBILITY_FORMS
        Constant for the "CJK Compatibility Forms" Unicode character block.
        Since:
        1.2
      • SMALL_FORM_VARIANTS

        public static final Character.UnicodeBlock SMALL_FORM_VARIANTS
        Constant for the "Small Form Variants" Unicode character block.
        Since:
        1.2
      • ARABIC_PRESENTATION_FORMS_B

        public static final Character.UnicodeBlock ARABIC_PRESENTATION_FORMS_B
        Constant for the "Arabic Presentation Forms-B" Unicode character block.
        Since:
        1.2
      • HALFWIDTH_AND_FULLWIDTH_FORMS

        public static final Character.UnicodeBlock HALFWIDTH_AND_FULLWIDTH_FORMS
        Constant for the "Halfwidth and Fullwidth Forms" Unicode character block.
        Since:
        1.2
      • SPECIALS

        public static final Character.UnicodeBlock SPECIALS
        Constant for the "Specials" Unicode character block.
        Since:
        1.2
      • SYRIAC

        public static final Character.UnicodeBlock SYRIAC
        Constant for the "Syriac" Unicode character block.
        Since:
        1.4
      • THAANA

        public static final Character.UnicodeBlock THAANA
        Constant for the "Thaana" Unicode character block.
        Since:
        1.4
      • SINHALA

        public static final Character.UnicodeBlock SINHALA
        Constant for the "Sinhala" Unicode character block.
        Since:
        1.4
      • MYANMAR

        public static final Character.UnicodeBlock MYANMAR
        Constant for the "Myanmar" Unicode character block.
        Since:
        1.4
      • ETHIOPIC

        public static final Character.UnicodeBlock ETHIOPIC
        Constant for the "Ethiopic" Unicode character block.
        Since:
        1.4
      • CHEROKEE

        public static final Character.UnicodeBlock CHEROKEE
        Constant for the "Cherokee" Unicode character block.
        Since:
        1.4
      • UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS

        public static final Character.UnicodeBlock UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS
        Constant for the "Unified Canadian Aboriginal Syllabics" Unicode character block.
        Since:
        1.4
      • OGHAM

        public static final Character.UnicodeBlock OGHAM
        Constant for the "Ogham" Unicode character block.
        Since:
        1.4
      • RUNIC

        public static final Character.UnicodeBlock RUNIC
        Constant for the "Runic" Unicode character block.
        Since:
        1.4
      • KHMER

        public static final Character.UnicodeBlock KHMER
        Constant for the "Khmer" Unicode character block.
        Since:
        1.4
      • MONGOLIAN

        public static final Character.UnicodeBlock MONGOLIAN
        Constant for the "Mongolian" Unicode character block.
        Since:
        1.4
      • BRAILLE_PATTERNS

        public static final Character.UnicodeBlock BRAILLE_PATTERNS
        Constant for the "Braille Patterns" Unicode character block.
        Since:
        1.4
      • CJK_RADICALS_SUPPLEMENT

        public static final Character.UnicodeBlock CJK_RADICALS_SUPPLEMENT
        Constant for the "CJK Radicals Supplement" Unicode character block.
        Since:
        1.4
      • KANGXI_RADICALS

        public static final Character.UnicodeBlock KANGXI_RADICALS
        Constant for the "Kangxi Radicals" Unicode character block.
        Since:
        1.4
      • IDEOGRAPHIC_DESCRIPTION_CHARACTERS

        public static final Character.UnicodeBlock IDEOGRAPHIC_DESCRIPTION_CHARACTERS
        Constant for the "Ideographic Description Characters" Unicode character block.
        Since:
        1.4
      • BOPOMOFO_EXTENDED

        public static final Character.UnicodeBlock BOPOMOFO_EXTENDED
        Constant for the "Bopomofo Extended" Unicode character block.
        Since:
        1.4
      • CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A

        public static final Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A
        Constant for the "CJK Unified Ideographs Extension A" Unicode character block.
        Since:
        1.4
      • YI_SYLLABLES

        public static final Character.UnicodeBlock YI_SYLLABLES
        Constant for the "Yi Syllables" Unicode character block.
        Since:
        1.4
      • YI_RADICALS

        public static final Character.UnicodeBlock YI_RADICALS
        Constant for the "Yi Radicals" Unicode character block.
        Since:
        1.4
      • CYRILLIC_SUPPLEMENTARY

        public static final Character.UnicodeBlock CYRILLIC_SUPPLEMENTARY
        Constant for the "Cyrillic Supplementary" Unicode character block.
        Since:
        1.5
      • TAGALOG

        public static final Character.UnicodeBlock TAGALOG
        Constant for the "Tagalog" Unicode character block.
        Since:
        1.5
      • HANUNOO

        public static final Character.UnicodeBlock HANUNOO
        Constant for the "Hanunoo" Unicode character block.
        Since:
        1.5
      • BUHID

        public static final Character.UnicodeBlock BUHID
        Constant for the "Buhid" Unicode character block.
        Since:
        1.5
      • TAGBANWA

        public static final Character.UnicodeBlock TAGBANWA
        Constant for the "Tagbanwa" Unicode character block.
        Since:
        1.5
      • LIMBU

        public static final Character.UnicodeBlock LIMBU
        Constant for the "Limbu" Unicode character block.
        Since:
        1.5
      • TAI_LE

        public static final Character.UnicodeBlock TAI_LE
        Constant for the "Tai Le" Unicode character block.
        Since:
        1.5
      • KHMER_SYMBOLS

        public static final Character.UnicodeBlock KHMER_SYMBOLS
        Constant for the "Khmer Symbols" Unicode character block.
        Since:
        1.5
      • PHONETIC_EXTENSIONS

        public static final Character.UnicodeBlock PHONETIC_EXTENSIONS
        Constant for the "Phonetic Extensions" Unicode character block.
        Since:
        1.5
      • MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A

        public static final Character.UnicodeBlock MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A
        Constant for the "Miscellaneous Mathematical Symbols-A" Unicode character block.
        Since:
        1.5
      • SUPPLEMENTAL_ARROWS_A

        public static final Character.UnicodeBlock SUPPLEMENTAL_ARROWS_A
        Constant for the "Supplemental Arrows-A" Unicode character block.
        Since:
        1.5
      • SUPPLEMENTAL_ARROWS_B

        public static final Character.UnicodeBlock SUPPLEMENTAL_ARROWS_B
        Constant for the "Supplemental Arrows-B" Unicode character block.
        Since:
        1.5
      • MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B

        public static final Character.UnicodeBlock MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B
        Constant for the "Miscellaneous Mathematical Symbols-B" Unicode character block.
        Since:
        1.5
      • SUPPLEMENTAL_MATHEMATICAL_OPERATORS

        public static final Character.UnicodeBlock SUPPLEMENTAL_MATHEMATICAL_OPERATORS
        Constant for the "Supplemental Mathematical Operators" Unicode character block.
        Since:
        1.5
      • MISCELLANEOUS_SYMBOLS_AND_ARROWS

        public static final Character.UnicodeBlock MISCELLANEOUS_SYMBOLS_AND_ARROWS
        Constant for the "Miscellaneous Symbols and Arrows" Unicode character block.
        Since:
        1.5
      • KATAKANA_PHONETIC_EXTENSIONS

        public static final Character.UnicodeBlock KATAKANA_PHONETIC_EXTENSIONS
        Constant for the "Katakana Phonetic Extensions" Unicode character block.
        Since:
        1.5
      • YIJING_HEXAGRAM_SYMBOLS

        public static final Character.UnicodeBlock YIJING_HEXAGRAM_SYMBOLS
        Constant for the "Yijing Hexagram Symbols" Unicode character block.
        Since:
        1.5
      • VARIATION_SELECTORS

        public static final Character.UnicodeBlock VARIATION_SELECTORS
        Constant for the "Variation Selectors" Unicode character block.
        Since:
        1.5
      • LINEAR_B_SYLLABARY

        public static final Character.UnicodeBlock LINEAR_B_SYLLABARY
        Constant for the "Linear B Syllabary" Unicode character block.
        Since:
        1.5
      • LINEAR_B_IDEOGRAMS

        public static final Character.UnicodeBlock LINEAR_B_IDEOGRAMS
        Constant for the "Linear B Ideograms" Unicode character block.
        Since:
        1.5
      • AEGEAN_NUMBERS

        public static final Character.UnicodeBlock AEGEAN_NUMBERS
        Constant for the "Aegean Numbers" Unicode character block.
        Since:
        1.5
      • OLD_ITALIC

        public static final Character.UnicodeBlock OLD_ITALIC
        Constant for the "Old Italic" Unicode character block.
        Since:
        1.5
      • GOTHIC

        public static final Character.UnicodeBlock GOTHIC
        Constant for the "Gothic" Unicode character block.
        Since:
        1.5
      • UGARITIC

        public static final Character.UnicodeBlock UGARITIC
        Constant for the "Ugaritic" Unicode character block.
        Since:
        1.5
      • DESERET

        public static final Character.UnicodeBlock DESERET
        Constant for the "Deseret" Unicode character block.
        Since:
        1.5
      • SHAVIAN

        public static final Character.UnicodeBlock SHAVIAN
        Constant for the "Shavian" Unicode character block.
        Since:
        1.5
      • OSMANYA

        public static final Character.UnicodeBlock OSMANYA
        Constant for the "Osmanya" Unicode character block.
        Since:
        1.5
      • CYPRIOT_SYLLABARY

        public static final Character.UnicodeBlock CYPRIOT_SYLLABARY
        Constant for the "Cypriot Syllabary" Unicode character block.
        Since:
        1.5
      • BYZANTINE_MUSICAL_SYMBOLS

        public static final Character.UnicodeBlock BYZANTINE_MUSICAL_SYMBOLS
        Constant for the "Byzantine Musical Symbols" Unicode character block.
        Since:
        1.5
      • MUSICAL_SYMBOLS

        public static final Character.UnicodeBlock MUSICAL_SYMBOLS
        Constant for the "Musical Symbols" Unicode character block.
        Since:
        1.5
      • TAI_XUAN_JING_SYMBOLS

        public static final Character.UnicodeBlock TAI_XUAN_JING_SYMBOLS
        Constant for the "Tai Xuan Jing Symbols" Unicode character block.
        Since:
        1.5
      • MATHEMATICAL_ALPHANUMERIC_SYMBOLS

        public static final Character.UnicodeBlock MATHEMATICAL_ALPHANUMERIC_SYMBOLS
        Constant for the "Mathematical Alphanumeric Symbols" Unicode character block.
        Since:
        1.5
      • CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B

        public static final Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B
        Constant for the "CJK Unified Ideographs Extension B" Unicode character block.
        Since:
        1.5
      • CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT

        public static final Character.UnicodeBlock CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT
        Constant for the "CJK Compatibility Ideographs Supplement" Unicode character block.
        Since:
        1.5
      • TAGS

        public static final Character.UnicodeBlock TAGS
        Constant for the "Tags" Unicode character block.
        Since:
        1.5
      • VARIATION_SELECTORS_SUPPLEMENT

        public static final Character.UnicodeBlock VARIATION_SELECTORS_SUPPLEMENT
        Constant for the "Variation Selectors Supplement" Unicode character block.
        Since:
        1.5
      • SUPPLEMENTARY_PRIVATE_USE_AREA_A

        public static final Character.UnicodeBlock SUPPLEMENTARY_PRIVATE_USE_AREA_A
        Constant for the "Supplementary Private Use Area-A" Unicode character block.
        Since:
        1.5
      • SUPPLEMENTARY_PRIVATE_USE_AREA_B

        public static final Character.UnicodeBlock SUPPLEMENTARY_PRIVATE_USE_AREA_B
        Constant for the "Supplementary Private Use Area-B" Unicode character block.
        Since:
        1.5
      • HIGH_SURROGATES

        public static final Character.UnicodeBlock HIGH_SURROGATES
        Constant for the "High Surrogates" Unicode character block. This block represents codepoint values in the high surrogate range: U+D800 through U+DB7F
        Since:
        1.5
      • HIGH_PRIVATE_USE_SURROGATES

        public static final Character.UnicodeBlock HIGH_PRIVATE_USE_SURROGATES
        Constant for the "High Private Use Surrogates" Unicode character block. This block represents codepoint values in the private use high surrogate range: U+DB80 through U+DBFF
        Since:
        1.5
      • LOW_SURROGATES

        public static final Character.UnicodeBlock LOW_SURROGATES
        Constant for the "Low Surrogates" Unicode character block. This block represents codepoint values in the low surrogate range: U+DC00 through U+DFFF
        Since:
        1.5
      • ARABIC_SUPPLEMENT

        public static final Character.UnicodeBlock ARABIC_SUPPLEMENT
        Constant for the "Arabic Supplement" Unicode character block.
        Since:
        1.7
      • NKO

        public static final Character.UnicodeBlock NKO
        Constant for the "NKo" Unicode character block.
        Since:
        1.7
      • SAMARITAN

        public static final Character.UnicodeBlock SAMARITAN
        Constant for the "Samaritan" Unicode character block.
        Since:
        1.7
      • MANDAIC

        public static final Character.UnicodeBlock MANDAIC
        Constant for the "Mandaic" Unicode character block.
        Since:
        1.7
      • ETHIOPIC_SUPPLEMENT

        public static final Character.UnicodeBlock ETHIOPIC_SUPPLEMENT
        Constant for the "Ethiopic Supplement" Unicode character block.
        Since:
        1.7
      • UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED

        public static final Character.UnicodeBlock UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED
        Constant for the "Unified Canadian Aboriginal Syllabics Extended" Unicode character block.
        Since:
        1.7
      • NEW_TAI_LUE

        public static final Character.UnicodeBlock NEW_TAI_LUE
        Constant for the "New Tai Lue" Unicode character block.
        Since:
        1.7
      • BUGINESE

        public static final Character.UnicodeBlock BUGINESE
        Constant for the "Buginese" Unicode character block.
        Since:
        1.7
      • TAI_THAM

        public static final Character.UnicodeBlock TAI_THAM
        Constant for the "Tai Tham" Unicode character block.
        Since:
        1.7
      • BALINESE

        public static final Character.UnicodeBlock BALINESE
        Constant for the "Balinese" Unicode character block.
        Since:
        1.7
      • SUNDANESE

        public static final Character.UnicodeBlock SUNDANESE
        Constant for the "Sundanese" Unicode character block.
        Since:
        1.7
      • BATAK

        public static final Character.UnicodeBlock BATAK
        Constant for the "Batak" Unicode character block.
        Since:
        1.7
      • LEPCHA

        public static final Character.UnicodeBlock LEPCHA
        Constant for the "Lepcha" Unicode character block.
        Since:
        1.7
      • OL_CHIKI

        public static final Character.UnicodeBlock OL_CHIKI
        Constant for the "Ol Chiki" Unicode character block.
        Since:
        1.7
      • VEDIC_EXTENSIONS

        public static final Character.UnicodeBlock VEDIC_EXTENSIONS
        Constant for the "Vedic Extensions" Unicode character block.
        Since:
        1.7
      • PHONETIC_EXTENSIONS_SUPPLEMENT

        public static final Character.UnicodeBlock PHONETIC_EXTENSIONS_SUPPLEMENT
        Constant for the "Phonetic Extensions Supplement" Unicode character block.
        Since:
        1.7
      • COMBINING_DIACRITICAL_MARKS_SUPPLEMENT

        public static final Character.UnicodeBlock COMBINING_DIACRITICAL_MARKS_SUPPLEMENT
        Constant for the "Combining Diacritical Marks Supplement" Unicode character block.
        Since:
        1.7
      • GLAGOLITIC

        public static final Character.UnicodeBlock GLAGOLITIC
        Constant for the "Glagolitic" Unicode character block.
        Since:
        1.7
      • LATIN_EXTENDED_C

        public static final Character.UnicodeBlock LATIN_EXTENDED_C
        Constant for the "Latin Extended-C" Unicode character block.
        Since:
        1.7
      • COPTIC

        public static final Character.UnicodeBlock COPTIC
        Constant for the "Coptic" Unicode character block.
        Since:
        1.7
      • GEORGIAN_SUPPLEMENT

        public static final Character.UnicodeBlock GEORGIAN_SUPPLEMENT
        Constant for the "Georgian Supplement" Unicode character block.
        Since:
        1.7
      • TIFINAGH

        public static final Character.UnicodeBlock TIFINAGH
        Constant for the "Tifinagh" Unicode character block.
        Since:
        1.7
      • ETHIOPIC_EXTENDED

        public static final Character.UnicodeBlock ETHIOPIC_EXTENDED
        Constant for the "Ethiopic Extended" Unicode character block.
        Since:
        1.7
      • CYRILLIC_EXTENDED_A

        public static final Character.UnicodeBlock CYRILLIC_EXTENDED_A
        Constant for the "Cyrillic Extended-A" Unicode character block.
        Since:
        1.7
      • SUPPLEMENTAL_PUNCTUATION

        public static final Character.UnicodeBlock SUPPLEMENTAL_PUNCTUATION
        Constant for the "Supplemental Punctuation" Unicode character block.
        Since:
        1.7
      • CJK_STROKES

        public static final Character.UnicodeBlock CJK_STROKES
        Constant for the "CJK Strokes" Unicode character block.
        Since:
        1.7
      • LISU

        public static final Character.UnicodeBlock LISU
        Constant for the "Lisu" Unicode character block.
        Since:
        1.7
      • VAI

        public static final Character.UnicodeBlock VAI
        Constant for the "Vai" Unicode character block.
        Since:
        1.7
      • CYRILLIC_EXTENDED_B

        public static final Character.UnicodeBlock CYRILLIC_EXTENDED_B
        Constant for the "Cyrillic Extended-B" Unicode character block.
        Since:
        1.7
      • BAMUM

        public static final Character.UnicodeBlock BAMUM
        Constant for the "Bamum" Unicode character block.
        Since:
        1.7
      • MODIFIER_TONE_LETTERS

        public static final Character.UnicodeBlock MODIFIER_TONE_LETTERS
        Constant for the "Modifier Tone Letters" Unicode character block.
        Since:
        1.7
      • LATIN_EXTENDED_D

        public static final Character.UnicodeBlock LATIN_EXTENDED_D
        Constant for the "Latin Extended-D" Unicode character block.
        Since:
        1.7
      • SYLOTI_NAGRI

        public static final Character.UnicodeBlock SYLOTI_NAGRI
        Constant for the "Syloti Nagri" Unicode character block.
        Since:
        1.7
      • COMMON_INDIC_NUMBER_FORMS

        public static final Character.UnicodeBlock COMMON_INDIC_NUMBER_FORMS
        Constant for the "Common Indic Number Forms" Unicode character block.
        Since:
        1.7
      • PHAGS_PA

        public static final Character.UnicodeBlock PHAGS_PA
        Constant for the "Phags-pa" Unicode character block.
        Since:
        1.7
      • SAURASHTRA

        public static final Character.UnicodeBlock SAURASHTRA
        Constant for the "Saurashtra" Unicode character block.
        Since:
        1.7
      • DEVANAGARI_EXTENDED

        public static final Character.UnicodeBlock DEVANAGARI_EXTENDED
        Constant for the "Devanagari Extended" Unicode character block.
        Since:
        1.7
      • KAYAH_LI

        public static final Character.UnicodeBlock KAYAH_LI
        Constant for the "Kayah Li" Unicode character block.
        Since:
        1.7
      • REJANG

        public static final Character.UnicodeBlock REJANG
        Constant for the "Rejang" Unicode character block.
        Since:
        1.7
      • HANGUL_JAMO_EXTENDED_A

        public static final Character.UnicodeBlock HANGUL_JAMO_EXTENDED_A
        Constant for the "Hangul Jamo Extended-A" Unicode character block.
        Since:
        1.7
      • JAVANESE

        public static final Character.UnicodeBlock JAVANESE
        Constant for the "Javanese" Unicode character block.
        Since:
        1.7
      • CHAM

        public static final Character.UnicodeBlock CHAM
        Constant for the "Cham" Unicode character block.
        Since:
        1.7
      • MYANMAR_EXTENDED_A

        public static final Character.UnicodeBlock MYANMAR_EXTENDED_A
        Constant for the "Myanmar Extended-A" Unicode character block.
        Since:
        1.7
      • TAI_VIET

        public static final Character.UnicodeBlock TAI_VIET
        Constant for the "Tai Viet" Unicode character block.
        Since:
        1.7
      • ETHIOPIC_EXTENDED_A

        public static final Character.UnicodeBlock ETHIOPIC_EXTENDED_A
        Constant for the "Ethiopic Extended-A" Unicode character block.
        Since:
        1.7
      • MEETEI_MAYEK

        public static final Character.UnicodeBlock MEETEI_MAYEK
        Constant for the "Meetei Mayek" Unicode character block.
        Since:
        1.7
      • HANGUL_JAMO_EXTENDED_B

        public static final Character.UnicodeBlock HANGUL_JAMO_EXTENDED_B
        Constant for the "Hangul Jamo Extended-B" Unicode character block.
        Since:
        1.7
      • VERTICAL_FORMS

        public static final Character.UnicodeBlock VERTICAL_FORMS
        Constant for the "Vertical Forms" Unicode character block.
        Since:
        1.7
      • ANCIENT_GREEK_NUMBERS

        public static final Character.UnicodeBlock ANCIENT_GREEK_NUMBERS
        Constant for the "Ancient Greek Numbers" Unicode character block.
        Since:
        1.7
      • ANCIENT_SYMBOLS

        public static final Character.UnicodeBlock ANCIENT_SYMBOLS
        Constant for the "Ancient Symbols" Unicode character block.
        Since:
        1.7
      • PHAISTOS_DISC

        public static final Character.UnicodeBlock PHAISTOS_DISC
        Constant for the "Phaistos Disc" Unicode character block.
        Since:
        1.7
      • LYCIAN

        public static final Character.UnicodeBlock LYCIAN
        Constant for the "Lycian" Unicode character block.
        Since:
        1.7
      • CARIAN

        public static final Character.UnicodeBlock CARIAN
        Constant for the "Carian" Unicode character block.
        Since:
        1.7
      • OLD_PERSIAN

        public static final Character.UnicodeBlock OLD_PERSIAN
        Constant for the "Old Persian" Unicode character block.
        Since:
        1.7
      • IMPERIAL_ARAMAIC

        public static final Character.UnicodeBlock IMPERIAL_ARAMAIC
        Constant for the "Imperial Aramaic" Unicode character block.
        Since:
        1.7
      • PHOENICIAN

        public static final Character.UnicodeBlock PHOENICIAN
        Constant for the "Phoenician" Unicode character block.
        Since:
        1.7
      • LYDIAN

        public static final Character.UnicodeBlock LYDIAN
        Constant for the "Lydian" Unicode character block.
        Since:
        1.7
      • KHAROSHTHI

        public static final Character.UnicodeBlock KHAROSHTHI
        Constant for the "Kharoshthi" Unicode character block.
        Since:
        1.7
      • OLD_SOUTH_ARABIAN

        public static final Character.UnicodeBlock OLD_SOUTH_ARABIAN
        Constant for the "Old South Arabian" Unicode character block.
        Since:
        1.7
      • AVESTAN

        public static final Character.UnicodeBlock AVESTAN
        Constant for the "Avestan" Unicode character block.
        Since:
        1.7
      • INSCRIPTIONAL_PARTHIAN

        public static final Character.UnicodeBlock INSCRIPTIONAL_PARTHIAN
        Constant for the "Inscriptional Parthian" Unicode character block.
        Since:
        1.7
      • INSCRIPTIONAL_PAHLAVI

        public static final Character.UnicodeBlock INSCRIPTIONAL_PAHLAVI
        Constant for the "Inscriptional Pahlavi" Unicode character block.
        Since:
        1.7
      • OLD_TURKIC

        public static final Character.UnicodeBlock OLD_TURKIC
        Constant for the "Old Turkic" Unicode character block.
        Since:
        1.7
      • RUMI_NUMERAL_SYMBOLS

        public static final Character.UnicodeBlock RUMI_NUMERAL_SYMBOLS
        Constant for the "Rumi Numeral Symbols" Unicode character block.
        Since:
        1.7
      • BRAHMI

        public static final Character.UnicodeBlock BRAHMI
        Constant for the "Brahmi" Unicode character block.
        Since:
        1.7
      • KAITHI

        public static final Character.UnicodeBlock KAITHI
        Constant for the "Kaithi" Unicode character block.
        Since:
        1.7
      • CUNEIFORM

        public static final Character.UnicodeBlock CUNEIFORM
        Constant for the "Cuneiform" Unicode character block.
        Since:
        1.7
      • CUNEIFORM_NUMBERS_AND_PUNCTUATION

        public static final Character.UnicodeBlock CUNEIFORM_NUMBERS_AND_PUNCTUATION
        Constant for the "Cuneiform Numbers and Punctuation" Unicode character block.
        Since:
        1.7
      • EGYPTIAN_HIEROGLYPHS

        public static final Character.UnicodeBlock EGYPTIAN_HIEROGLYPHS
        Constant for the "Egyptian Hieroglyphs" Unicode character block.
        Since:
        1.7
      • BAMUM_SUPPLEMENT

        public static final Character.UnicodeBlock BAMUM_SUPPLEMENT
        Constant for the "Bamum Supplement" Unicode character block.
        Since:
        1.7
      • KANA_SUPPLEMENT

        public static final Character.UnicodeBlock KANA_SUPPLEMENT
        Constant for the "Kana Supplement" Unicode character block.
        Since:
        1.7
      • ANCIENT_GREEK_MUSICAL_NOTATION

        public static final Character.UnicodeBlock ANCIENT_GREEK_MUSICAL_NOTATION
        Constant for the "Ancient Greek Musical Notation" Unicode character block.
        Since:
        1.7
      • COUNTING_ROD_NUMERALS

        public static final Character.UnicodeBlock COUNTING_ROD_NUMERALS
        Constant for the "Counting Rod Numerals" Unicode character block.
        Since:
        1.7
      • MAHJONG_TILES

        public static final Character.UnicodeBlock MAHJONG_TILES
        Constant for the "Mahjong Tiles" Unicode character block.
        Since:
        1.7
      • DOMINO_TILES

        public static final Character.UnicodeBlock DOMINO_TILES
        Constant for the "Domino Tiles" Unicode character block.
        Since:
        1.7
      • PLAYING_CARDS

        public static final Character.UnicodeBlock PLAYING_CARDS
        Constant for the "Playing Cards" Unicode character block.
        Since:
        1.7
      • ENCLOSED_ALPHANUMERIC_SUPPLEMENT

        public static final Character.UnicodeBlock ENCLOSED_ALPHANUMERIC_SUPPLEMENT
        Constant for the "Enclosed Alphanumeric Supplement" Unicode character block.
        Since:
        1.7
      • ENCLOSED_IDEOGRAPHIC_SUPPLEMENT

        public static final Character.UnicodeBlock ENCLOSED_IDEOGRAPHIC_SUPPLEMENT
        Constant for the "Enclosed Ideographic Supplement" Unicode character block.
        Since:
        1.7
      • MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS

        public static final Character.UnicodeBlock MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS
        Constant for the "Miscellaneous Symbols And Pictographs" Unicode character block.
        Since:
        1.7
      • EMOTICONS

        public static final Character.UnicodeBlock EMOTICONS
        Constant for the "Emoticons" Unicode character block.
        Since:
        1.7
      • TRANSPORT_AND_MAP_SYMBOLS

        public static final Character.UnicodeBlock TRANSPORT_AND_MAP_SYMBOLS
        Constant for the "Transport And Map Symbols" Unicode character block.
        Since:
        1.7
      • ALCHEMICAL_SYMBOLS

        public static final Character.UnicodeBlock ALCHEMICAL_SYMBOLS
        Constant for the "Alchemical Symbols" Unicode character block.
        Since:
        1.7
      • CJK_UNIFIED_IDEOGRAPHS_EXTENSION_C

        public static final Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_C
        Constant for the "CJK Unified Ideographs Extension C" Unicode character block.
        Since:
        1.7
      • CJK_UNIFIED_IDEOGRAPHS_EXTENSION_D

        public static final Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_D
        Constant for the "CJK Unified Ideographs Extension D" Unicode character block.
        Since:
        1.7
      • ARABIC_EXTENDED_A

        public static final Character.UnicodeBlock ARABIC_EXTENDED_A
        Constant for the "Arabic Extended-A" Unicode character block.
        Since:
        1.8
      • SUNDANESE_SUPPLEMENT

        public static final Character.UnicodeBlock SUNDANESE_SUPPLEMENT
        Constant for the "Sundanese Supplement" Unicode character block.
        Since:
        1.8
      • MEETEI_MAYEK_EXTENSIONS

        public static final Character.UnicodeBlock MEETEI_MAYEK_EXTENSIONS
        Constant for the "Meetei Mayek Extensions" Unicode character block.
        Since:
        1.8
      • MEROITIC_HIEROGLYPHS

        public static final Character.UnicodeBlock MEROITIC_HIEROGLYPHS
        Constant for the "Meroitic Hieroglyphs" Unicode character block.
        Since:
        1.8
      • MEROITIC_CURSIVE

        public static final Character.UnicodeBlock MEROITIC_CURSIVE
        Constant for the "Meroitic Cursive" Unicode character block.
        Since:
        1.8
      • SORA_SOMPENG

        public static final Character.UnicodeBlock SORA_SOMPENG
        Constant for the "Sora Sompeng" Unicode character block.
        Since:
        1.8
      • CHAKMA

        public static final Character.UnicodeBlock CHAKMA
        Constant for the "Chakma" Unicode character block.
        Since:
        1.8
      • SHARADA

        public static final Character.UnicodeBlock SHARADA
        Constant for the "Sharada" Unicode character block.
        Since:
        1.8
      • TAKRI

        public static final Character.UnicodeBlock TAKRI
        Constant for the "Takri" Unicode character block.
        Since:
        1.8
      • MIAO

        public static final Character.UnicodeBlock MIAO
        Constant for the "Miao" Unicode character block.
        Since:
        1.8
      • ARABIC_MATHEMATICAL_ALPHABETIC_SYMBOLS

        public static final Character.UnicodeBlock ARABIC_MATHEMATICAL_ALPHABETIC_SYMBOLS
        Constant for the "Arabic Mathematical Alphabetic Symbols" Unicode character block.
        Since:
        1.8
    • Method Detail

      • of

        public static Character.UnicodeBlock of(char c)
        Returns the object representing the Unicode block containing the given character, or null if the character is not a member of a defined block.

        Note: This method cannot handle supplementary characters. To support all Unicode characters, including supplementary characters, use the of(int) method.

        Parameters:
        c - The character in question
        Returns:
        The UnicodeBlock instance representing the Unicode block of which this character is a member, or null if the character is not a member of any Unicode block
      • of

        public static Character.UnicodeBlock of(int codePoint)
        Returns the object representing the Unicode block containing the given character (Unicode code point), or null if the character is not a member of a defined block.
        Parameters:
        codePoint - the character (Unicode code point) in question.
        Returns:
        The UnicodeBlock instance representing the Unicode block of which this character is a member, or null if the character is not a member of any Unicode block
        Throws:
        IllegalArgumentException - if the specified codePoint is an invalid Unicode code point.
        Since:
        1.5
        See Also:
        Character.isValidCodePoint(int)
      • forName

        public static final Character.UnicodeBlock forName(String blockName)
        Returns the UnicodeBlock with the given name. Block names are determined by The Unicode Standard. The file Blocks-<version>.txt defines blocks for a particular version of the standard. The Character class specifies the version of the standard that it supports.

        This method accepts block names in the following forms:

        1. Canonical block names as defined by the Unicode Standard. For example, the standard defines a "Basic Latin" block. Therefore, this method accepts "Basic Latin" as a valid block name. The documentation of each UnicodeBlock provides the canonical name.
        2. Canonical block names with all spaces removed. For example, "BasicLatin" is a valid block name for the "Basic Latin" block.
        3. The text representation of each constant UnicodeBlock identifier. For example, this method will return the BASIC_LATIN block if provided with the "BASIC_LATIN" name. This form replaces all spaces and hyphens in the canonical name with underscores.
        Finally, character case is ignored for all of the valid block name forms. For example, "BASIC_LATIN" and "basic_latin" are both valid block names. The en_US locale's case mapping rules are used to provide case-insensitive string comparisons for block name validation.

        If the Unicode Standard changes block names, both the previous and current names will be accepted.

        Parameters:
        blockName - A UnicodeBlock name.
        Returns:
        The UnicodeBlock instance identified by blockName
        Throws:
        IllegalArgumentException - if blockName is an invalid name
        NullPointerException - if blockName is null
        Since:
        1.5
Java™ Platform
Standard Ed. 8

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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部