类 YamlPropertySourceFactory
java.lang.Object
tech.mhuang.pacebox.springboot.core.yaml.YamlPropertySourceFactory
- 所有已实现的接口:
org.springframework.core.io.support.PropertySourceFactory
public class YamlPropertySourceFactory
extends Object
implements org.springframework.core.io.support.PropertySourceFactory
yaml 读取工厂
- 从以下版本开始:
- 2021.0.5.0
- 作者:
- mhuang
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.core.env.PropertySource<?>createPropertySource(String name, org.springframework.core.io.support.EncodedResource resource)
-
构造器详细资料
-
YamlPropertySourceFactory
public YamlPropertySourceFactory()
-
-
方法详细资料
-
createPropertySource
public org.springframework.core.env.PropertySource<?> createPropertySource(String name, org.springframework.core.io.support.EncodedResource resource) throws IOException - 指定者:
createPropertySource在接口中org.springframework.core.io.support.PropertySourceFactory- 抛出:
IOException
-