FileDocCategorySizeDatePackage
UCharacter.javaAPI DocAndroid 1.5 API11040Wed May 06 22:41:04 BST 2009com.ibm.icu4jni.lang

UCharacter

public class UCharacter extends Object

Fields Summary
Constructors Summary
Methods Summary
private static native intcodeblock(int codePoint)

public static intdigit(int codePoint, int radix)

        return digitImpl(codePoint, radix);
    
private static native intdigitImpl(int codePoint, int radix)

public static intforName(java.lang.String blockName)

        if (blockName == null) {
            throw new NullPointerException();
        }
        return forname(blockName);
    
private static native intforname(java.lang.String blockName)

public static java.lang.Character.UnicodeBlock[]getBlockTable()

        /**
         * The indices of the entries of this table correspond with the value
         * of the ICU enum UBlockCode. When updating ICU it's necessary
         * to check if there where any changes for the properties
         * used by java.lang.Character. 
         * The enum is defined in common/unicode/uchar.h
         */
        UnicodeBlock[] result = new UnicodeBlock[] { null,
                UnicodeBlock.BASIC_LATIN,
                UnicodeBlock.LATIN_1_SUPPLEMENT,
                UnicodeBlock.LATIN_EXTENDED_A,
                UnicodeBlock.LATIN_EXTENDED_B,
                UnicodeBlock.IPA_EXTENSIONS,
                UnicodeBlock.SPACING_MODIFIER_LETTERS,
                UnicodeBlock.COMBINING_DIACRITICAL_MARKS,
                UnicodeBlock.GREEK,
                UnicodeBlock.CYRILLIC,
                UnicodeBlock.ARMENIAN,
                UnicodeBlock.HEBREW,
                UnicodeBlock.ARABIC,
                UnicodeBlock.SYRIAC,
                UnicodeBlock.THAANA,
                UnicodeBlock.DEVANAGARI,
                UnicodeBlock.BENGALI,
                UnicodeBlock.GURMUKHI,
                UnicodeBlock.GUJARATI,
                UnicodeBlock.ORIYA,
                UnicodeBlock.TAMIL,
                UnicodeBlock.TELUGU,
                UnicodeBlock.KANNADA,
                UnicodeBlock.MALAYALAM,
                UnicodeBlock.SINHALA,
                UnicodeBlock.THAI,
                UnicodeBlock.LAO,
                UnicodeBlock.TIBETAN,
                UnicodeBlock.MYANMAR,
                UnicodeBlock.GEORGIAN,
                UnicodeBlock.HANGUL_JAMO,
                UnicodeBlock.ETHIOPIC,
                UnicodeBlock.CHEROKEE,
                UnicodeBlock.UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS,
                UnicodeBlock.OGHAM,
                UnicodeBlock.RUNIC,
                UnicodeBlock.KHMER,
                UnicodeBlock.MONGOLIAN,
                UnicodeBlock.LATIN_EXTENDED_ADDITIONAL,
                UnicodeBlock.GREEK_EXTENDED,
                UnicodeBlock.GENERAL_PUNCTUATION,
                UnicodeBlock.SUPERSCRIPTS_AND_SUBSCRIPTS,
                UnicodeBlock.CURRENCY_SYMBOLS,
                UnicodeBlock.COMBINING_MARKS_FOR_SYMBOLS,
                UnicodeBlock.LETTERLIKE_SYMBOLS,
                UnicodeBlock.NUMBER_FORMS,
                UnicodeBlock.ARROWS,
                UnicodeBlock.MATHEMATICAL_OPERATORS,
                UnicodeBlock.MISCELLANEOUS_TECHNICAL,
                UnicodeBlock.CONTROL_PICTURES,
                UnicodeBlock.OPTICAL_CHARACTER_RECOGNITION,
                UnicodeBlock.ENCLOSED_ALPHANUMERICS,
                UnicodeBlock.BOX_DRAWING,
                UnicodeBlock.BLOCK_ELEMENTS,
                UnicodeBlock.GEOMETRIC_SHAPES,
                UnicodeBlock.MISCELLANEOUS_SYMBOLS,
                UnicodeBlock.DINGBATS,
                UnicodeBlock.BRAILLE_PATTERNS,
                UnicodeBlock.CJK_RADICALS_SUPPLEMENT,
                UnicodeBlock.KANGXI_RADICALS,
                UnicodeBlock.IDEOGRAPHIC_DESCRIPTION_CHARACTERS,
                UnicodeBlock.CJK_SYMBOLS_AND_PUNCTUATION,
                UnicodeBlock.HIRAGANA,
                UnicodeBlock.KATAKANA,
                UnicodeBlock.BOPOMOFO,
                UnicodeBlock.HANGUL_COMPATIBILITY_JAMO,
                UnicodeBlock.KANBUN,
                UnicodeBlock.BOPOMOFO_EXTENDED,
                UnicodeBlock.ENCLOSED_CJK_LETTERS_AND_MONTHS,
                UnicodeBlock.CJK_COMPATIBILITY,
                UnicodeBlock.CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A,
                UnicodeBlock.CJK_UNIFIED_IDEOGRAPHS,
                UnicodeBlock.YI_SYLLABLES,
                UnicodeBlock.YI_RADICALS,
                UnicodeBlock.HANGUL_SYLLABLES,
                UnicodeBlock.HIGH_SURROGATES,
                UnicodeBlock.HIGH_PRIVATE_USE_SURROGATES,
                UnicodeBlock.LOW_SURROGATES,
                UnicodeBlock.PRIVATE_USE_AREA,
                UnicodeBlock.CJK_COMPATIBILITY_IDEOGRAPHS,
                UnicodeBlock.ALPHABETIC_PRESENTATION_FORMS,
                UnicodeBlock.ARABIC_PRESENTATION_FORMS_A,
                UnicodeBlock.COMBINING_HALF_MARKS,
                UnicodeBlock.CJK_COMPATIBILITY_FORMS,
                UnicodeBlock.SMALL_FORM_VARIANTS,
                UnicodeBlock.ARABIC_PRESENTATION_FORMS_B,
                UnicodeBlock.SPECIALS,
                UnicodeBlock.HALFWIDTH_AND_FULLWIDTH_FORMS,
                UnicodeBlock.OLD_ITALIC,
                UnicodeBlock.GOTHIC,
                UnicodeBlock.DESERET,
                UnicodeBlock.BYZANTINE_MUSICAL_SYMBOLS,
                UnicodeBlock.MUSICAL_SYMBOLS,
                UnicodeBlock.MATHEMATICAL_ALPHANUMERIC_SYMBOLS,
                UnicodeBlock.CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B,
                UnicodeBlock.CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT,
                UnicodeBlock.TAGS,
                UnicodeBlock.CYRILLIC_SUPPLEMENTARY,
                UnicodeBlock.TAGALOG,
                UnicodeBlock.HANUNOO,
                UnicodeBlock.BUHID,
                UnicodeBlock.TAGBANWA,
                UnicodeBlock.MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A,
                UnicodeBlock.SUPPLEMENTAL_ARROWS_A,
                UnicodeBlock.SUPPLEMENTAL_ARROWS_B,
                UnicodeBlock.MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B,
                UnicodeBlock.SUPPLEMENTAL_MATHEMATICAL_OPERATORS,
                UnicodeBlock.KATAKANA_PHONETIC_EXTENSIONS,
                UnicodeBlock.VARIATION_SELECTORS,
                UnicodeBlock.SUPPLEMENTARY_PRIVATE_USE_AREA_A,
                UnicodeBlock.SUPPLEMENTARY_PRIVATE_USE_AREA_B,
                UnicodeBlock.LIMBU,
                UnicodeBlock.TAI_LE,
                UnicodeBlock.KHMER_SYMBOLS,
                UnicodeBlock.PHONETIC_EXTENSIONS,
                UnicodeBlock.MISCELLANEOUS_SYMBOLS_AND_ARROWS,
                UnicodeBlock.YIJING_HEXAGRAM_SYMBOLS,
                UnicodeBlock.LINEAR_B_SYLLABARY,
                UnicodeBlock.LINEAR_B_IDEOGRAMS,
                UnicodeBlock.AEGEAN_NUMBERS,
                UnicodeBlock.UGARITIC,
                UnicodeBlock.SHAVIAN,
                UnicodeBlock.OSMANYA,
                UnicodeBlock.CYPRIOT_SYLLABARY,
                UnicodeBlock.TAI_XUAN_JING_SYMBOLS,
                UnicodeBlock.VARIATION_SELECTORS_SUPPLEMENT
        };
        return result;
    
