public class EnvironmentVariable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NOT_PRESENT |
Constructor and Description |
---|
EnvironmentVariable() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getEnv(java.lang.String name)
Get the value of some variable in the full (os, user, java, ctakes) environment.
|
static java.lang.String |
getEnv(java.lang.String name,
UimaContext context)
Get the value of some variable in the full (os, user, java, ctakes) environment.
|
public static java.lang.String getEnv(java.lang.String name, UimaContext context)
name
- some variable namecontext
- -NOT_PRESENT
(null) if name is null or empty or not found.public static java.lang.String getEnv(java.lang.String name)
name
- some variable nameNOT_PRESENT
(null) if name is null or empty or not found.