Class: java.lang.Character.UnicodeBlock
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.
Inheritance
Superclass tree:- java.lang.Object
- java.lang.Character.Subset
- java.lang.Character.UnicodeBlock
Methods
-
forNametop
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:
- 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.
- Canonical block names with all spaces removed. For example, "BasicLatin" is a valid block name for the "Basic Latin" block.
- The text representation of each constant UnicodeBlock identifier. For example, this method will return the Character$UnicodeBlock.BASIC_LATIN block if provided with the "BASIC_LATIN" name. This form replaces all spaces and hyphens in the canonical name with underscores.
If the Unicode Standard changes block names, both the previous and current names will be accepted.
-
oftop
public static Character.UnicodeBlock of(char c)Returns the object representing the Unicode block containing the given character, ornullif 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 Character$UnicodeBlock.of(int) method.
-
oftop
public static Character.UnicodeBlock of(int codePoint)Returns the object representing the Unicode block containing the given character (Unicode code point), ornullif the character is not a member of a defined block.
Fields
-
AEGEAN_NUMBERS
public static final Character.UnicodeBlock AEGEAN_NUMBERSConstant for the "Aegean Numbers" Unicode character block. -
ALPHABETIC_PRESENTATION_FORMS
public static final Character.UnicodeBlock ALPHABETIC_PRESENTATION_FORMSConstant for the "Alphabetic Presentation Forms" Unicode character block. -
ARABIC
public static final Character.UnicodeBlock ARABICConstant for the "Arabic" Unicode character block. -
ARABIC_PRESENTATION_FORMS_A
public static final Character.UnicodeBlock ARABIC_PRESENTATION_FORMS_AConstant for the "Arabic Presentation Forms-A" Unicode character block. -
ARABIC_PRESENTATION_FORMS_B
public static final Character.UnicodeBlock ARABIC_PRESENTATION_FORMS_BConstant for the "Arabic Presentation Forms-B" Unicode character block. -
ARMENIAN
public static final Character.UnicodeBlock ARMENIANConstant for the "Armenian" Unicode character block. -
ARROWS
public static final Character.UnicodeBlock ARROWSConstant for the "Arrows" Unicode character block. -
BASIC_LATIN
public static final Character.UnicodeBlock BASIC_LATINConstant for the "Basic Latin" Unicode character block. -
BENGALI
public static final Character.UnicodeBlock BENGALIConstant for the "Bengali" Unicode character block. -
BLOCK_ELEMENTS
public static final Character.UnicodeBlock BLOCK_ELEMENTSConstant for the "Block Elements" Unicode character block. -
BOPOMOFO
public static final Character.UnicodeBlock BOPOMOFOConstant for the "Bopomofo" Unicode character block. -
BOPOMOFO_EXTENDED
public static final Character.UnicodeBlock BOPOMOFO_EXTENDEDConstant for the "Bopomofo Extended" Unicode character block. -
BOX_DRAWING
public static final Character.UnicodeBlock BOX_DRAWINGConstant for the "Box Drawing" Unicode character block. -
BRAILLE_PATTERNS
public static final Character.UnicodeBlock BRAILLE_PATTERNSConstant for the "Braille Patterns" Unicode character block. -
BUHID
public static final Character.UnicodeBlock BUHIDConstant for the "Buhid" Unicode character block. -
BYZANTINE_MUSICAL_SYMBOLS
public static final Character.UnicodeBlock BYZANTINE_MUSICAL_SYMBOLSConstant for the "Byzantine Musical Symbols" Unicode character block. -
CHEROKEE
public static final Character.UnicodeBlock CHEROKEEConstant for the "Cherokee" Unicode character block. -
CJK_COMPATIBILITY
public static final Character.UnicodeBlock CJK_COMPATIBILITYConstant for the "CJK Compatibility" Unicode character block. -
CJK_COMPATIBILITY_FORMS
public static final Character.UnicodeBlock CJK_COMPATIBILITY_FORMSConstant for the "CJK Compatibility Forms" Unicode character block. -
CJK_COMPATIBILITY_IDEOGRAPHS
public static final Character.UnicodeBlock CJK_COMPATIBILITY_IDEOGRAPHSConstant for the "CJK Compatibility Ideographs" Unicode character block. -
CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT
public static final Character.UnicodeBlock CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENTConstant for the "CJK Compatibility Ideographs Supplement" Unicode character block. -
CJK_RADICALS_SUPPLEMENT
public static final Character.UnicodeBlock CJK_RADICALS_SUPPLEMENTConstant for the "CJK Radicals Supplement" Unicode character block. -
CJK_SYMBOLS_AND_PUNCTUATION
public static final Character.UnicodeBlock CJK_SYMBOLS_AND_PUNCTUATIONConstant for the "CJK Symbols and Punctuation" Unicode character block. -
CJK_UNIFIED_IDEOGRAPHS
public static final Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHSConstant for the "CJK Unified Ideographs" Unicode character block. -
CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A
public static final Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_AConstant for the "CJK Unified Ideographs Extension A" Unicode character block. -
CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B
public static final Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_BConstant for the "CJK Unified Ideographs Extension B" Unicode character block. -
COMBINING_DIACRITICAL_MARKS
public static final Character.UnicodeBlock COMBINING_DIACRITICAL_MARKSConstant for the "Combining Diacritical Marks" Unicode character block. -
COMBINING_HALF_MARKS
public static final Character.UnicodeBlock COMBINING_HALF_MARKSConstant for the "Combining Half Marks" Unicode character block. -
COMBINING_MARKS_FOR_SYMBOLS
public static final Character.UnicodeBlock COMBINING_MARKS_FOR_SYMBOLSConstant for the "Combining Diacritical Marks for Symbols" Unicode character block.This block was previously known as "Combining Marks for Symbols".
-
CONTROL_PICTURES
public static final Character.UnicodeBlock CONTROL_PICTURESConstant for the "Control Pictures" Unicode character block. -
CURRENCY_SYMBOLS
public static final Character.UnicodeBlock CURRENCY_SYMBOLSConstant for the "Currency Symbols" Unicode character block. -
CYPRIOT_SYLLABARY
public static final Character.UnicodeBlock CYPRIOT_SYLLABARYConstant for the "Cypriot Syllabary" Unicode character block. -
CYRILLIC
public static final Character.UnicodeBlock CYRILLICConstant for the "Cyrillic" Unicode character block. -
CYRILLIC_SUPPLEMENTARY
public static final Character.UnicodeBlock CYRILLIC_SUPPLEMENTARYConstant for the "Cyrillic Supplementary" Unicode character block. -
DESERET
public static final Character.UnicodeBlock DESERETConstant for the "Deseret" Unicode character block. -
DEVANAGARI
public static final Character.UnicodeBlock DEVANAGARIConstant for the "Devanagari" Unicode character block. -
DINGBATS
public static final Character.UnicodeBlock DINGBATSConstant for the "Dingbats" Unicode character block. -
ENCLOSED_ALPHANUMERICS
public static final Character.UnicodeBlock ENCLOSED_ALPHANUMERICSConstant for the "Enclosed Alphanumerics" Unicode character block. -
ENCLOSED_CJK_LETTERS_AND_MONTHS
public static final Character.UnicodeBlock ENCLOSED_CJK_LETTERS_AND_MONTHSConstant for the "Enclosed CJK Letters and Months" Unicode character block. -
ETHIOPIC
public static final Character.UnicodeBlock ETHIOPICConstant for the "Ethiopic" Unicode character block. -
GENERAL_PUNCTUATION
public static final Character.UnicodeBlock GENERAL_PUNCTUATIONConstant for the "General Punctuation" Unicode character block. -
GEOMETRIC_SHAPES
public static final Character.UnicodeBlock GEOMETRIC_SHAPESConstant for the "Geometric Shapes" Unicode character block. -
GEORGIAN
public static final Character.UnicodeBlock GEORGIANConstant for the "Georgian" Unicode character block. -
GOTHIC
public static final Character.UnicodeBlock GOTHICConstant for the "Gothic" Unicode character block. -
GREEK
public static final Character.UnicodeBlock GREEKConstant for the "Greek and Coptic" Unicode character block.This block was previously known as the "Greek" block.
-
GREEK_EXTENDED
public static final Character.UnicodeBlock GREEK_EXTENDEDConstant for the "Greek Extended" Unicode character block. -
GUJARATI
public static final Character.UnicodeBlock GUJARATIConstant for the "Gujarati" Unicode character block. -
GURMUKHI
public static final Character.UnicodeBlock GURMUKHIConstant for the "Gurmukhi" Unicode character block. -
HALFWIDTH_AND_FULLWIDTH_FORMS
public static final Character.UnicodeBlock HALFWIDTH_AND_FULLWIDTH_FORMSConstant for the "Halfwidth and Fullwidth Forms" Unicode character block. -
HANGUL_COMPATIBILITY_JAMO
public static final Character.UnicodeBlock HANGUL_COMPATIBILITY_JAMOConstant for the "Hangul Compatibility Jamo" Unicode character block. -
HANGUL_JAMO
public static final Character.UnicodeBlock HANGUL_JAMOConstant for the "Hangul Jamo" Unicode character block. -
HANGUL_SYLLABLES
public static final Character.UnicodeBlock HANGUL_SYLLABLESConstant for the "Hangul Syllables" Unicode character block. -
HANUNOO
public static final Character.UnicodeBlock HANUNOOConstant for the "Hanunoo" Unicode character block. -
HEBREW
public static final Character.UnicodeBlock HEBREWConstant for the "Hebrew" Unicode character block. -
HIGH_PRIVATE_USE_SURROGATES
public static final Character.UnicodeBlock HIGH_PRIVATE_USE_SURROGATESConstant for the "High Private Use Surrogates" Unicode character block. This block represents codepoint values in the high surrogate range: 0xDB80 through 0xDBFF -
HIGH_SURROGATES
public static final Character.UnicodeBlock HIGH_SURROGATESConstant for the "High Surrogates" Unicode character block. This block represents codepoint values in the high surrogate range: 0xD800 through 0xDB7F -
HIRAGANA
public static final Character.UnicodeBlock HIRAGANAConstant for the "Hiragana" Unicode character block. -
IDEOGRAPHIC_DESCRIPTION_CHARACTERS
public static final Character.UnicodeBlock IDEOGRAPHIC_DESCRIPTION_CHARACTERSConstant for the "Ideographic Description Characters" Unicode character block. -
IPA_EXTENSIONS
public static final Character.UnicodeBlock IPA_EXTENSIONSConstant for the "IPA Extensions" Unicode character block. -
KANBUN
public static final Character.UnicodeBlock KANBUNConstant for the "Kanbun" Unicode character block. -
KANGXI_RADICALS
public static final Character.UnicodeBlock KANGXI_RADICALSConstant for the "Kangxi Radicals" Unicode character block. -
KANNADA
public static final Character.UnicodeBlock KANNADAConstant for the "Kannada" Unicode character block. -
KATAKANA
public static final Character.UnicodeBlock KATAKANAConstant for the "Katakana" Unicode character block. -
KATAKANA_PHONETIC_EXTENSIONS
public static final Character.UnicodeBlock KATAKANA_PHONETIC_EXTENSIONSConstant for the "Katakana Phonetic Extensions" Unicode character block. -
KHMER
public static final Character.UnicodeBlock KHMERConstant for the "Khmer" Unicode character block. -
KHMER_SYMBOLS
public static final Character.UnicodeBlock KHMER_SYMBOLSConstant for the "Khmer Symbols" Unicode character block. -
LAO
public static final Character.UnicodeBlock LAOConstant for the "Lao" Unicode character block. -
LATIN_1_SUPPLEMENT
public static final Character.UnicodeBlock LATIN_1_SUPPLEMENTConstant for the "Latin-1 Supplement" Unicode character block. -
LATIN_EXTENDED_A
public static final Character.UnicodeBlock LATIN_EXTENDED_AConstant for the "Latin Extended-A" Unicode character block. -
LATIN_EXTENDED_ADDITIONAL
public static final Character.UnicodeBlock LATIN_EXTENDED_ADDITIONALConstant for the "Latin Extended Additional" Unicode character block. -
LATIN_EXTENDED_B
public static final Character.UnicodeBlock LATIN_EXTENDED_BConstant for the "Latin Extended-B" Unicode character block. -
LETTERLIKE_SYMBOLS
public static final Character.UnicodeBlock LETTERLIKE_SYMBOLSConstant for the "Letterlike Symbols" Unicode character block. -
LIMBU
public static final Character.UnicodeBlock LIMBUConstant for the "Limbu" Unicode character block. -
LINEAR_B_IDEOGRAMS
public static final Character.UnicodeBlock LINEAR_B_IDEOGRAMSConstant for the "Linear B Ideograms" Unicode character block. -
LINEAR_B_SYLLABARY
public static final Character.UnicodeBlock LINEAR_B_SYLLABARYConstant for the "Linear B Syllabary" Unicode character block. -
LOW_SURROGATES
public static final Character.UnicodeBlock LOW_SURROGATESConstant for the "Low Surrogates" Unicode character block. This block represents codepoint values in the high surrogate range: 0xDC00 through 0xDFFF -
MALAYALAM
public static final Character.UnicodeBlock MALAYALAMConstant for the "Malayalam" Unicode character block. -
MATHEMATICAL_ALPHANUMERIC_SYMBOLS
public static final Character.UnicodeBlock MATHEMATICAL_ALPHANUMERIC_SYMBOLSConstant for the "Mathematical Alphanumeric Symbols" Unicode character block. -
MATHEMATICAL_OPERATORS
public static final Character.UnicodeBlock MATHEMATICAL_OPERATORSConstant for the "Mathematical Operators" Unicode character block. -
MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A
public static final Character.UnicodeBlock MISCELLANEOUS_MATHEMATICAL_SYMBOLS_AConstant for the "Miscellaneous Mathematical Symbols-A" Unicode character block. -
MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B
public static final Character.UnicodeBlock MISCELLANEOUS_MATHEMATICAL_SYMBOLS_BConstant for the "Miscellaneous Mathematical Symbols-B" Unicode character block. -
MISCELLANEOUS_SYMBOLS
public static final Character.UnicodeBlock MISCELLANEOUS_SYMBOLSConstant for the "Miscellaneous Symbols" Unicode character block. -
MISCELLANEOUS_SYMBOLS_AND_ARROWS
public static final Character.UnicodeBlock MISCELLANEOUS_SYMBOLS_AND_ARROWSConstant for the "Miscellaneous Symbols and Arrows" Unicode character block. -
MISCELLANEOUS_TECHNICAL
public static final Character.UnicodeBlock MISCELLANEOUS_TECHNICALConstant for the "Miscellaneous Technical" Unicode character block. -
MONGOLIAN
public static final Character.UnicodeBlock MONGOLIANConstant for the "Mongolian" Unicode character block. -
MUSICAL_SYMBOLS
public static final Character.UnicodeBlock MUSICAL_SYMBOLSConstant for the "Musical Symbols" Unicode character block. -
MYANMAR
public static final Character.UnicodeBlock MYANMARConstant for the "Myanmar" Unicode character block. -
NUMBER_FORMS
public static final Character.UnicodeBlock NUMBER_FORMSConstant for the "Number Forms" Unicode character block. -
OGHAM
public static final Character.UnicodeBlock OGHAMConstant for the "Ogham" Unicode character block. -
OLD_ITALIC
public static final Character.UnicodeBlock OLD_ITALICConstant for the "Old Italic" Unicode character block. -
OPTICAL_CHARACTER_RECOGNITION
public static final Character.UnicodeBlock OPTICAL_CHARACTER_RECOGNITIONConstant for the "Optical Character Recognition" Unicode character block. -
ORIYA
public static final Character.UnicodeBlock ORIYAConstant for the "Oriya" Unicode character block. -
OSMANYA
public static final Character.UnicodeBlock OSMANYAConstant for the "Osmanya" Unicode character block. -
PHONETIC_EXTENSIONS
public static final Character.UnicodeBlock PHONETIC_EXTENSIONSConstant for the "Phonetic Extensions" Unicode character block. -
PRIVATE_USE_AREA
public static final Character.UnicodeBlock PRIVATE_USE_AREAConstant for the "Private Use Area" Unicode character block. -
RUNIC
public static final Character.UnicodeBlock RUNICConstant for the "Runic" Unicode character block. -
SHAVIAN
public static final Character.UnicodeBlock SHAVIANConstant for the "Shavian" Unicode character block. -
SINHALA
public static final Character.UnicodeBlock SINHALAConstant for the "Sinhala" Unicode character block. -
SMALL_FORM_VARIANTS
public static final Character.UnicodeBlock SMALL_FORM_VARIANTSConstant for the "Small Form Variants" Unicode character block. -
SPACING_MODIFIER_LETTERS
public static final Character.UnicodeBlock SPACING_MODIFIER_LETTERSConstant for the "Spacing Modifier Letters" Unicode character block. -
SPECIALS
public static final Character.UnicodeBlock SPECIALSConstant for the "Specials" Unicode character block. -
SUPERSCRIPTS_AND_SUBSCRIPTS
public static final Character.UnicodeBlock SUPERSCRIPTS_AND_SUBSCRIPTSConstant for the "Superscripts and Subscripts" Unicode character block. -
SUPPLEMENTAL_ARROWS_A
public static final Character.UnicodeBlock SUPPLEMENTAL_ARROWS_AConstant for the "Supplemental Arrows-A" Unicode character block. -
SUPPLEMENTAL_ARROWS_B
public static final Character.UnicodeBlock SUPPLEMENTAL_ARROWS_BConstant for the "Supplemental Arrows-B" Unicode character block. -
SUPPLEMENTAL_MATHEMATICAL_OPERATORS
public static final Character.UnicodeBlock SUPPLEMENTAL_MATHEMATICAL_OPERATORSConstant for the "Supplemental Mathematical Operators" Unicode character block. -
SUPPLEMENTARY_PRIVATE_USE_AREA_A
public static final Character.UnicodeBlock SUPPLEMENTARY_PRIVATE_USE_AREA_AConstant for the "Supplementary Private Use Area-A" Unicode character block. -
SUPPLEMENTARY_PRIVATE_USE_AREA_B
public static final Character.UnicodeBlock SUPPLEMENTARY_PRIVATE_USE_AREA_BConstant for the "Supplementary Private Use Area-B" Unicode character block. -
SURROGATES_AREA
-
SYRIAC
public static final Character.UnicodeBlock SYRIACConstant for the "Syriac" Unicode character block. -
TAGALOG
public static final Character.UnicodeBlock TAGALOGConstant for the "Tagalog" Unicode character block. -
TAGBANWA
public static final Character.UnicodeBlock TAGBANWAConstant for the "Tagbanwa" Unicode character block. -
TAGS
public static final Character.UnicodeBlock TAGSConstant for the "Tags" Unicode character block. -
TAI_LE
public static final Character.UnicodeBlock TAI_LEConstant for the "Tai Le" Unicode character block. -
TAI_XUAN_JING_SYMBOLS
public static final Character.UnicodeBlock TAI_XUAN_JING_SYMBOLSConstant for the "Tai Xuan Jing Symbols" Unicode character block. -
TAMIL
public static final Character.UnicodeBlock TAMILConstant for the "Tamil" Unicode character block. -
TELUGU
public static final Character.UnicodeBlock TELUGUConstant for the "Telugu" Unicode character block. -
THAANA
public static final Character.UnicodeBlock THAANAConstant for the "Thaana" Unicode character block. -
THAI
public static final Character.UnicodeBlock THAIConstant for the "Thai" Unicode character block. -
TIBETAN
public static final Character.UnicodeBlock TIBETANConstant for the "Tibetan" Unicode character block. -
UGARITIC
public static final Character.UnicodeBlock UGARITICConstant for the "Ugaritic" Unicode character block. -
UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS
public static final Character.UnicodeBlock UNIFIED_CANADIAN_ABORIGINAL_SYLLABICSConstant for the "Unified Canadian Aboriginal Syllabics" Unicode character block. -
VARIATION_SELECTORS
public static final Character.UnicodeBlock VARIATION_SELECTORSConstant for the "Variation Selectors" Unicode character block. -
VARIATION_SELECTORS_SUPPLEMENT
public static final Character.UnicodeBlock VARIATION_SELECTORS_SUPPLEMENTConstant for the "Variation Selectors Supplement" Unicode character block. -
YIJING_HEXAGRAM_SYMBOLS
public static final Character.UnicodeBlock YIJING_HEXAGRAM_SYMBOLSConstant for the "Yijing Hexagram Symbols" Unicode character block. -
YI_RADICALS
public static final Character.UnicodeBlock YI_RADICALSConstant for the "Yi Radicals" Unicode character block. -
YI_SYLLABLES
public static final Character.UnicodeBlock YI_SYLLABLESConstant for the "Yi Syllables" Unicode character block.
