public final class OperatingSystemUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Properties |
getSystemEnvVars() |
static Properties |
getSystemEnvVars(boolean caseSensitive)
Return the shell environment variables.
|
public static Properties getSystemEnvVars() throws IOException
IOException
public static Properties getSystemEnvVars(boolean caseSensitive) throws IOException
caseSensitive == true
, then envar
keys will all be upper-case.caseSensitive
- Whether environment variable keys should be treated case-sensitively.IOException
Copyright © 2019. All rights reserved.