org.apache.felix.utils.properties.Properties.putAllSubstituted()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(124)

本文整理了Java中org.apache.felix.utils.properties.Properties.putAllSubstituted()方法的一些代码示例,展示了Properties.putAllSubstituted()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Properties.putAllSubstituted()方法的具体详情如下:
包路径:org.apache.felix.utils.properties.Properties
类名称:Properties
方法名:putAllSubstituted

Properties.putAllSubstituted介绍

暂无

代码示例

代码示例来源:origin: apache/felix

public static void substitute(Map<String, TypedProperties> properties,
               Map<String, Map<String, String>> dynamic,
               SubstitutionCallback callback,
               boolean finalSubstitution) {
  for (Map<String, String> map : dynamic.values()) {
    ((DynamicMap) map).init(callback, finalSubstitution);
  }
  for (Map.Entry<String, TypedProperties> entry : properties.entrySet()) {
    entry.getValue().storage.putAllSubstituted(dynamic.get(entry.getKey()));
  }
}

代码示例来源:origin: org.apache.felix/org.apache.felix.fileinstall

public static void substitute(Map<String, TypedProperties> properties,
               Map<String, Map<String, String>> dynamic,
               SubstitutionCallback callback,
               boolean finalSubstitution) {
  for (Map<String, String> map : dynamic.values()) {
    ((DynamicMap) map).init(callback, finalSubstitution);
  }
  for (Map.Entry<String, TypedProperties> entry : properties.entrySet()) {
    entry.getValue().storage.putAllSubstituted(dynamic.get(entry.getKey()));
  }
}

代码示例来源:origin: org.apache.felix/org.apache.felix.utils

public static void substitute(Map<String, TypedProperties> properties,
               Map<String, Map<String, String>> dynamic,
               SubstitutionCallback callback,
               boolean finalSubstitution) {
  for (Map<String, String> map : dynamic.values()) {
    ((DynamicMap) map).init(callback, finalSubstitution);
  }
  for (Map.Entry<String, TypedProperties> entry : properties.entrySet()) {
    entry.getValue().storage.putAllSubstituted(dynamic.get(entry.getKey()));
  }
}

相关文章