public static enum MessagePattern.ApostropheMode extends java.lang.Enum<MessagePattern.ApostropheMode>
| 枚举常量和说明 |
|---|
DOUBLE_OPTIONAL
A literal apostrophe is represented by
either a single or a double apostrophe pattern character.
|
DOUBLE_REQUIRED
A literal apostrophe must be represented by
a double apostrophe pattern character.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static MessagePattern.ApostropheMode |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static MessagePattern.ApostropheMode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MessagePattern.ApostropheMode DOUBLE_OPTIONAL
This is the default behavior starting with ICU 4.8.
public static final MessagePattern.ApostropheMode DOUBLE_REQUIRED
This is the behavior of ICU 4.6 and earlier, and of MessageFormat.
public static MessagePattern.ApostropheMode[] values()
for (MessagePattern.ApostropheMode c : MessagePattern.ApostropheMode.values()) System.out.println(c);
public static MessagePattern.ApostropheMode valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值