public enum NormalizationType extends Enum<NormalizationType>
| Enum Constant and Description |
|---|
NAME_ONLY
Removes quotation marks and email links in headers.
|
NONE
Content will be added to the hash as-is.
|
NORMALIZE_CASE
Normalizes case of characters.
|
NORMALIZE_PRIORITY
Normalizes email priority values to a standard form.
|
REMOVE_WHITESPACE
Removes all whitespace and new lines.
|
REMOVE_WHITESPACE_AND_LINKS
Removes whitespace and links from body text.
|
| Modifier and Type | Method and Description |
|---|---|
static NormalizationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NormalizationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NormalizationType NONE
public static final NormalizationType REMOVE_WHITESPACE
public static final NormalizationType NAME_ONLY
public static final NormalizationType REMOVE_WHITESPACE_AND_LINKS
public static final NormalizationType NORMALIZE_PRIORITY
public static final NormalizationType NORMALIZE_CASE
public static NormalizationType[] values()
for (NormalizationType c : NormalizationType.values()) System.out.println(c);
public static NormalizationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017–2023 EntIT Software LLC, a Micro Focus company. All rights reserved.