Interface Environment
-
public interface EnvironmentThe system environment Created by Karel Maesen, Geovise BVBA on 22/07/16.
-
-
Field Summary
Fields Modifier and Type Field Description static EnvironmentDEFAULTThe default implementation (equivalent toSystem.getenv()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>getEnvironment()Returns the environment variables as aMapjava.lang.StringgetEnvironment(java.lang.String key)Returns the environment variable specified by the key argument
-
-
-
Field Detail
-
DEFAULT
static final Environment DEFAULT
The default implementation (equivalent toSystem.getenv()
-
-
Method Detail
-
getEnvironment
java.util.Map<java.lang.String,java.lang.String> getEnvironment()
Returns the environment variables as aMap- Returns:
- the environment variables as a
Map
-
getEnvironment
java.lang.String getEnvironment(java.lang.String key)
Returns the environment variable specified by the key argument- Parameters:
key- the environment variable name- Returns:
- the value for the specified environment variable
-
-