| 接口 | 描述 |
|---|---|
| AttributedCharacterIterator |
AttributedCharacterIterator允许通过文本和相关属性信息进行迭代。
|
| CharacterIterator |
该接口定义了一种用于文本双向迭代的协议。
|
| 类 | 描述 |
|---|---|
| Annotation |
如果属性具有注释特征,则Annotation对象用作文本属性值的包装器。
|
| AttributedCharacterIterator.Attribute |
定义用于标识文本属性的属性键。
|
| AttributedString |
AttributedString保存文本和相关属性信息。
|
| Bidi |
该类实现了Unicode双向算法。
|
| BreakIterator |
BreakIterator类实现了在文本中查找边界位置的方法。
|
| ChoiceFormat |
A
ChoiceFormat允许您将格式附加到一系列数字。
|
| CollationElementIterator |
CollationElementIterator类用作遍历国际字符串的每个字符的迭代器。
|
| CollationKey |
一个
CollationKey代表一个
String根据一个特定的
Collator对象的规则。
|
| Collator |
Collator类执行区域设置敏感
String比较。
|
| DateFormat |
DateFormat是一种用于日期/时间格式化子类的抽象类,它以语言无关的方式格式化和分析日期或时间。
|
| DateFormat.Field |
定义在
AttributedCharacterIterator返回的
DateFormat.formatToCharacterIterator中用作属性键的
AttributedCharacterIterator ,以及FieldPosition中的字段
FieldPosition 。
|
| DateFormatSymbols |
DateFormatSymbols是用于封装可本地化的日期时间格式化数据的公共类,例如月份名称,星期几的名称和时区数据。
|
| DecimalFormat |
DecimalFormat是格式为十进制数的
NumberFormat的具体子类。
|
| DecimalFormatSymbols |
此类表示
DecimalFormat格式化数字所需的符号集(如小数分隔符,分组分隔符等)。
|
| FieldPosition |
FieldPosition是
Format及其子类使用的简单类,用于标识格式化输出中的字段。
|
| Format |
Format是用于格式化区域设置敏感信息(如日期,消息和数字)的抽象基类。
|
| Format.Field |
定义在
AttributedCharacterIterator返回的
Format.formatToCharacterIterator中用作属性键的
AttributedCharacterIterator ,以及FieldPosition中的字段
FieldPosition 。
|
| MessageFormat |
MessageFormat提供了一种以语言中立的方式产生级联消息的方法。
|
| MessageFormat.Field |
定义被用作属性键的常量
AttributedCharacterIterator从返回
MessageFormat.formatToCharacterIterator 。
|
| Normalizer |
该类提供了方法
normalize ,它将Unicode文本转换为等效的组合或分解形式,从而更容易对文本进行排序和搜索。
|
| NumberFormat |
NumberFormat是所有数字格式的抽象基类。
|
| NumberFormat.Field |
定义在
AttributedCharacterIterator返回的
NumberFormat.formatToCharacterIterator中用作属性键的
AttributedCharacterIterator ,以及FieldPosition中的字段
FieldPosition 。
|
| ParsePosition |
ParsePosition是
Format及其子类使用的简单类,用于在解析过程中跟踪当前位置。
|
| RuleBasedCollator |
所述
RuleBasedCollator类是的具体子类
Collator ,提供了一个简单的,数据驱动的表collator。
|
| SimpleDateFormat |
SimpleDateFormat是一个具体的类,用于以区域设置敏感的方式格式化和解析日期。
|
| StringCharacterIterator |
StringCharacterIterator实现
CharacterIterator协议为
String 。
|
| Enum | 描述 |
|---|---|
| Normalizer.Form |
该枚举提供的是,在所描述的四种Unicode范式常数
Unicode Standard Annex #15 — Unicode Normalization Forms种两个方法来访问它们。
|
| 异常 | 描述 |
|---|---|
| ParseException |
表示解析时意外出现错误。
|
这些类能够格式化日期,数字和消息,解析; 搜索和排序字符串; 并对字符,单词,句子和换行符进行迭代。 此包包含三个主要的类和接口组:
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.