public final class EnvUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PREFIX_ENV |
| Modifier and Type | Method and Description |
|---|---|
static String |
evaluate(String strSource)
Evaluate a string that may contain a reference to an environement variable enclosed by ${...}
|
static String |
evaluate(String strSource,
String strEnvPrefix)
Evaluate a string that may contain a reference to an environement variable enclosed by ${...}.
|
public static final String PREFIX_ENV
public static String evaluate(String strSource)
strSource - The source stringpublic static String evaluate(String strSource, String strEnvPrefix)
strSource - The source stringstrEnvPrefix - A prefix of the environmentCopyright © 2020 City of Paris. All rights reserved.