Documentation

The Java™ Tutorials
Hide TOC
Working with Text
Trail: Internationalization

Lesson: Working with Text

Nearly all programs with user interfaces manipulate text. In an international market the text your programs display must conform to the rules of languages from around the world. The Java programming language provides a number of classes that help you handle text in a locale-independent manner.

Checking Character Properties

This section explains how to use the Character comparison methods to check character properties for all major languages.

Comparing Strings

In this section you'll learn how to perform locale-independent string comparisons with the Collator class.

Detecting Text Boundaries

This section shows how the BreakIterator class can detect character, word, sentence, and line boundaries.

Converting Non-Unicode Text

Different computer systems around the world store text in a variety of encoding schemes. This section describes the classes that help you convert text between Unicode and other encodings.

Normalizer's API

This section explains how to use the Normalizer's API to transform text applying different normalization forms.

Working with Bidirectional Text with JTextComponent Class

This section discusses how to work with bidirectional text, which is text that contains text that runs in two directions, left-to-right and right-to-left.


Previous page: Previous Lesson
Next page: Checking Character Properties