类 YamlPropertySourceFactory

  • 所有已实现的接口:
    org.springframework.core.io.support.PropertySourceFactory

    public class YamlPropertySourceFactory
    extends java.lang.Object
    implements org.springframework.core.io.support.PropertySourceFactory
    PropertySourceFactory for YAML
    从以下版本开始:
    1.0.0
    作者:
    Mercy
    另请参阅:
    PropertySourceFactory, PropertySource
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      org.springframework.core.env.PropertySource<?> createPropertySource​(java.lang.String name, org.springframework.core.io.support.EncodedResource resource)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • YamlPropertySourceFactory

        public YamlPropertySourceFactory()
    • 方法详细资料

      • createPropertySource

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