类 OrderedPropertiesConfiguration

    • 构造器详细资料

      • OrderedPropertiesConfiguration

        public OrderedPropertiesConfiguration​(ModuleModel moduleModel)
    • 方法详细资料

      • refresh

        public void refresh()
      • getProperty

        public String getProperty​(String key)
        从接口复制的说明: Configuration
        Gets a property from the configuration. This is the most basic get method for retrieving values of properties. In a typical implementation of the Configuration interface the other get methods (that return specific data types) will internally make use of this method. On this level variable substitution is not yet performed. The returned object is an internal representation of the property value for the passed in key. It is owned by the Configuration object. So a caller should not modify this object. It cannot be guaranteed that this object will stay constant over time (i.e. further update operations on the configuration may change its internal state).
        指定者:
        getProperty 在接口中 Configuration
        参数:
        key - property to retrieve
        返回:
        the value to which this configuration maps the specified key, or null if the configuration contains no mapping for this key.
      • setProperty

        public void setProperty​(String key,
                                String value)
      • setProperties

        @Deprecated
        public void setProperties​(Properties properties)
        已过时。
        For ut only