本文整理了Java中aQute.bnd.osgi.Jar.clean()
方法的一些代码示例,展示了Jar.clean()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Jar.clean()
方法的具体详情如下:
包路径:aQute.bnd.osgi.Jar
类名称:Jar
方法名:clean
暂无
代码示例来源:origin: biz.aQute.bnd/bnd
public static void writeManifest(Manifest manifest, OutputStream out) throws IOException {
if (manifest == null)
return;
manifest = clean(manifest);
outputManifest(manifest, out);
}
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib
public static void writeManifest(Manifest manifest, OutputStream out) throws IOException {
if (manifest == null)
return;
manifest = clean(manifest);
outputManifest(manifest, out);
}
代码示例来源:origin: biz.aQute.bnd/bndlib
public static void writeManifest(Manifest manifest, OutputStream out) throws IOException {
if (manifest == null)
return;
manifest = clean(manifest);
outputManifest(manifest, out);
}
代码示例来源:origin: biz.aQute/bndlib
public static void writeManifest(Manifest manifest, OutputStream out) throws IOException {
if (manifest == null)
return;
manifest = clean(manifest);
outputManifest(manifest, out);
}
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd
public static void writeManifest(Manifest manifest, OutputStream out) throws IOException {
if (manifest == null)
return;
manifest = clean(manifest);
outputManifest(manifest, out);
}
代码示例来源:origin: biz.aQute.bnd/bndlib
private static Manifest clean(Manifest org) {
Manifest result = new Manifest();
for (Map.Entry< ? , ? > entry : org.getMainAttributes().entrySet()) {
String nice = clean((String) entry.getValue());
result.getMainAttributes().put(entry.getKey(), nice);
}
for (String name : org.getEntries().keySet()) {
Attributes attrs = result.getAttributes(name);
if (attrs == null) {
attrs = new Attributes();
result.getEntries().put(name, attrs);
}
for (Map.Entry< ? , ? > entry : org.getAttributes(name).entrySet()) {
String nice = clean((String) entry.getValue());
attrs.put(entry.getKey(), nice);
}
}
return result;
}
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib
private static Manifest clean(Manifest org) {
Manifest result = new Manifest();
for (Map.Entry<?, ?> entry : org.getMainAttributes()
.entrySet()) {
String nice = clean((String) entry.getValue());
result.getMainAttributes()
.put(entry.getKey(), nice);
}
for (String name : org.getEntries()
.keySet()) {
Attributes attrs = result.getAttributes(name);
if (attrs == null) {
attrs = new Attributes();
result.getEntries()
.put(name, attrs);
}
for (Map.Entry<?, ?> entry : org.getAttributes(name)
.entrySet()) {
String nice = clean((String) entry.getValue());
attrs.put(entry.getKey(), nice);
}
}
return result;
}
代码示例来源:origin: biz.aQute/bndlib
private static Manifest clean(Manifest org) {
Manifest result = new Manifest();
for (Map.Entry< ? , ? > entry : org.getMainAttributes().entrySet()) {
String nice = clean((String) entry.getValue());
result.getMainAttributes().put(entry.getKey(), nice);
}
for (String name : org.getEntries().keySet()) {
Attributes attrs = result.getAttributes(name);
if (attrs == null) {
attrs = new Attributes();
result.getEntries().put(name, attrs);
}
for (Map.Entry< ? , ? > entry : org.getAttributes(name).entrySet()) {
String nice = clean((String) entry.getValue());
attrs.put(entry.getKey(), nice);
}
}
return result;
}
代码示例来源:origin: biz.aQute.bnd/bnd
private static Manifest clean(Manifest org) {
Manifest result = new Manifest();
for (Map.Entry< ? , ? > entry : org.getMainAttributes().entrySet()) {
String nice = clean((String) entry.getValue());
result.getMainAttributes().put(entry.getKey(), nice);
}
for (String name : org.getEntries().keySet()) {
Attributes attrs = result.getAttributes(name);
if (attrs == null) {
attrs = new Attributes();
result.getEntries().put(name, attrs);
}
for (Map.Entry< ? , ? > entry : org.getAttributes(name).entrySet()) {
String nice = clean((String) entry.getValue());
attrs.put(entry.getKey(), nice);
}
}
return result;
}
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd
private static Manifest clean(Manifest org) {
Manifest result = new Manifest();
for (Map.Entry<?, ?> entry : org.getMainAttributes()
.entrySet()) {
String nice = clean((String) entry.getValue());
result.getMainAttributes()
.put(entry.getKey(), nice);
}
for (String name : org.getEntries()
.keySet()) {
Attributes attrs = result.getAttributes(name);
if (attrs == null) {
attrs = new Attributes();
result.getEntries()
.put(name, attrs);
}
for (Map.Entry<?, ?> entry : org.getAttributes(name)
.entrySet()) {
String nice = clean((String) entry.getValue());
attrs.put(entry.getKey(), nice);
}
}
return result;
}
内容来源于网络,如有侵权,请联系作者删除!