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

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

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

Analyzer.getBase介绍

暂无

代码示例

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

@Override
public void setBase(File file) {
  super.setBase(file);
  getProperties().put("project.dir", getBase().getAbsolutePath());
}

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

@Override
public void setBase(File file) {
  super.setBase(file);
  getProperties().put("project.dir", getBase().getAbsolutePath());
}

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

@Override
public void setBase(File file) {
  super.setBase(file);
  getProperties().put("project.dir", getBase().getAbsolutePath());
}

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

/**
 * Clear the key part of a header. I.e. remove everything from the first ';'
 * 
 * @param value
 * @return
 */
public String getBsn() {
  String value = getProperty(BUNDLE_SYMBOLICNAME);
  if (value == null) {
    if (getPropertiesFile() != null)
      value = getPropertiesFile().getName();
    String projectName = getBase().getName();
    if (value == null || value.equals("bnd.bnd")) {
      value = projectName;
    } else if (value.endsWith(".bnd")) {
      value = value.substring(0, value.length() - 4);
      if (!value.startsWith(getBase().getName()))
        value = projectName + "." + value;
    }
  }
  if (value == null)
    return "untitled";
  int n = value.indexOf(';');
  if (n > 0)
    value = value.substring(0, n);
  return value.trim();
}

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

@Override
public void setBase(File file) {
  super.setBase(file);
  getProperties().put("project.dir", IO.absolutePath(getBase()));
}

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

value = getPropertiesFile().getName();
String projectName = getBase().getName();
if (value == null || value.equals("bnd.bnd")) {
  value = projectName;

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

@Override
public void setBase(File file) {
  super.setBase(file);
  getProperties().put("project.dir", IO.absolutePath(getBase()));
}

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

value = getPropertiesFile().getName();
String projectName = getBase().getName();
if (value == null || value.equals("bnd.bnd")) {
  value = projectName;

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

value = getPropertiesFile().getName();
String projectName = getBase().getName();
if (value == null || value.equals("bnd.bnd")) {
  value = projectName;

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

value = getPropertiesFile().getName();
String projectName = getBase().getName();
if (value == null || value.equals("bnd.bnd")) {
  value = projectName;

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

File file = new File(name);
if (!file.isAbsolute())
  file = new File(getBase(), name);

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

return outputFile;
} else
  outputDir = getBase();

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

return outputFile;
} else
  outputDir = getBase();

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

return outputFile;
} else
  outputDir = getBase();

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

return outputFile;
} else
  outputDir = getBase();

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

return outputFile;
} else
  outputDir = getBase();

相关文章

Analyzer类方法