6.2. The APIs

Now that you have considered what might need to be internationalized in a system, you should take a look at the APIs that you can use, and get a feel for what each one does. Although many of the Java 2 platform APIs can provide assistance for an internationalized program, the objectives are quite specific about those that might appear in the exam. For this reason, you consider the following APIs:

Properties, Locale, ResourceBundle, Unicode, java.text package, InputStreamReader and OutputStreamWriter.

The Properties Class

The Properties class is a simple derivative of the HashTable class. It stores objects, indexed for retrieval by a textual key. You can use instances of the Properties class for your own purposes in a program, but ...

Get Sun Certified Enterprise Architect for J2EE™ Technology Study Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.