KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > lang > CharacterDataUndefined


1
2 /* @(#)CharacterDataUndefined.java.template 1.2 03/07/26
3  *
4  * Copyright 1994-2002 Sun Microsystems, Inc. All Rights Reserved.
5  *
6  * This software is the proprietary information of Sun Microsystems, Inc.
7  * Use is subject to license terms.
8  *
9  */

10
11 package java.lang;
12
13 /** The CharacterData class encapsulates the large tables found in
14     Java.lang.Character. */

15
16 class CharacterDataUndefined {
17
18     static int getProperties(int ch) {
19         return 0;
20     }
21
22     static int getType(int ch) {
23         return Character.UNASSIGNED;
24     }
25
26     static boolean isLowerCase(int ch) {
27         return false;
28     }
29
30     static boolean isUpperCase(int ch) {
31         return false;
32     }
33
34     static boolean isTitleCase(int ch) {
35         return false;
36     }
37
38     static boolean isDigit(int ch) {
39         return false;
40     }
41
42     static boolean isDefined(int ch) {
43         return false;
44     }
45
46     static boolean isLetter(int ch) {
47         return false;
48     }
49
50     static boolean isLetterOrDigit(int ch) {
51         return false;
52     }
53
54     static boolean isSpaceChar(int ch) {
55         return false;
56     }
57
58
59     static boolean isJavaIdentifierStart(int ch) {
60         return false;
61     }
62
63     static boolean isJavaIdentifierPart(int ch) {
64         return false;
65     }
66
67     static boolean isUnicodeIdentifierStart(int ch) {
68         return false;
69     }
70
71     static boolean isUnicodeIdentifierPart(int ch) {
72         return false;
73     }
74
75     static boolean isIdentifierIgnorable(int ch) {
76         return false;
77     }
78
79     static int toLowerCase(int ch) {
80         return ch;
81     }
82
83     static int toUpperCase(int ch) {
84         return ch;
85     }
86
87     static int toTitleCase(int ch) {
88         return ch;
89     }
90
91     static int digit(int ch, int radix) {
92         return -1;
93     }
94
95     static int getNumericValue(int ch) {
96         return -1;
97     }
98
99     static boolean isWhitespace(int ch) {
100         return false;
101     }
102
103     static byte getDirectionality(int ch) {
104         return Character.DIRECTIONALITY_UNDEFINED;
105     }
106
107     static boolean isMirrored(int ch) {
108         return false;
109     }
110
111     // may need to implement for JSR 204
112
// static int toUpperCaseEx(int ch);
113
// static char[] toUpperCaseCharArray(int ch);
114

115 }
116
Popular Tags