41 |
/** |
/** |
42 |
* This contains the info about the unicode characters, that |
* This contains the info about the unicode characters, that |
43 |
* java.lang.Character needs. It is generated automatically from |
* java.lang.Character needs. It is generated automatically from |
44 |
* <code>../doc/unicode/UnicodeData-3.0.0.txt</code> and |
* <code>doc/unicode/UnicodeData-3.0.0.txt</code> and |
45 |
* <code>../doc/unicode/SpecialCasing-2.txt</code>, by some |
* <code>doc/unicode/SpecialCasing-2.txt</code>, by some |
46 |
* perl scripts. These Unicode definition file can be found on the |
* perl scripts. These Unicode definition file can be found on the |
47 |
* <a href="http://www.unicode.org">http://www.unicode.org</a> website. |
* <a href="http://www.unicode.org">http://www.unicode.org</a> website. |
48 |
* JDK 1.4 uses Unicode version 3.0.0. |
* JDK 1.4 uses Unicode version 3.0.0. |
71 |
public interface CharData |
public interface CharData |
72 |
{ |
{ |
73 |
/** |
/** |
74 |
|
* The Unicode definition file that was parsed to build this database. |
75 |
|
*/ |
76 |
|
String SOURCE = "doc/unicode/UnicodeData-3.0.0.txt"; |
77 |
|
|
78 |
|
/** |
79 |
* The character shift amount to look up the block offset. In other words, |
* The character shift amount to look up the block offset. In other words, |
80 |
* <code>(char) (BLOCKS.value[ch >> SHIFT] + ch)</code> is the index where |
* <code>(char) (BLOCKS.value[ch >> SHIFT] + ch)</code> is the index where |
81 |
* <code>ch</code> is described in <code>DATA</code>. |
* <code>ch</code> is described in <code>DATA</code>. |
927 |
+ "\000\000\000"; |
+ "\000\000\000"; |
928 |
|
|
929 |
/** |
/** |
930 |
* This is the listing of titlecase special cases (all other character |
* This is the listing of titlecase special cases (all other characters |
931 |
* can use <code>UPPER</code> to determine their titlecase). The listing |
* can use <code>UPPER</code> to determine their titlecase). The listing |
932 |
* is a sorted sequence of character pairs; converting the first character |
* is a sorted sequence of character pairs; converting the first character |
933 |
* of the pair to titlecase produces the second character. |
* of the pair to titlecase produces the second character. |