本文整理了Java中aQute.bnd.osgi.Analyzer.addClose()
方法的一些代码示例,展示了Analyzer.addClose()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Analyzer.addClose()
方法的具体详情如下:
包路径:aQute.bnd.osgi.Analyzer
类名称:Analyzer
方法名:addClose
暂无
代码示例来源:origin: biz.aQute/bndlib
/**
* Set the JAR directly we are going to work on.
*
* @param jar
* @return
*/
public Jar setJar(Jar jar) {
if (dot != null)
removeClose(dot);
this.dot = jar;
if (dot != null)
addClose(dot);
return jar;
}
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib
/**
* Set the JAR directly we are going to work on.
*
* @param jar
*/
public Jar setJar(Jar jar) {
if (dot != null)
removeClose(dot);
this.dot = jar;
if (dot != null)
addClose(dot);
return jar;
}
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd
/**
* Set the JAR directly we are going to work on.
*
* @param jar
*/
public Jar setJar(Jar jar) {
if (dot != null)
removeClose(dot);
this.dot = jar;
if (dot != null)
addClose(dot);
return jar;
}
代码示例来源:origin: biz.aQute.bnd/bndlib
/**
* Set the JAR directly we are going to work on.
*
* @param jar
* @return
*/
public Jar setJar(Jar jar) {
if (dot != null)
removeClose(dot);
this.dot = jar;
if (dot != null)
addClose(dot);
return jar;
}
代码示例来源:origin: biz.aQute.bnd/bnd
/**
* Set the JAR directly we are going to work on.
*
* @param jar
* @return
*/
public Jar setJar(Jar jar) {
if (dot != null)
removeClose(dot);
this.dot = jar;
if (dot != null)
addClose(dot);
return jar;
}
代码示例来源:origin: biz.aQute/bndlib
public void addClasspath(File cp) throws IOException {
if (!cp.exists())
warning("File on classpath that does not exist: " + cp);
Jar jar = new Jar(cp);
addClose(jar);
classpath.add(jar);
}
代码示例来源:origin: biz.aQute.bnd/bnd
public void addClasspath(File cp) throws IOException {
if (!cp.exists())
warning("File on classpath that does not exist: " + cp);
Jar jar = new Jar(cp);
addClose(jar);
classpath.add(jar);
}
代码示例来源:origin: biz.aQute.bnd/bndlib
public void addClasspath(File cp) throws IOException {
if (!cp.exists())
warning("File on classpath that does not exist: " + cp);
Jar jar = new Jar(cp);
addClose(jar);
classpath.add(jar);
}
代码示例来源:origin: biz.aQute.bnd/bnd
/**
* Set the JAR file we are going to work in. This will read the JAR in
* memory.
*
* @param jar
* @return
* @throws IOException
*/
public Jar setJar(File jar) throws IOException {
Jar jarx = new Jar(jar);
addClose(jarx);
return setJar(jarx);
}
代码示例来源:origin: biz.aQute/bndlib
/**
* Set the JAR file we are going to work in. This will read the JAR in
* memory.
*
* @param jar
* @return
* @throws IOException
*/
public Jar setJar(File jar) throws IOException {
Jar jarx = new Jar(jar);
addClose(jarx);
return setJar(jarx);
}
代码示例来源:origin: biz.aQute.bnd/bndlib
/**
* Set the JAR file we are going to work in. This will read the JAR in
* memory.
*
* @param jar
* @return
* @throws IOException
*/
public Jar setJar(File jar) throws IOException {
Jar jarx = new Jar(jar);
addClose(jarx);
return setJar(jarx);
}
代码示例来源:origin: biz.aQute/bndlib
try {
Jar jar = new Jar(file);
addClose(jar);
return jar;
addClose(jar);
URLConnection connection = url.openConnection();
InputStream in = connection.getInputStream();
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib
public void addClasspath(Jar jar) {
if (isPedantic() && jar.getResources()
.isEmpty())
warning("There is an empty jar or directory on the classpath: %s", jar.getName());
addClose(jar);
classpath.add(jar);
updateModified(jar.lastModified(), jar.toString());
}
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd
public void addClasspath(Jar jar) {
if (isPedantic() && jar.getResources()
.isEmpty())
warning("There is an empty jar or directory on the classpath: %s", jar.getName());
addClose(jar);
classpath.add(jar);
updateModified(jar.lastModified(), jar.toString());
}
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib
try {
Jar jar = Jar.fromResource(path, resource);
addClose(jar);
analyzeJar(jar, "", true);
} catch (Exception e) {
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd
try {
Jar jar = Jar.fromResource(path, resource);
addClose(jar);
analyzeJar(jar, "", true);
} catch (Exception e) {
代码示例来源:origin: biz.aQute.bnd/bndlib
try {
Jar jar = new Jar(path);
addClose(jar);
EmbeddedResource.build(jar, resource);
analyzeJar(jar, "", true);
代码示例来源:origin: biz.aQute/bndlib
try {
Jar jar = new Jar(path);
addClose(jar);
EmbeddedResource.build(jar, resource);
analyzeJar(jar, "", true);
代码示例来源:origin: biz.aQute.bnd/bnd
try {
Jar jar = new Jar(path);
addClose(jar);
EmbeddedResource.build(jar, resource);
analyzeJar(jar, "", true);
内容来源于网络,如有侵权,请联系作者删除!