Index
All Classes and Interfaces|All Packages
A
- AppRootHandler - Class in cool.scx.config.handler
- appRootPath() - Method in class cool.scx.config.ScxEnvironment
- ArgsConfigSource - Class in cool.scx.config.source
C
- configMapping() - Method in class cool.scx.config.ScxConfig
- configMapping() - Method in interface cool.scx.config.ScxConfigSource
- configMapping() - Method in class cool.scx.config.source.ArgsConfigSource
- configMapping() - Method in class cool.scx.config.source.JsonFileConfigSource
- configMapping() - Method in class cool.scx.config.source.MapConfigSource
- ConvertValueHandler<T> - Class in cool.scx.config.handler
- cool.scx.config - package cool.scx.config
- cool.scx.config.handler - package cool.scx.config.handler
- cool.scx.config.source - package cool.scx.config.source
D
- DecryptValueHandler - Class in cool.scx.config.handler
- defaultValue() - Method in interface cool.scx.config.ScxFeature
-
默认值
- DefaultValueHandler<T> - Class in cool.scx.config.handler
G
- get(ScxFeature<T>) - Method in class cool.scx.config.ScxFeatureConfig
-
获取特性的值 如果没有显式设置 则返回默认值
- get(String) - Method in class cool.scx.config.ScxConfig
-
从配置文件中获取配置值 没有找到会返回 null
- get(String, ScxConfigValueHandler<T>) - Method in class cool.scx.config.ScxConfig
-
a
- get(String, Class<T>) - Method in class cool.scx.config.ScxConfig
-
获取指定类型的配置文件 , 并尝试根据 cool.scx.type 进行转换
- getOrDefault(String, T) - Method in class cool.scx.config.ScxConfig
-
从默认配置文件获取配置值 并自动判断类型 没有找到配置文件会返回 默认值
- getPathByAppRoot(String) - Method in class cool.scx.config.ScxEnvironment
-
getFileByAppRoot.
- getTempPath() - Method in class cool.scx.config.ScxEnvironment
-
获取临时路径
- getTempPath(String...) - Method in class cool.scx.config.ScxEnvironment
-
获取临时路径
H
- handle(String, Object) - Method in class cool.scx.config.handler.AppRootHandler
- handle(String, Object) - Method in class cool.scx.config.handler.ConvertValueHandler
- handle(String, Object) - Method in class cool.scx.config.handler.DecryptValueHandler
- handle(String, Object) - Method in class cool.scx.config.handler.DefaultValueHandler
- handle(String, Object) - Method in interface cool.scx.config.ScxConfigValueHandler
J
- JsonFileConfigSource - Class in cool.scx.config.source
M
- MapConfigSource - Class in cool.scx.config.source
N
- name() - Method in interface cool.scx.config.ScxFeature
-
a
O
- of(TypeReference<H>) - Static method in class cool.scx.config.handler.ConvertValueHandler
- of(ScxEnvironment) - Static method in class cool.scx.config.handler.AppRootHandler
- of(ScxEnvironment, String) - Static method in class cool.scx.config.handler.AppRootHandler
- of(ScxEnvironment, Path) - Static method in class cool.scx.config.handler.AppRootHandler
- of(H) - Static method in class cool.scx.config.handler.DefaultValueHandler
- of(Class<H>) - Static method in class cool.scx.config.handler.ConvertValueHandler
- of(String) - Static method in class cool.scx.config.handler.DecryptValueHandler
- of(String...) - Static method in class cool.scx.config.source.ArgsConfigSource
- of(Path) - Static method in class cool.scx.config.source.JsonFileConfigSource
- of(Map<String, Object>) - Static method in class cool.scx.config.source.MapConfigSource
R
- remove(ScxFeature<T>) - Method in class cool.scx.config.ScxFeatureConfig
S
- ScxConfig - Class in cool.scx.config
-
配置文件类
- ScxConfig(ScxConfigSource...) - Constructor for class cool.scx.config.ScxConfig
-
a
- ScxConfigSource - Interface in cool.scx.config
-
配置源
- ScxConfigValueHandler<T> - Interface in cool.scx.config
- ScxEnvironment - Class in cool.scx.config
-
项目环境
- ScxEnvironment(Class<?>) - Constructor for class cool.scx.config.ScxEnvironment
-
根据 class 推断 class 根目录
- ScxFeature<T> - Interface in cool.scx.config
-
ScxFeature
- ScxFeatureConfig - Class in cool.scx.config
- ScxFeatureConfig() - Constructor for class cool.scx.config.ScxFeatureConfig
- set(ScxFeature<T>, T) - Method in class cool.scx.config.ScxFeatureConfig
All Classes and Interfaces|All Packages