| 软件包 | 描述 |
|---|---|
| java.text |
提供用于处理独立于自然语言的方式处理文本、日期、数字和消息的类和接口。
|
| javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
| Modifier and Type | Class and Description |
|---|---|
static class |
DateFormat.Field
定义常数,作为在
AttributedCharacterIterator属性的钥匙从
DateFormat.formatToCharacterIterator作为
FieldPosition字段标识符返回。
|
static class |
MessageFormat.Field
定义常数,作为在
AttributedCharacterIterator属性键返回
MessageFormat.formatToCharacterIterator。
|
static class |
NumberFormat.Field
定义常数,作为在
AttributedCharacterIterator属性的钥匙从
NumberFormat.formatToCharacterIterator作为
FieldPosition字段标识符返回。
|
| Modifier and Type | Method and Description |
|---|---|
Format.Field |
FieldPosition.getFieldAttribute()
返回作为一个属性之一,
Field类常量标识符字段。
|
| Constructor and Description |
|---|
FieldPosition(Format.Field attribute)
为给定的场恒定的力场排斥的对象。
|
FieldPosition(Format.Field attribute, int fieldID)
为给定的领域
FieldPosition对象。
|
| Modifier and Type | Method and Description |
|---|---|
Format.Field[] |
InternationalFormatter.getFields(int offset)
返回在
offset文本相关的
Format.Field常数。
|
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.