类 YamlPropertySourceFactory

java.lang.Object
io.springboot.plugin.goview.config.YamlPropertySourceFactory
所有已实现的接口:
org.springframework.core.io.support.PropertySourceFactory

public class YamlPropertySourceFactory extends Object implements org.springframework.core.io.support.PropertySourceFactory
作者:
lengleng
  • 构造器详细资料

    • YamlPropertySourceFactory

      public YamlPropertySourceFactory()
  • 方法详细资料

    • createPropertySource

      public org.springframework.core.env.PropertySource<?> createPropertySource(@Nullable String name, org.springframework.core.io.support.EncodedResource resource) throws IOException
      指定者:
      createPropertySource 在接口中 org.springframework.core.io.support.PropertySourceFactory
      抛出:
      IOException
    • loadYamlIntoProperties

      private Properties loadYamlIntoProperties(org.springframework.core.io.support.EncodedResource resource) throws FileNotFoundException
      抛出:
      FileNotFoundException