public static enum Format.TextMode extends java.lang.Enum<Format.TextMode>
枚举常量和说明 |
---|
NORMALIZE
Mode for text normalization (left and right trim plus internal
whitespace is normalized to a single space.
|
PRESERVE
Mode for literal text preservation.
|
TRIM
Mode for text trimming (left and right trim).
|
TRIM_FULL_WHITE
Mode for text trimming of content consisting of nothing but
whitespace but otherwise not changing output.
|
限定符和类型 | 方法和说明 |
---|---|
static Format.TextMode |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Format.TextMode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Format.TextMode PRESERVE
public static final Format.TextMode TRIM
public static final Format.TextMode NORMALIZE
public static final Format.TextMode TRIM_FULL_WHITE
public static Format.TextMode[] values()
for (Format.TextMode c : Format.TextMode.values()) System.out.println(c);
public static Format.TextMode valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值