站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Tutorial 5.0 英文版

Working with Text - Java Tutorial 5.0 英文版

The JavaTM Tutorial
Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail Search
Feedback Form

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.

Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail Search
Feedback Form

Copyright 1995-2005 Sun Microsystems, Inc. All rights reserved.