类 PropertiesPropertySource

    • 构造器详细资料

      • PropertiesPropertySource

        PropertiesPropertySource()
    • 方法详细资料

      • getProperty

        java.lang.String getProperty​(java.lang.String key)
        从类复制的说明: AbstractPropertySource
        get property, if the value can not be got by the special key, the null will be returned.
        指定者:
        getProperty 在类中 AbstractPropertySource
        参数:
        key - special key
        返回:
        value or null
      • getProperty

        private java.lang.String getProperty​(PropertiesPropertySource propertiesPropertySource,
                                             java.lang.String key)
      • containsKey

        boolean containsKey​(java.lang.String key)
        从类复制的说明: AbstractPropertySource
        Tests if the specified object is a key in this propertySource.
        指定者:
        containsKey 在类中 AbstractPropertySource
        参数:
        key - key – possible key
        返回:
        true if and only if the specified object is a key in this propertySource, false otherwise.
      • lookForProperties

        java.util.List<java.util.Properties> lookForProperties​(PropertiesPropertySource propertiesPropertySource,
                                                               java.util.List<java.util.Properties> propertiesList)
      • setProperty

        void setProperty​(java.lang.String key,
                         java.lang.String value)
      • addProperties

        void addProperties​(java.util.Properties source)