public class EnvironmentUtils
extends java.lang.Object
| Constructor | Description |
|---|---|
EnvironmentUtils() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
addEnvVars(java.util.Properties props) |
Adds the environment variables in the form of properties whose keys are prefixed with
env., e.g. |
public static void addEnvVars(java.util.Properties props)
env., e.g.
env.PATH. Unlike native environment variables, properties are always case-sensitive. For the sake of
determinism, the environment variable names will be normalized to upper case on platforms with case-insensitive
variable lookup.props - The properties to add the environment variables to, may be null.