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

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

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

Analyzer.getPropertiesFile介绍

暂无

代码示例

代码示例来源: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

String value = getProperty(BUNDLE_SYMBOLICNAME);
if (value == null) {
  if (getPropertiesFile() != null)
    value = getPropertiesFile().getName();

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

String value = getProperty(BUNDLE_SYMBOLICNAME);
if (value == null) {
  if (getPropertiesFile() != null)
    value = getPropertiesFile().getName();

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

String value = getProperty(BUNDLE_SYMBOLICNAME);
if (value == null) {
  if (getPropertiesFile() != null)
    value = getPropertiesFile().getName();

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

String value = getProperty(BUNDLE_SYMBOLICNAME);
if (value == null) {
  if (getPropertiesFile() != null)
    value = getPropertiesFile().getName();

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

if (getPropertiesFile() != null) {
  String nm = getPropertiesFile().getName();
  if (nm.endsWith(Constants.DEFAULT_BND_EXTENSION)) {
    nm = nm.substring(0, nm.length() - Constants.DEFAULT_BND_EXTENSION.length())

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

if (getPropertiesFile() != null) {
  String nm = getPropertiesFile().getName();
  if (nm.endsWith(Constants.DEFAULT_BND_EXTENSION)) {
    nm = nm.substring(0, nm.length() - Constants.DEFAULT_BND_EXTENSION.length())

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

if (getPropertiesFile() != null) {
  String nm = getPropertiesFile().getName();
  if (nm.endsWith(Constants.DEFAULT_BND_EXTENSION)) {
    nm = nm.substring(0, nm.length()-Constants.DEFAULT_BND_EXTENSION.length()) + Constants.DEFAULT_JAR_EXTENSION;

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

if (getPropertiesFile() != null) {
  String nm = getPropertiesFile().getName();
  if (nm.endsWith(Constants.DEFAULT_BND_EXTENSION)) {
    nm = nm.substring(0, nm.length()-Constants.DEFAULT_BND_EXTENSION.length()) + Constants.DEFAULT_JAR_EXTENSION;

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

+ "picked up by an other sibling bundles in this project or projects that directly depend on this project",
    packageName, attributes.get(key), exporterAttributes.get(key));
if (getPropertiesFile() != null)
  location.file(getPropertiesFile().getAbsolutePath());
location.header(EXPORT_PACKAGE);
location.context(packageName);

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

+ "picked up by an other sibling bundles in this project or projects that directly depend on this project",
    packageName, attributes.get(key), exporterAttributes.get(key));
if (getPropertiesFile() != null)
  location.file(getPropertiesFile().getAbsolutePath());
location.header(EXPORT_PACKAGE);
location.context(packageName);

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

+ "picked up by an other sibling bundles in this project or projects that directly depend on this project",
  packageName, attributes.get(key), exporterAttributes.get(key));
if (getPropertiesFile() != null)
  location.file(getPropertiesFile().getAbsolutePath());
location.header(EXPORT_PACKAGE);
location.context(packageName);

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

+ "picked up by an other sibling bundles in this project or projects that directly depend on this project",
  packageName, attributes.get(key), exporterAttributes.get(key));
if (getPropertiesFile() != null)
  location.file(getPropertiesFile().getAbsolutePath());
location.header(EXPORT_PACKAGE);
location.context(packageName);

相关文章

Analyzer类方法