接口 Environment
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Provides access to environment variable values.
- 从以下版本开始:
- 2.3.0
- 作者:
- Scott Frederick, Phillip Webb
-
字段概要
字段修饰符和类型字段说明static final Environment
StandardEnvironment
implementation backed bySystem.getenv(String)
. -
方法概要
-
字段详细资料
-
SYSTEM
StandardEnvironment
implementation backed bySystem.getenv(String)
.
-
-
方法详细资料
-
get
Gets the value of the specified environment variable.- 参数:
name
- the name of the environment variable- 返回:
- the string value of the variable, or
null
if the variable is not defined in the environment
-