public static bytegetDirectionality(int codePoint)

        return getDirectionalityImpl(codePoint);
    
private static native bytegetDirectionalityImpl(int codePoint)

public static intgetNumericValue(int codePoint)

        return getNumericValueImpl(codePoint);
    
private static native intgetNumericValueImpl(int codePoint)

public static intgetType(int codePoint)

        return getTypeImpl(codePoint);
    
private static native intgetTypeImpl(int codePoint)

public static booleanisDefined(int codePoint)

        return isDefinedValueImpl(codePoint);
    
private static native booleanisDefinedValueImpl(int codePoint)

public static booleanisDigit(int codePoint)

        return isDigitImpl(codePoint);
    
private static native booleanisDigitImpl(int codePoint)

public static booleanisIdentifierIgnorable(int codePoint)

        return isIdentifierIgnorableImpl(codePoint);
    
private static native booleanisIdentifierIgnorableImpl(int codePoint)

public static booleanisLetter(int codePoint)

        return isLetterImpl(codePoint);
    
private static native booleanisLetterImpl(int codePoint)

public static booleanisLetterOrDigit(int codePoint)

        return isLetterOrDigitImpl(codePoint);
    
private static native booleanisLetterOrDigitImpl(int codePoint)

public static booleanisLowerCase(int codePoint)

        return isLowerCaseImpl(codePoint);
    
