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()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}