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