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

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

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

Analyzer.getFile介绍

暂无

代码示例

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

/**
 * Find the source file for this type
 * 
 * @param type
 * @throws Exception
 */
public String getSourceFileFor(TypeRef type) throws Exception {
  Set<File> sp = Collections.singleton(getFile(getProperty(DEFAULT_PROP_SRC_DIR, "src")));
  return getSourceFileFor(type, sp);
}

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

/**
 * Find the source file for this type
 * 
 * @param type
 * @throws Exception
 */
public String getSourceFileFor(TypeRef type) throws Exception {
  Set<File> sp = Collections.singleton(getFile(getProperty(DEFAULT_PROP_SRC_DIR, "src")));
  return getSourceFileFor(type, sp);
}

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

File outputFile = getFile(output);
  if (outputFile.isDirectory())
    outputDir = outputFile;
File f = getFile(outputDir, "Untitled");
while (f.isFile()) {
  f = getFile(outputDir, "Untitled-" + n++);

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

File outputFile = getFile(output);
  if (outputFile.isDirectory())
    outputDir = outputFile;
File f = getFile(outputDir, "Untitled");
while (f.isFile()) {
  f = getFile(outputDir, "Untitled-" + n++);

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

public void addClasspath(Collection<?> jars) throws IOException {
  for (Object jar : jars) {
    if (jar instanceof Jar)
      addClasspath((Jar) jar);
    else if (jar instanceof File)
      addClasspath((File) jar);
    else if (jar instanceof String)
      addClasspath(getFile((String) jar));
    else
      error("Cannot convert to JAR to add to classpath %s. Not a File, Jar, or String", jar);
  }
}

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

public void addClasspath(Collection< ? > jars) throws IOException {
  for (Object jar : jars) {
    if (jar instanceof Jar)
      addClasspath((Jar) jar);
    else if (jar instanceof File)
      addClasspath((File) jar);
    else if (jar instanceof String)
      addClasspath(getFile((String) jar));
    else
      error("Cannot convert to JAR to add to classpath %s. Not a File, Jar, or String", jar);
  }
}

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

File outputFile = getFile(output);
  if (outputFile.isDirectory())
    outputDir = outputFile;
File f = getFile(outputDir, "Untitled");
while (f.isFile()) {
  f = getFile(outputDir, "Untitled-" + n++);

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

public void addClasspath(Collection< ? > jars) throws IOException {
  for (Object jar : jars) {
    if (jar instanceof Jar)
      addClasspath((Jar) jar);
    else if (jar instanceof File)
      addClasspath((File) jar);
    else if (jar instanceof String)
      addClasspath(getFile((String) jar));
    else
      error("Cannot convert to JAR to add to classpath %s. Not a File, Jar, or String", jar);
  }
}

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

public void addClasspath(Collection< ? > jars) throws IOException {
  for (Object jar : jars) {
    if (jar instanceof Jar)
      addClasspath((Jar) jar);
    else if (jar instanceof File)
      addClasspath((File) jar);
    else if (jar instanceof String)
      addClasspath(getFile((String) jar));
    else
      error("Cannot convert to JAR to add to classpath %s. Not a File, Jar, or String", jar);
  }
}

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

File outputFile = getFile(output);
  if (outputFile.isDirectory())
    outputDir = outputFile;
File f = getFile(outputDir, "Untitled");
while (f.isFile()) {
  f = getFile(outputDir, "Untitled-" + n++);

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

public void addClasspath(Collection<?> jars) throws IOException {
  for (Object jar : jars) {
    if (jar instanceof Jar)
      addClasspath((Jar) jar);
    else if (jar instanceof File)
      addClasspath((File) jar);
    else if (jar instanceof String)
      addClasspath(getFile((String) jar));
    else
      error("Cannot convert to JAR to add to classpath %s. Not a File, Jar, or String", jar);
  }
}

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

File outputFile = getFile(output);
  if (outputFile.isDirectory())
    outputDir = outputFile;
File f = getFile(outputDir, "Untitled");
while (f.isFile()) {
  f = getFile(outputDir, "Untitled-" + n++);

相关文章

Analyzer类方法