public class EnvironmentUtils extends Object
| Constructor and Description |
|---|
EnvironmentUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addEnvVars(Properties props)
Adds the environment variables in the form of properties whose keys are prefixed with
env., e.g. |
public EnvironmentUtils()
public static void addEnvVars(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.Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.