public final class OperatingSystemUtils
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
OperatingSystemUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.Properties |
getSystemEnvVars() |
static java.util.Properties |
getSystemEnvVars(boolean caseSensitive)
Return the shell environment variables.
|
public static java.util.Properties getSystemEnvVars() throws java.io.IOException
java.io.IOException
public static java.util.Properties getSystemEnvVars(boolean caseSensitive) throws java.io.IOException
caseSensitive == true
, then envar
keys will all be upper-case.caseSensitive
- Whether environment variable keys should be treated case-sensitively.java.io.IOException