Amazing Books
Temporary Blank

Friday, February 18, 2011

Java Internationalization






Table of Contents 0:
Preface ............................................................................................................................. ix
1. Introduction to Internationalization ..................................................... 1
What Are Software Internationalization, Localization,
and Globalization? ............................................................................................... 1
Why Choose Java for International Applications? .......................................... 10
What is a Locale? ................................................................................................ 12
A Simple Application ........................................................................................ .13
2. Writing Systems ............................................................................................ 17
Ancient Writing Systems ................................................................................... 17
Far East Writing Systems ................................................................................... 22
Bidirectional Scripts .......................................................................................... 31
Greek, Latin, and Cyrillic .................................................................................. 36
Indic Scripts ....................................................................................................... 43
Thai Script .......................................................................................................... 44
Punctuation ........................................................................................................ 46
3. Locales .............................................................................................................. 49
Defining a Locale .............................................................................................. 49
Working with the Locale Class ......................................................................... 50
Querying for Locale Information .................................................................... 56
Checking Available Locales .............................................................................. 61
4. Isolating Locale-Specific Data with Resource Bundles ................ 63
Why Use Resource Bundles? ............................................................................ 63
The ResourceBundle Class ............................................................................... 64
How Resource Bundles Are Discovered and Named ..................................... 67
Property Resource Bundles .............................................................................. 74
List Resource Bundles ....................................................................................... 75
Resource Bundle Caveats................................................................................... 82
Deploying Resource Bundles with Applets ..................................................... 88
Design Considerations for Resource Bundles ................................................ 90
5. Formatting Messages .................................................................................. 93
Date and Time Formats .................................................................................... 93
Number Formats ............................................................................................. 116
Message Formats .............................................................................................. 128
6. Character Sets and Unicode .................................................................. 139
What Are Character Sets? ............................................................................... 139
What Are Encoding Methods? ........................................................................ 143
What Is Unicode? ............................................................................................ 145
Unicode Encoding Methods .......................................................................... 161
Code Set Conversion ....................................................................................... 162
7. Searching, Sorting, and Text Boundary Detection ....................... 171
Collation Issues ................................................................................................ 171
Sorting in Java .................................................................................................. 174
Tailoring Collation........................................................................................... 181
Improving Performance ................................................................................ 187
Searching .......................................................................................................... 189
Detecting Text Boundaries ............................................................................. 193
8. Fonts and Text Rendering ....................................................................... 199
Characters, Glyphs, and Fonts......................................................................... 200
Java’s Font-Related Classes .............................................................................. 203
Components for Rendering Complex Text .................................................. 207
TrueType Font Support in Java....................................................................... 216
Working with the font.properties File ............................................................ 219
Adding New Fonts to Your System.................................................................. 229
9. Internationalized Graphical User Interfaces ................................. 233
General Issues .................................................................................................. 233
Component Orientation ................................................................................. 243
Internationalization and Localization Caveats
for Various Components ................................................................................. 249
Using a Layout Manager ................................................................................. 260
Copying, Cutting, and Pasting International Text ....................................... 262
A Simple Example ........................................................................................... 268
10. Input Methods ............................................................................................. 281
What Are Input Methods? .............................................................................. 281
What Is the Java Input Method Framework? ................................................. 283
Selecting Input Methods.................................................................................. 285
Using the Input Method Engine SPI ............................................................. 285
Developing a Simple Input Method ............................................................... 290
How to Package and Install Input Methods .................................................. 296
Developing a More Complex Input Method ................................................ 298
11. Internationalized Web Applications ................................................... 317
Applets .............................................................................................................. 318
Servlets............................................................................................................... 321
JavaServer Pages ............................................................................................... 334
12. Future Enhancements to the Internationalization
Support in Java .......................................................................................... 351
Unicode 3.0 Support ....................................................................................... 351
Enhanced Complex Text ................................................................................ 354
Character Converter Framework ................................................................... 355
Improving the Input Method Framework...................................................... 356
A. Language and Country Codes ............................................................... 357
B. Character Encodings Supported by Java ......................................... 367
C. Unicode Character Blocks ...................................................................... 373
D. Programmer’s Quick Reference ............................................................ 377
E. Internationalization Enhancements
Across Versions of the JDK ...................................................................... 415
Glossary ........................................................................................................................ 421
Bibliography ................................................................................................................ 427
Index ............................................................................................................................. 433

Another Java Books
Download

No comments:

Post a Comment

Related Posts with Thumbnails
There was an error in this gadget

Put Your Ads Here!
There was an error in this gadget