/* @(#)CharacterDataUndefined.java.template 1.2 03/07/26
*
* Copyright 1994-2002 Sun Microsystems, Inc. All Rights Reserved.
*
* This software is the proprietary information of Sun Microsystems, Inc.
* Use is subject to license terms.
*
*/
package java.lang;
/** The CharacterData class encapsulates the large tables found in
Java.lang.Character. */
class CharacterDataUndefined {
static int getProperties(int ch) {
return 0;
}
static int getType(int ch) {
return Character.UNASSIGNED;
}
static boolean isLowerCase(int ch) {
return false;
}
static boolean isUpperCase(int ch) {
return false;
}
static boolean isTitleCase(int ch) {
return false;
}
static boolean isDigit(int ch) {
return false;
}
static boolean isDefined(int ch) {
return false;
}
static boolean isLetter(int ch) {
return false;
}
static boolean isLetterOrDigit(int ch) {
return false;
}
static boolean isSpaceChar(int ch) {
return false;
}
static boolean isJavaIdentifierStart(int ch) {
return false;
}
static boolean isJavaIdentifierPart(int ch) {
return false;
}
static boolean isUnicodeIdentifierStart(int ch) {
return false;
}
static boolean isUnicodeIdentifierPart(int ch) {
return false;
}
static boolean isIdentifierIgnorable(int ch) {
return false;
}
static int toLowerCase(int ch) {
return ch;
}
static int toUpperCase(int ch) {
return ch;
}
static int toTitleCase(int ch) {
return ch;
}
static int digit(int ch, int radix) {
return -1;
}
static int getNumericValue(int ch) {
return -1;
}
static boolean isWhitespace(int ch) {
return false;
}
static byte getDirectionality(int ch) {
return Character.DIRECTIONALITY_UNDEFINED;
}
static boolean isMirrored(int ch) {
return false;
}
// may need to implement for JSR 204
// static int toUpperCaseEx(int ch);
// static char[] toUpperCaseCharArray(int ch);
}
|