本文整理了Java中aQute.lib.osgi.Jar.exists()
方法的一些代码示例,展示了Jar.exists()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Jar.exists()
方法的具体详情如下:
包路径:aQute.lib.osgi.Jar
类名称: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);
内容来源于网络,如有侵权,请联系作者删除!