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

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

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

Properties.substitute介绍

暂无

代码示例

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

public void substitute()
{
  substitute(callback);
}

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

public void substitute()
{
  substitute(callback);
}

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

public void substitute()
{
  substitute(callback);
}

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

public void substitute()
{
  substitute(callback);
}

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

configProps.substitute();

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

Properties configProps = PropertiesLoader.loadPropertiesOrFail(configPropPath.toFile());
configProps.put("java.specification.version", javase.version);
configProps.substitute();

代码示例来源:origin: org.apache.karaf.profile/org.apache.karaf.profile.core

Properties configProps = PropertiesLoader.loadPropertiesOrFail(configPropPath.toFile());
configProps.put("java.specification.version", javase.version);
configProps.substitute();

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

configProps.put("java.specification.version", javase);
configProps.substitute();

代码示例来源:origin: org.apache.karaf.tooling/karaf-maven-plugin

configProps.put("java.specification.version", javase);
configProps.substitute();

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

/**
 * Reads a properties file and stores its internal structure. The found
 * properties will be added to the associated configuration object.
 *
 * @param in the reader to the properties file
 * @throws java.io.IOException if an error occurs
 */
protected void loadLayout(Reader in) throws IOException
{
  PropertiesReader reader = new PropertiesReader(in);
  while (reader.nextProperty())
  {
    storage.put(reader.getPropertyName(), reader.getPropertyValue());
    int idx = checkHeaderComment(reader.getCommentLines());
    layout.put(reader.getPropertyName(),
        new Layout(idx < reader.getCommentLines().size() ?
                new ArrayList<String>(reader.getCommentLines().subList(idx, reader.getCommentLines().size())) :
                null,
              new ArrayList<String>(reader.getValueLines())));
  }
  footer = new ArrayList<String>(reader.getCommentLines());
  if (substitute)
  {
    substitute();
  }
}

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

substitute();

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

substitute();

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

substitute();

相关文章