public interface Env
| 限定符和类型 | 方法和说明 |
|---|---|
default Map<String,String> |
asMap() |
default Properties |
asProperties() |
static DelegateEnv |
delegate(Env properties) |
static DelegateEnv |
delegate(String name,
Env properties) |
static Env |
file(String path) |
static Env |
file(String name,
String path) |
String |
get(String key) |
default String |
get(String key,
String defaultValue) |
Set<String> |
keys() |
default String |
name() |
default void |
remove(String key) |
default void |
set(String key,
String value) |
static Env |
wrap(Map<String,String> properties) |
static Env |
wrap(Properties properties) |
static Env |
wrap(String name,
Map<String,String> properties) |
static Env |
wrap(String name,
Properties properties) |
default String name()
default void remove(String key)
default Properties asProperties()
static Env wrap(Properties properties)
static Env wrap(String name, Properties properties)
static DelegateEnv delegate(Env properties)
static DelegateEnv delegate(String name, Env properties)
Copyright © 2025 fossc. All rights reserved.