java.lang.Object | ||
↳ | java.lang.Character.Subset | |
↳ | java.lang.Character.UnicodeBlock |
Represents a block of Unicode characters, as defined by the Unicode 4.0.1 specification.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AEGEAN_NUMBERS | The "Aegean Numbers" Unicode Block. | ||||||||||
ALPHABETIC_PRESENTATION_FORMS | The "Alphabetic Presentation Forms" Unicode Block. | ||||||||||
ARABIC | The "Arabic" Unicode Block. | ||||||||||
ARABIC_PRESENTATION_FORMS_A | The "Arabic Presentation Forms-A" Unicode Block. | ||||||||||
ARABIC_PRESENTATION_FORMS_B | The "Arabic Presentation Forms-B" Unicode Block. | ||||||||||
ARMENIAN | The "Armenian" Unicode Block. | ||||||||||
ARROWS | The "Arrows" Unicode Block. | ||||||||||
BASIC_LATIN | The "Basic Latin" Unicode Block. | ||||||||||
BENGALI | The "Bengali" Unicode Block. | ||||||||||
BLOCK_ELEMENTS | The "Block Elements" Unicode Block. | ||||||||||
BOPOMOFO | The "Bopomofo" Unicode Block. | ||||||||||
BOPOMOFO_EXTENDED | The "Bopomofo Extended" Unicode Block. | ||||||||||
BOX_DRAWING | The "Box Drawing" Unicode Block. | ||||||||||
BRAILLE_PATTERNS | The "Braille Patterns" Unicode Block. | ||||||||||
BUHID | The "Buhid" Unicode Block. | ||||||||||
BYZANTINE_MUSICAL_SYMBOLS | The "Byzantine Musical Symbols" Unicode Block. | ||||||||||
CHEROKEE | The "Cherokee" Unicode Block. | ||||||||||
CJK_COMPATIBILITY | The "CJK Compatibility" Unicode Block. | ||||||||||
CJK_COMPATIBILITY_FORMS | The "CJK Compatibility Forms" Unicode Block. | ||||||||||
CJK_COMPATIBILITY_IDEOGRAPHS | The "CJK Compatibility Ideographs" Unicode Block. | ||||||||||
CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT | The "CJK Compatibility Ideographs Supplement" Unicode Block. | ||||||||||
CJK_RADICALS_SUPPLEMENT | The "CJK Radicals Supplement" Unicode Block. | ||||||||||
CJK_SYMBOLS_AND_PUNCTUATION | The "CJK Symbols and Punctuation" Unicode Block. | ||||||||||
CJK_UNIFIED_IDEOGRAPHS | The "CJK Unified Ideographs" Unicode Block. | ||||||||||
CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A | The "CJK Unified Ideographs Extension A" Unicode Block. | ||||||||||
CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B | The "CJK Unified Ideographs Extension B" Unicode Block. | ||||||||||
COMBINING_DIACRITICAL_MARKS | The "Combining Diacritical Marks" Unicode Block. | ||||||||||
COMBINING_HALF_MARKS | The "Combining Half Marks" Unicode Block. | ||||||||||
COMBINING_MARKS_FOR_SYMBOLS | The "Combining Diacritical Marks for Symbols" Unicode Block. | ||||||||||
CONTROL_PICTURES | The "Control Pictures" Unicode Block. | ||||||||||
CURRENCY_SYMBOLS | The "Currency Symbols" Unicode Block. | ||||||||||
CYPRIOT_SYLLABARY | The "Cypriot Syllabary" Unicode Block. | ||||||||||
CYRILLIC | The "Cyrillic" Unicode Block. | ||||||||||
CYRILLIC_SUPPLEMENTARY | The "Cyrillic Supplement" Unicode Block. | ||||||||||
DESERET | The "Deseret" Unicode Block. | ||||||||||
DEVANAGARI | The "Devanagari" Unicode Block. | ||||||||||
DINGBATS | The "Dingbats" Unicode Block. | ||||||||||
ENCLOSED_ALPHANUMERICS | The "Enclosed Alphanumerics" Unicode Block. | ||||||||||
ENCLOSED_CJK_LETTERS_AND_MONTHS | The "Enclosed CJK Letters and Months" Unicode Block. | ||||||||||
ETHIOPIC | The "Ethiopic" Unicode Block. | ||||||||||
GENERAL_PUNCTUATION | The "General Punctuation" Unicode Block. | ||||||||||
GEOMETRIC_SHAPES | The "Geometric Shapes" Unicode Block. | ||||||||||
GEORGIAN | The "Georgian" Unicode Block. | ||||||||||
GOTHIC | The "Gothic" Unicode Block. | ||||||||||
GREEK | The "Greek and Coptic" Unicode Block. | ||||||||||
GREEK_EXTENDED | The "Greek Extended" Unicode Block. | ||||||||||
GUJARATI | The "Gujarati" Unicode Block. | ||||||||||
GURMUKHI | The "Gurmukhi" Unicode Block. | ||||||||||
HALFWIDTH_AND_FULLWIDTH_FORMS | The "Halfwidth and Fullwidth Forms" Unicode Block. | ||||||||||
HANGUL_COMPATIBILITY_JAMO | The "Hangul Compatibility Jamo" Unicode Block. | ||||||||||
HANGUL_JAMO | The "Hangul Jamo" Unicode Block. | ||||||||||
HANGUL_SYLLABLES | The "Hangul Syllables" Unicode Block. | ||||||||||
HANUNOO | The "Hanunoo" Unicode Block. | ||||||||||
HEBREW | The "Hebrew" Unicode Block. | ||||||||||
HIGH_PRIVATE_USE_SURROGATES | The "High Private Use Surrogates" Unicode Block. | ||||||||||
HIGH_SURROGATES | The "High Surrogates" Unicode Block. | ||||||||||
HIRAGANA | The "Hiragana" Unicode Block. | ||||||||||
IDEOGRAPHIC_DESCRIPTION_CHARACTERS | The "Ideographic Description Characters" Unicode Block. | ||||||||||
IPA_EXTENSIONS | The "IPA Extensions" Unicode Block. | ||||||||||
KANBUN | The "Kanbun" Unicode Block. | ||||||||||
KANGXI_RADICALS | The "Kangxi Radicals" Unicode Block. | ||||||||||
KANNADA | The "Kannada" Unicode Block. | ||||||||||
KATAKANA | The "Katakana" Unicode Block. | ||||||||||
KATAKANA_PHONETIC_EXTENSIONS | The "Katakana Phonetic Extensions" Unicode Block. | ||||||||||
KHMER | The "Khmer" Unicode Block. | ||||||||||
KHMER_SYMBOLS | The "Khmer Symbols" Unicode Block. | ||||||||||
LAO | The "Lao" Unicode Block. | ||||||||||
LATIN_1_SUPPLEMENT | The "Latin-1 Supplement" Unicode Block. | ||||||||||
LATIN_EXTENDED_A | The "Latin Extended-A" Unicode Block. | ||||||||||
LATIN_EXTENDED_ADDITIONAL | The "Latin Extended Additional" Unicode Block. | ||||||||||
LATIN_EXTENDED_B | The "Latin Extended-B" Unicode Block. | ||||||||||
LETTERLIKE_SYMBOLS | The "Letterlike Symbols" Unicode Block. | ||||||||||
LIMBU | The "Limbu" Unicode Block. | ||||||||||
LINEAR_B_IDEOGRAMS | The "Linear B Ideograms" Unicode Block. | ||||||||||
LINEAR_B_SYLLABARY | The "Linear B Syllabary" Unicode Block. | ||||||||||
LOW_SURROGATES | The "Low Surrogates" Unicode Block. | ||||||||||
MALAYALAM | The "Malayalam" Unicode Block. | ||||||||||
MATHEMATICAL_ALPHANUMERIC_SYMBOLS | The "Mathematical Alphanumeric Symbols" Unicode Block. | ||||||||||
MATHEMATICAL_OPERATORS | The "Mathematical Operators" Unicode Block. | ||||||||||
MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A | The "Miscellaneous Mathematical Symbols-A" Unicode Block. | ||||||||||
MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B | The "Miscellaneous Mathematical Symbols-B" Unicode Block. | ||||||||||
MISCELLANEOUS_SYMBOLS | The "Miscellaneous Symbols" Unicode Block. | ||||||||||
MISCELLANEOUS_SYMBOLS_AND_ARROWS | The "Miscellaneous Symbols and Arrows" Unicode Block. | ||||||||||
MISCELLANEOUS_TECHNICAL | The "Miscellaneous Technical" Unicode Block. | ||||||||||
MONGOLIAN | The "Mongolian" Unicode Block. | ||||||||||
MUSICAL_SYMBOLS | The "Musical Symbols" Unicode Block. | ||||||||||
MYANMAR | The "Myanmar" Unicode Block. | ||||||||||
NUMBER_FORMS | The "Number Forms" Unicode Block. | ||||||||||
OGHAM | The "Ogham" Unicode Block. | ||||||||||
OLD_ITALIC | The "Old Italic" Unicode Block. | ||||||||||
OPTICAL_CHARACTER_RECOGNITION | The "Optical Character Recognition" Unicode Block. | ||||||||||
ORIYA | The "Oriya" Unicode Block. | ||||||||||
OSMANYA | The "Osmanya" Unicode Block. | ||||||||||
PHONETIC_EXTENSIONS | The "Phonetic Extensions" Unicode Block. | ||||||||||
PRIVATE_USE_AREA | The "Private Use Area" Unicode Block. | ||||||||||
RUNIC | The "Runic" Unicode Block. | ||||||||||
SHAVIAN | The "Shavian" Unicode Block. | ||||||||||
SINHALA | The "Sinhala" Unicode Block. | ||||||||||
SMALL_FORM_VARIANTS | The "Small Form Variants" Unicode Block. | ||||||||||
SPACING_MODIFIER_LETTERS | The "Spacing Modifier Letters" Unicode Block. | ||||||||||
SPECIALS | The "Specials" Unicode Block. | ||||||||||
SUPERSCRIPTS_AND_SUBSCRIPTS | The "Superscripts and Subscripts" Unicode Block. | ||||||||||
SUPPLEMENTAL_ARROWS_A | The "Supplemental Arrows-A" Unicode Block. | ||||||||||
SUPPLEMENTAL_ARROWS_B | The "Supplemental Arrows-B" Unicode Block. | ||||||||||
SUPPLEMENTAL_MATHEMATICAL_OPERATORS | The "Supplemental Mathematical Operators" Unicode Block. | ||||||||||
SUPPLEMENTARY_PRIVATE_USE_AREA_A | The "Supplementary Private Use Area-A" Unicode Block. | ||||||||||
SUPPLEMENTARY_PRIVATE_USE_AREA_B | The "Supplementary Private Use Area-B" Unicode Block. | ||||||||||
SURROGATES_AREA |
This field was deprecated
in API level 1.
As of Java 5, this block has been replaced by
HIGH_SURROGATES ,
HIGH_PRIVATE_USE_SURROGATES and
LOW_SURROGATES .
|
||||||||||
SYRIAC | The "Syriac" Unicode Block. | ||||||||||
TAGALOG | The "Tagalog" Unicode Block. | ||||||||||
TAGBANWA | The "Tagbanwa" Unicode Block. | ||||||||||
TAGS | The "Tags" Unicode Block. | ||||||||||
TAI_LE | The "Tai Le" Unicode Block. | ||||||||||
TAI_XUAN_JING_SYMBOLS | The "Tai Xuan Jing Symbols" Unicode Block. | ||||||||||
TAMIL | The "Tamil" Unicode Block. | ||||||||||
TELUGU | The "Telugu" Unicode Block. | ||||||||||
THAANA | The "Thaana" Unicode Block. | ||||||||||
THAI | The "Thai" Unicode Block. | ||||||||||
TIBETAN | The "Tibetan" Unicode Block. | ||||||||||
UGARITIC | The "Ugaritic" Unicode Block. | ||||||||||
UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS | The "Unified Canadian Aboriginal Syllabics" Unicode Block. | ||||||||||
VARIATION_SELECTORS | The "Variation Selectors" Unicode Block. | ||||||||||
VARIATION_SELECTORS_SUPPLEMENT | The "Variation Selectors Supplement" Unicode Block. | ||||||||||
YIJING_HEXAGRAM_SYMBOLS | The "Yijing Hexagram Symbols" Unicode Block. | ||||||||||
YI_RADICALS | The "Yi Radicals" Unicode Block. | ||||||||||
YI_SYLLABLES | The "Yi Syllables" Unicode Block. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the constant that corresponds to the specified block name.
| |||||||||||
Gets the constant for the Unicode block that contains the specified
character.
| |||||||||||
Gets the constant for the Unicode block that contains the specified
Unicode code point.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Character.Subset
| |||||||||||
From class
java.lang.Object
|
The "Aegean Numbers" Unicode Block.
The "Alphabetic Presentation Forms" Unicode Block.
The "Arabic Presentation Forms-A" Unicode Block.
The "Arabic Presentation Forms-B" Unicode Block.
The "Armenian" Unicode Block.
The "Basic Latin" Unicode Block.
The "Bengali" Unicode Block.
The "Block Elements" Unicode Block.
The "Bopomofo" Unicode Block.
The "Bopomofo Extended" Unicode Block.
The "Box Drawing" Unicode Block.
The "Braille Patterns" Unicode Block.
The "Byzantine Musical Symbols" Unicode Block.
The "Cherokee" Unicode Block.
The "CJK Compatibility" Unicode Block.
The "CJK Compatibility Forms" Unicode Block.
The "CJK Compatibility Ideographs" Unicode Block.
The "CJK Compatibility Ideographs Supplement" Unicode Block.
The "CJK Radicals Supplement" Unicode Block.
The "CJK Symbols and Punctuation" Unicode Block.
The "CJK Unified Ideographs" Unicode Block.
The "CJK Unified Ideographs Extension A" Unicode Block.
The "CJK Unified Ideographs Extension B" Unicode Block.
The "Combining Diacritical Marks" Unicode Block.
The "Combining Half Marks" Unicode Block.
The "Combining Diacritical Marks for Symbols" Unicode Block. Previously referred to as "Combining Marks for Symbols".
The "Control Pictures" Unicode Block.
The "Currency Symbols" Unicode Block.
The "Cypriot Syllabary" Unicode Block.
The "Cyrillic" Unicode Block.
The "Cyrillic Supplement" Unicode Block. Previously referred to as "Cyrillic Supplementary".
The "Deseret" Unicode Block.
The "Devanagari" Unicode Block.
The "Dingbats" Unicode Block.
The "Enclosed Alphanumerics" Unicode Block.
The "Enclosed CJK Letters and Months" Unicode Block.
The "Ethiopic" Unicode Block.
The "General Punctuation" Unicode Block.
The "Geometric Shapes" Unicode Block.
The "Georgian" Unicode Block.
The "Greek and Coptic" Unicode Block. Previously referred to as "Greek".
The "Greek Extended" Unicode Block.
The "Gujarati" Unicode Block.
The "Gurmukhi" Unicode Block.
The "Halfwidth and Fullwidth Forms" Unicode Block.
The "Hangul Compatibility Jamo" Unicode Block.
The "Hangul Jamo" Unicode Block.
The "Hangul Syllables" Unicode Block.
The "Hanunoo" Unicode Block.
The "High Private Use Surrogates" Unicode Block. This block represents code point values in the high surrogate range 0xDB80 to 0xDBFF
The "High Surrogates" Unicode Block. This block represents code point values in the high surrogate range 0xD800 to 0xDB7F
The "Hiragana" Unicode Block.
The "Ideographic Description Characters" Unicode Block.
The "IPA Extensions" Unicode Block.
The "Kangxi Radicals" Unicode Block.
The "Kannada" Unicode Block.
The "Katakana" Unicode Block.
The "Katakana Phonetic Extensions" Unicode Block.
The "Khmer Symbols" Unicode Block.
The "Latin-1 Supplement" Unicode Block.
The "Latin Extended-A" Unicode Block.
The "Latin Extended Additional" Unicode Block.
The "Latin Extended-B" Unicode Block.
The "Letterlike Symbols" Unicode Block.
The "Linear B Ideograms" Unicode Block.
The "Linear B Syllabary" Unicode Block.
The "Low Surrogates" Unicode Block. This block represents code point values in the low surrogate range 0xDC00 to 0xDFFF
The "Malayalam" Unicode Block.
The "Mathematical Alphanumeric Symbols" Unicode Block.
The "Mathematical Operators" Unicode Block.
The "Miscellaneous Mathematical Symbols-A" Unicode Block.
The "Miscellaneous Mathematical Symbols-B" Unicode Block.
The "Miscellaneous Symbols" Unicode Block.
The "Miscellaneous Symbols and Arrows" Unicode Block.
The "Miscellaneous Technical" Unicode Block.
The "Mongolian" Unicode Block.
The "Musical Symbols" Unicode Block.
The "Myanmar" Unicode Block.
The "Number Forms" Unicode Block.
The "Old Italic" Unicode Block.
The "Optical Character Recognition" Unicode Block.
The "Osmanya" Unicode Block.
The "Phonetic Extensions" Unicode Block.
The "Private Use Area" Unicode Block.
The "Shavian" Unicode Block.
The "Sinhala" Unicode Block.
The "Small Form Variants" Unicode Block.
The "Spacing Modifier Letters" Unicode Block.
The "Specials" Unicode Block.
The "Superscripts and Subscripts" Unicode Block.
The "Supplemental Arrows-A" Unicode Block.
The "Supplemental Arrows-B" Unicode Block.
The "Supplemental Mathematical Operators" Unicode Block.
The "Supplementary Private Use Area-A" Unicode Block.
The "Supplementary Private Use Area-B" Unicode Block.
This field was deprecated
in API level 1.
As of Java 5, this block has been replaced by
HIGH_SURROGATES
,
HIGH_PRIVATE_USE_SURROGATES
and
LOW_SURROGATES
.
The "Surrogates Area" Unicode Block.
The "Tagalog" Unicode Block.
The "Tagbanwa" Unicode Block.
The "Tai Xuan Jing Symbols" Unicode Block.
The "Tibetan" Unicode Block.
The "Ugaritic" Unicode Block.
The "Unified Canadian Aboriginal Syllabics" Unicode Block.
The "Variation Selectors" Unicode Block.
The "Variation Selectors Supplement" Unicode Block.
The "Yijing Hexagram Symbols" Unicode Block.
The "Yi Radicals" Unicode Block.
The "Yi Syllables" Unicode Block.
Retrieves the constant that corresponds to the specified block name.
The block names are defined by the Unicode 4.0.1 specification in the
Blocks-4.0.1.txt
file.
Block names may be one of the following:
UnicodeBlock
constant identifier. This is determined by
uppercasing the canonical name and replacing all spaces and hyphens
with underscores.blockName | the name of the block to retrieve. |
---|
blockName
.NullPointerException | if blockName is null . |
---|---|
IllegalArgumentException | if blockName is not a valid block name. |
Gets the constant for the Unicode block that contains the specified character.
c | the character for which to get the UnicodeBlock
constant. |
---|
UnicodeBlock
constant for the block that contains
c
, or null
if c
does not belong to
any defined block.
Gets the constant for the Unicode block that contains the specified Unicode code point.
codePoint | the Unicode code point for which to get the
UnicodeBlock constant. |
---|
UnicodeBlock
constant for the block that contains
codePoint
, or null
if codePoint
does
not belong to any defined block.IllegalArgumentException | if codePoint is not a valid code point. |
---|