aQute.lib.osgi.Jar.exists()方法的使用及代码示例

x33g5p2x  于2022-01-22 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(300)

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

Jar.exists介绍

暂无

代码示例

代码示例来源:origin: biz.aQute/bnd

private void verifyComponent() {
  String serviceComponent = getHeader("Service-Component");
  if (serviceComponent != null) {
    Map<String, Map<String, String>> map = parseHeader(serviceComponent);
    for (String component : map.keySet()) {
      if (component.indexOf("*") < 0 && !dot.exists(component)) {
        error("Service-Component entry can not be located in JAR: "
            + component);
      } else {
        // validate component ...
      }
    }
  }
}

代码示例来源:origin: biz.aQute/aQute.bnd

private void verifyComponent() {
  String serviceComponent = getHeader("Service-Component");
  if (serviceComponent != null) {
    Map<String, Map<String, String>> map = parseHeader(serviceComponent);
    for (String component : map.keySet()) {
      if (component.indexOf("*") < 0 && !dot.exists(component)) {
        error("Service-Component entry can not be located in JAR: "
            + component);
      } else {
        // validate component ...
      }
    }
  }
}

代码示例来源:origin: biz.aQute/aQute.bnd

|| analyzer.getJar().exists(name)) {

代码示例来源:origin: biz.aQute/bnd

if (dot != null && !dot.exists(name)) {
  error("Native library not found in JAR: " + name);

代码示例来源:origin: biz.aQute/aQute.bnd

if (dot != null && !dot.exists(name)) {
  error("Native library not found in JAR: " + name);

相关文章