private static native booleanisLowerCaseImpl(int codePoint)

public static booleanisMirrored(int codePoint)

        return isMirroredImpl(codePoint);
    
private static native booleanisMirroredImpl(int codePoint)

public static booleanisSpaceChar(int codePoint)

        return isSpaceCharImpl(codePoint);
    
private static native booleanisSpaceCharImpl(int codePoint)

public static booleanisTitleCase(int codePoint)

        return isTitleCaseImpl(codePoint);
    
private static native booleanisTitleCaseImpl(int codePoint)

public static booleanisUnicodeIdentifierPart(int codePoint)

        return isUnicodeIdentifierPartImpl(codePoint);
    
private static native booleanisUnicodeIdentifierPartImpl(int codePoint)

public static booleanisUnicodeIdentifierStart(int codePoint)

        return isUnicodeIdentifierStartImpl(codePoint);
    
private static native booleanisUnicodeIdentifierStartImpl(int codePoint)

public static booleanisUpperCase(int codePoint)

        return isUpperCaseImpl(codePoint);
    
private static native booleanisUpperCaseImpl(int codePoint)

public static booleanisWhitespace(int codePoint)

        return isWhitespaceImpl(codePoint);
    
private static native booleanisWhitespaceImpl(int codePoint)

public static intof(int codePoint)

        return codeblock(codePoint);
    
public static inttoLowerCase(int codePoint)

        return toLowerCaseImpl(codePoint);
    
private static native inttoLowerCaseImpl(int codePoint)

public static inttoTitleCase(int codePoint)

        return toTitleCaseImpl(codePoint);
    
private static native inttoTitleCaseImpl(int codePoint)

public static inttoUpperCase(int codePoint)

        return toUpperCaseImpl(codePoint);
    
private static native inttoUpperCaseImpl(int codePoint)