public enum PropertyReplacer extends Enum<PropertyReplacer>
| Modifier and Type | Method and Description |
|---|---|
static @NotNull String |
fileAsString(String fileName) |
static String |
replaceTokensWithProperties(String expression) |
static PropertyReplacer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyReplacer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static PropertyReplacer[] values()
for (PropertyReplacer c : PropertyReplacer.values()) System.out.println(c);
public static PropertyReplacer 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 null@NotNull public static @NotNull String fileAsString(String fileName) throws IOException
IOExceptionCopyright © 2020. All rights reserved.