aQute.bnd.osgi.Analyzer.addClose()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(4.1k)|赞(0)|评价(0)|浏览(125)

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

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);

相关文章

Analyzer类方法