public enum TrimmingStrategy extends Enum<TrimmingStrategy>
| Enum Constant and Description |
|---|
DEFAULT |
DELETE_SPACES_AT_END |
DIRECTORIES |
PASSWORD |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
trim(String stringToTrim) |
static TrimmingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrimmingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrimmingStrategy DEFAULT
public static final TrimmingStrategy DIRECTORIES
public static final TrimmingStrategy PASSWORD
public static final TrimmingStrategy DELETE_SPACES_AT_END
public static TrimmingStrategy[] values()
for (TrimmingStrategy c : TrimmingStrategy.values()) System.out.println(c);
public static TrimmingStrategy 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 © 2022 Apache Software Foundation. All rights reserved.