public final class EnvironmentVariable extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NOT_PRESENT |
Modifier and Type | Method and Description |
---|---|
static String |
getEnv(String name)
Get the value of some variable in the full (os, user, java, ctakes) environment.
|
static String |
getEnv(String name,
org.apache.uima.UimaContext context)
Get the value of some variable in the full (os, user, java, ctakes) environment.
|
public static final String NOT_PRESENT
public static String getEnv(String name, org.apache.uima.UimaContext context)
name
- some variable namecontext
- -NOT_PRESENT
(null) if name is null or empty or not found.public static String getEnv(String name)
name
- some variable nameNOT_PRESENT
(null) if name is null or empty or not found.Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.