本文整理了Java中aQute.bnd.osgi.Analyzer.getPropertiesFile()
方法的一些代码示例,展示了Analyzer.getPropertiesFile()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Analyzer.getPropertiesFile()
方法的具体详情如下:
包路径:aQute.bnd.osgi.Analyzer
类名称: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);
内容来源于网络,如有侵权,请联系作者删除!