blob: 1f40c04aed26de4a44de5c51312804c74517bf87 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_25) on Tue Oct 08 19:30:27 CEST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>BndJarResourceStore (Apache Felix iPOJO ~ JavaDoc 1.10.1 API)</title>
<meta name="date" content="2013-10-08">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="BndJarResourceStore (Apache Felix iPOJO ~ JavaDoc 1.10.1 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/BndJarResourceStore.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../../../org/apache/felix/ipojo/bnd/BndReporter.html" title="class in org.apache.felix.ipojo.bnd"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/felix/ipojo/bnd/BndJarResourceStore.html" target="_top">Frames</a></li>
<li><a href="BndJarResourceStore.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.felix.ipojo.bnd</div>
<h2 title="Class BndJarResourceStore" class="title">Class BndJarResourceStore</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.felix.ipojo.bnd.BndJarResourceStore</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html" title="interface in org.apache.felix.ipojo.manipulator">ResourceStore</a></dd>
</dl>
<hr>
<br>
<pre>public class <a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.49">BndJarResourceStore</a>
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html" title="interface in org.apache.felix.ipojo.manipulator">ResourceStore</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private aQute.bnd.osgi.Analyzer</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/bnd/BndJarResourceStore.html#m_analyzer">m_analyzer</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/bnd/BndJarResourceStore.html#m_includeEmbedComponents">m_includeEmbedComponents</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/bnd/BndJarResourceStore.html#m_metadata">m_metadata</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../../../../../org/apache/felix/ipojo/manipulator/render/MetadataRenderer.html" title="class in org.apache.felix.ipojo.manipulator.render">MetadataRenderer</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/bnd/BndJarResourceStore.html#m_renderer">m_renderer</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private aQute.service.reporter.Reporter</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/bnd/BndJarResourceStore.html#m_reporter">m_reporter</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../org/apache/felix/ipojo/bnd/BndJarResourceStore.html#BndJarResourceStore(aQute.bnd.osgi.Analyzer, aQute.service.reporter.Reporter)">BndJarResourceStore</a></strong>(aQute.bnd.osgi.Analyzer&nbsp;analyzer,
aQute.service.reporter.Reporter&nbsp;reporter)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/bnd/BndJarResourceStore.html#accept(org.apache.felix.ipojo.manipulator.ResourceVisitor)">accept</a></strong>(<a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceVisitor.html" title="interface in org.apache.felix.ipojo.manipulator">ResourceVisitor</a>&nbsp;visitor)</code>
<div class="block">Browse all resources available in this store.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/bnd/BndJarResourceStore.html#close()">close</a></strong>()</code>
<div class="block">Close the store: no methods will be called anymore on this instance.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;aQute.bnd.osgi.Clazz&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/bnd/BndJarResourceStore.html#filter(java.util.Collection)">filter</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;aQute.bnd.osgi.Clazz&gt;&nbsp;classes)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private aQute.bnd.osgi.Jar</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/bnd/BndJarResourceStore.html#findJar(java.lang.String)">findJar</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/bnd/BndJarResourceStore.html#open()">open</a></strong>()</code>
<div class="block">Notify the store that resource will be written.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/bnd/BndJarResourceStore.html#read(java.lang.String)">read</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</code>
<div class="block">Return the bytecode of the given class name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/bnd/BndJarResourceStore.html#setIncludeEmbedComponents(boolean)">setIncludeEmbedComponents</a></strong>(boolean&nbsp;excludeEmbedComponents)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/bnd/BndJarResourceStore.html#write(java.lang.String, byte[])">write</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;resourcePath,
byte[]&nbsp;resource)</code>
<div class="block">Notify the builder that a new resource has been built and should
be stored in the resulting bundle.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/bnd/BndJarResourceStore.html#writeMetadata(org.apache.felix.ipojo.metadata.Element)">writeMetadata</a></strong>(<a href="../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;metadata)</code>
<div class="block">Writes the given Element into this store.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="m_analyzer">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_analyzer</h4>
<pre>private&nbsp;aQute.bnd.osgi.Analyzer <a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.51">m_analyzer</a></pre>
</li>
</ul>
<a name="m_reporter">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_reporter</h4>
<pre>private&nbsp;aQute.service.reporter.Reporter <a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.52">m_reporter</a></pre>
</li>
</ul>
<a name="m_renderer">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_renderer</h4>
<pre>private&nbsp;<a href="../../../../../org/apache/felix/ipojo/manipulator/render/MetadataRenderer.html" title="class in org.apache.felix.ipojo.manipulator.render">MetadataRenderer</a> <a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.54">m_renderer</a></pre>
</li>
</ul>
<a name="m_metadata">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>m_metadata</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&gt; <a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.56">m_metadata</a></pre>
</li>
</ul>
<a name="m_includeEmbedComponents">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>m_includeEmbedComponents</h4>
<pre>private&nbsp;boolean <a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.57">m_includeEmbedComponents</a></pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="BndJarResourceStore(aQute.bnd.osgi.Analyzer, aQute.service.reporter.Reporter)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>BndJarResourceStore</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.59">BndJarResourceStore</a>(aQute.bnd.osgi.Analyzer&nbsp;analyzer,
aQute.service.reporter.Reporter&nbsp;reporter)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="read(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>read</h4>
<pre>public&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.65">read</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#read(java.lang.String)">ResourceStore</a></code></strong></div>
<div class="block">Return the bytecode of the given class name.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#read(java.lang.String)">read</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html" title="interface in org.apache.felix.ipojo.manipulator">ResourceStore</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - normalized resource path (format: org/objectweb/asm/Visitor.class)</dd>
<dt><span class="strong">Returns:</span></dt><dd>the byte array representing the given class</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if resource was not found</dd></dl>
</li>
</ul>
<a name="accept(org.apache.felix.ipojo.manipulator.ResourceVisitor)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>accept</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.85">accept</a>(<a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceVisitor.html" title="interface in org.apache.felix.ipojo.manipulator">ResourceVisitor</a>&nbsp;visitor)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#accept(org.apache.felix.ipojo.manipulator.ResourceVisitor)">ResourceStore</a></code></strong></div>
<div class="block">Browse all resources available in this store.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#accept(org.apache.felix.ipojo.manipulator.ResourceVisitor)">accept</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html" title="interface in org.apache.felix.ipojo.manipulator">ResourceStore</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>visitor</code> - is called for each available resource</dd></dl>
</li>
</ul>
<a name="filter(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filter</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;aQute.bnd.osgi.Clazz&gt;&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.103">filter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;aQute.bnd.osgi.Clazz&gt;&nbsp;classes)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
</li>
</ul>
<a name="findJar(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findJar</h4>
<pre>private&nbsp;aQute.bnd.osgi.Jar&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.149">findJar</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</pre>
</li>
</ul>
<a name="open()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>open</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.158">open</a>()
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#open()">ResourceStore</a></code></strong></div>
<div class="block">Notify the store that resource will be written.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#open()">open</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html" title="interface in org.apache.felix.ipojo.manipulator">ResourceStore</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if there was an error</dd></dl>
</li>
</ul>
<a name="writeMetadata(org.apache.felix.ipojo.metadata.Element)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeMetadata</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.162">writeMetadata</a>(<a href="../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a>&nbsp;metadata)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#writeMetadata(org.apache.felix.ipojo.metadata.Element)">ResourceStore</a></code></strong></div>
<div class="block">Writes the given Element into this store.
Typically a store implementation will use this to build a Manifest.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#writeMetadata(org.apache.felix.ipojo.metadata.Element)">writeMetadata</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html" title="interface in org.apache.felix.ipojo.manipulator">ResourceStore</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>metadata</code> - Element metadata to be inserted</dd></dl>
</li>
</ul>
<a name="write(java.lang.String, byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>write</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.177">write</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;resourcePath,
byte[]&nbsp;resource)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#write(java.lang.String, byte[])">ResourceStore</a></code></strong></div>
<div class="block">Notify the builder that a new resource has been built and should
be stored in the resulting bundle.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#write(java.lang.String, byte[])">write</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html" title="interface in org.apache.felix.ipojo.manipulator">ResourceStore</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>resourcePath</code> - resource name of the class (format: org/objectweb/asm/Visitor.class)</dd><dd><code>resource</code> - content of the resource</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if there was an error storing the resource</dd></dl>
</li>
</ul>
<a name="close()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.182">close</a>()
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#close()">ResourceStore</a></code></strong></div>
<div class="block">Close the store: no methods will be called anymore on this instance.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#close()">close</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html" title="interface in org.apache.felix.ipojo.manipulator">ResourceStore</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if close failed</dd></dl>
</li>
</ul>
<a name="setIncludeEmbedComponents(boolean)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setIncludeEmbedComponents</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/felix/ipojo/bnd/BndJarResourceStore.html#line.240">setIncludeEmbedComponents</a>(boolean&nbsp;excludeEmbedComponents)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/BndJarResourceStore.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../../../org/apache/felix/ipojo/bnd/BndReporter.html" title="class in org.apache.felix.ipojo.bnd"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/felix/ipojo/bnd/BndJarResourceStore.html" target="_top">Frames</a></li>
<li><a href="BndJarResourceStore.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2013. All rights reserved.</small></p>
</body>
</html>