java.lang.Character (Java class)

The Java Character class.

Availability:

JavaScript - 1.1
Netscape - 3.0
Property/method value type:JavaObject object
Class properties:COMBINING_SPACING_MARK, CONNECTOR_PUNCTUATION, CONTROL, CURRENCY_SYMBOL, DASH_PUNCTUATION, DECIMAL_DIGIT_NUMBER, ENCLOSING_MARK, END_PUNCTUATION, FORMAT, LETTER_NUMBER, LINE_SEPARATOR, LOWERCASE_LETTER, MATH_SYMBOL, MAX_RADIX, MAX_VALUE, MIN_RADIX, MIN_VALUE, MODIFIER_LETTER, MODIFIER_SYMBOL, NON_SPACING_MARK, OTHER_LETTER, OTHER_NUMBER, OTHER_PUNCTUATION, OTHER_SYMBOL, PARAGRAPH_SEPARATOR, PRIVATE_USE, SPACE_SEPARATOR, START_PUNCTUATION, SURROGATE, TITLECASE_LETTER, TYPE, UNASSIGNED, UPPERCASE_LETTER
Class methods:digit(), forDigit(), getNumericValue(), getType(), isDefined(), isDigit(), isIdentifierIgnorable(), isISOControl(), isJavaIdentifierPart(), isJavaIdentifierStart(), isJavaLetter(), isJavaLetterOrDigit(), isLetter(), isLetterOrDigit(), isLowerCase(), isSpace(), isSpaceChar(), isTitleCase(), isUnicodeIdentifierPart(), isUnicodeIdentifierStart(), isUpperCase(), isWhitespace(), toLowerCase(), toTitleCase(), toUpperCase()
Object methods:charValue(), equals(), getClass(), hashCode(), notify(), notifyAll(), toString(), wait()

Support for character-based data in the Java environment.

Values of this type are visible to JavaScript as a JavaObject which encapsulates the Java created value.

See also:char, Java to JavaScript values

MethodJavaScriptJScriptNIEOperaNESECMADOMCSSHTMLNotes
charValue()1.1 1.1 n/a3.0 3.0 n/a n/a n/a n/a n/a n/a n/a-
equals()1.1 1.1 n/a3.0 3.0 n/a n/a n/a n/a n/a n/a n/a-
getClass()1.1 1.1 n/a3.0 3.0 n/a n/a n/a n/a n/a n/a n/a-
hashCode()1.1 1.1 n/a3.0 3.0 n/a n/a n/a n/a n/a n/a n/a-
notify()1.1 1.1 n/a3.0 3.0 n/a n/a n/a n/a n/a n/a n/a-
notifyAll()1.1 1.1 n/a3.0 3.0 n/a n/a n/a n/a n/a n/a n/a-
toString()1.1 1.1 n/a3.0 3.0 n/a n/a n/a n/a n/a n/a n/a-
wait()1.1 1.1 n/a3.0 3.0 n/a n/a n/a n/a n/a n/a n/a-