public static enum Normalizer.Form extends Enum<Normalizer.Form>
Enum Constant and Description |
---|
NFC
经典分解,其次是规范组成。
|
NFD
规范分解。
|
NFKC
兼容性分解,其次是规范组成。
|
NFKD
兼容性分解
|
Modifier and Type | Method and Description |
---|---|
static Normalizer.Form |
valueOf(String name)
以指定的名称返回此类型的枚举常量。
|
static Normalizer.Form[] |
values()
按照它们声明的顺序返回一个包含此枚举类型常量的数组。
|
public static final Normalizer.Form NFD
public static final Normalizer.Form NFC
public static final Normalizer.Form NFKD
public static final Normalizer.Form NFKC
public static Normalizer.Form[] values()
for (Normalizer.Form c : Normalizer.Form.values())
System.out.println(c);
public static Normalizer.Form valueOf(String name)
name
- 要返回的枚举常量的名称。
IllegalArgumentException
- 如果此枚举类型没有指定名称的常量
NullPointerException
- 如果参数为null
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.