public static class MessageFormat.Field extends Format.Field
AttributedCharacterIterator从返回
MessageFormat.formatToCharacterIterator 。
| Modifier and Type | Field and Description |
|---|---|
static MessageFormat.Field |
ARGUMENT
常量标识从传递到
formatToCharacterIterator的参数生成的消息的一部分。
|
INPUT_METHOD_SEGMENT, LANGUAGE, READING| Modifier and Type | Method and Description |
|---|---|
protected Object |
readResolve()
解析反序列化为预定义常量的实例。
|
equals, getName, hashCode, toStringpublic static final MessageFormat.Field ARGUMENT
formatToCharacterIterator的参数生成的消息的一部分。
与该关键字相关联的值将是一个Integer ,它指示生成文本的参数的arguments数组中的索引。
protected Field(String name)
name -
name名称
protected Object readResolve() throws InvalidObjectException
readResolve在
AttributedCharacterIterator.Attribute
InvalidObjectException - 如果常数无法解决。
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.