public class EnvironmentReader extends Object
| Constructor and Description |
|---|
EnvironmentReader() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getEnvCommand()
Command string to get OS Environment properties
|
static String |
getEnvVar(String key)
Get value of environment property
|
static Properties |
getEnvVars()
Get value of environment properties
|
static String[] |
getRawEnvVars()
getRawEnvVars returns an array of lines read from the shell.
|
public static Properties getEnvVars()
public static String getEnvCommand()
public static String getEnvVar(String key)
key - property namepublic static String[] getRawEnvVars()
MMBase2 Utils 2.0.0 - 2019-08-08T23:20