| <!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>DirectoryResourceStore (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="DirectoryResourceStore (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/DirectoryResourceStore.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/manipulator/store/JarFileResourceStore.html" title="class in org.apache.felix.ipojo.manipulator.store"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html" target="_top">Frames</a></li> |
| <li><a href="DirectoryResourceStore.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: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </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.manipulator.store</div> |
| <h2 title="Class DirectoryResourceStore" class="title">Class DirectoryResourceStore</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.manipulator.store.DirectoryResourceStore</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/manipulator/store/DirectoryResourceStore.html#line.44">DirectoryResourceStore</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> |
| <div class="block">A <a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html" title="class in org.apache.felix.ipojo.manipulator.store"><code>DirectoryResourceStore</code></a> knows how to read and write |
| resources from (to respectively) a File directory.</div> |
| <dl><dt><span class="strong">Author:</span></dt> |
| <dd><a href="mailto:dev@felix.apache.org">Felix Project Team</a></dd></dl> |
| </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"> </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 <a href="http://docs.oracle.com/javase/7/docs/api/java/util/jar/Manifest.html?is-external=true" title="class or interface in java.util.jar">Manifest</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#m_manifest">m_manifest</a></strong></code> |
| <div class="block">Original manifest to be updated.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#m_manifest_file">m_manifest_file</a></strong></code> |
| <div class="block">Location of the manifest file to update.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../../../../../org/apache/felix/ipojo/manipulator/store/ManifestBuilder.html" title="interface in org.apache.felix.ipojo.manipulator.store">ManifestBuilder</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#m_manifestBuilder">m_manifestBuilder</a></strong></code> |
| <div class="block">The builder of the updated manifest.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../../../../../org/apache/felix/ipojo/manipulator/store/ResourceMapper.html" title="interface in org.apache.felix.ipojo.manipulator.store">ResourceMapper</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#m_mapper">m_mapper</a></strong></code> |
| <div class="block">Resource Mapper.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#m_source">m_source</a></strong></code> |
| <div class="block">Source directory where bytecode is read.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#m_target">m_target</a></strong></code> |
| <div class="block">Target directory.</div> |
| </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"> </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/manipulator/store/DirectoryResourceStore.html#DirectoryResourceStore(java.io.File)">DirectoryResourceStore</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> source)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#DirectoryResourceStore(java.io.File, java.io.File)">DirectoryResourceStore</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> source, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> target)</code> </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"> </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/manipulator/store/DirectoryResourceStore.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> 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/manipulator/store/DirectoryResourceStore.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/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#getRelativeName(java.io.File)">getRelativeName</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#open()">open</a></strong>()</code> |
| <div class="block">Notify the store that resource will be written.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>byte[]</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.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> path)</code> |
| <div class="block">Return the bytecode of the given class name.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#setManifest(java.util.jar.Manifest)">setManifest</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/jar/Manifest.html?is-external=true" title="class or interface in java.util.jar">Manifest</a> manifest)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#setManifestBuilder(org.apache.felix.ipojo.manipulator.store.ManifestBuilder)">setManifestBuilder</a></strong>(<a href="../../../../../../org/apache/felix/ipojo/manipulator/store/ManifestBuilder.html" title="interface in org.apache.felix.ipojo.manipulator.store">ManifestBuilder</a> manifestBuilder)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#setManifestFile(java.io.File)">setManifestFile</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> manifestFile)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#setResourceMapper(org.apache.felix.ipojo.manipulator.store.ResourceMapper)">setResourceMapper</a></strong>(<a href="../../../../../../org/apache/felix/ipojo/manipulator/store/ResourceMapper.html" title="interface in org.apache.felix.ipojo.manipulator.store">ResourceMapper</a> mapper)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#traverseDirectory(java.io.File, org.apache.felix.ipojo.manipulator.ResourceVisitor)">traverseDirectory</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> directory, |
| <a href="../../../../../../org/apache/felix/ipojo/manipulator/ResourceVisitor.html" title="interface in org.apache.felix.ipojo.manipulator">ResourceVisitor</a> visitor)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.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> resourcePath, |
| byte[] bytecode)</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="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.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> 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 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_source"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_source</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.49">m_source</a></pre> |
| <div class="block">Source directory where bytecode is read.</div> |
| </li> |
| </ul> |
| <a name="m_target"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_target</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.54">m_target</a></pre> |
| <div class="block">Target directory.</div> |
| </li> |
| </ul> |
| <a name="m_manifestBuilder"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_manifestBuilder</h4> |
| <pre>private <a href="../../../../../../org/apache/felix/ipojo/manipulator/store/ManifestBuilder.html" title="interface in org.apache.felix.ipojo.manipulator.store">ManifestBuilder</a> <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.59">m_manifestBuilder</a></pre> |
| <div class="block">The builder of the updated manifest.</div> |
| </li> |
| </ul> |
| <a name="m_manifest"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_manifest</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/jar/Manifest.html?is-external=true" title="class or interface in java.util.jar">Manifest</a> <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.64">m_manifest</a></pre> |
| <div class="block">Original manifest to be updated.</div> |
| </li> |
| </ul> |
| <a name="m_manifest_file"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_manifest_file</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.69">m_manifest_file</a></pre> |
| <div class="block">Location of the manifest file to update.</div> |
| </li> |
| </ul> |
| <a name="m_mapper"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>m_mapper</h4> |
| <pre>private <a href="../../../../../../org/apache/felix/ipojo/manipulator/store/ResourceMapper.html" title="interface in org.apache.felix.ipojo.manipulator.store">ResourceMapper</a> <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.74">m_mapper</a></pre> |
| <div class="block">Resource Mapper.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="DirectoryResourceStore(java.io.File)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DirectoryResourceStore</h4> |
| <pre>public <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.76">DirectoryResourceStore</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> source)</pre> |
| </li> |
| </ul> |
| <a name="DirectoryResourceStore(java.io.File, java.io.File)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DirectoryResourceStore</h4> |
| <pre>public <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.80">DirectoryResourceStore</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> source, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> target)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="setResourceMapper(org.apache.felix.ipojo.manipulator.store.ResourceMapper)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setResourceMapper</h4> |
| <pre>public void <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.85">setResourceMapper</a>(<a href="../../../../../../org/apache/felix/ipojo/manipulator/store/ResourceMapper.html" title="interface in org.apache.felix.ipojo.manipulator.store">ResourceMapper</a> mapper)</pre> |
| </li> |
| </ul> |
| <a name="setManifestBuilder(org.apache.felix.ipojo.manipulator.store.ManifestBuilder)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setManifestBuilder</h4> |
| <pre>public void <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.89">setManifestBuilder</a>(<a href="../../../../../../org/apache/felix/ipojo/manipulator/store/ManifestBuilder.html" title="interface in org.apache.felix.ipojo.manipulator.store">ManifestBuilder</a> manifestBuilder)</pre> |
| </li> |
| </ul> |
| <a name="setManifest(java.util.jar.Manifest)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setManifest</h4> |
| <pre>public void <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.93">setManifest</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/jar/Manifest.html?is-external=true" title="class or interface in java.util.jar">Manifest</a> manifest)</pre> |
| </li> |
| </ul> |
| <a name="setManifestFile(java.io.File)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setManifestFile</h4> |
| <pre>public void <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.97">setManifestFile</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> manifestFile)</pre> |
| </li> |
| </ul> |
| <a name="read(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>read</h4> |
| <pre>public byte[] <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.101">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> 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: <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> in interface <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 void <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.109">accept</a>(<a href="../../../../../../org/apache/felix/ipojo/manipulator/ResourceVisitor.html" title="interface in org.apache.felix.ipojo.manipulator">ResourceVisitor</a> visitor)</pre> |
| <div class="block"><strong>Description copied from interface: <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> in interface <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="traverseDirectory(java.io.File, org.apache.felix.ipojo.manipulator.ResourceVisitor)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>traverseDirectory</h4> |
| <pre>private void <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.113">traverseDirectory</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> directory, |
| <a href="../../../../../../org/apache/felix/ipojo/manipulator/ResourceVisitor.html" title="interface in org.apache.felix.ipojo.manipulator">ResourceVisitor</a> visitor)</pre> |
| </li> |
| </ul> |
| <a name="getRelativeName(java.io.File)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRelativeName</h4> |
| <pre>private <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> <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.123">getRelativeName</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</pre> |
| </li> |
| </ul> |
| <a name="open()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>open</h4> |
| <pre>public void <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.128">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: <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> in interface <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 void <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.143">writeMetadata</a>(<a href="../../../../../../org/apache/felix/ipojo/metadata/Element.html" title="class in org.apache.felix.ipojo.metadata">Element</a> metadata)</pre> |
| <div class="block"><strong>Description copied from interface: <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> in interface <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 void <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.148">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> resourcePath, |
| byte[] bytecode) |
| 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: <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> in interface <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>bytecode</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="blockListLast"> |
| <li class="blockList"> |
| <h4>close</h4> |
| <pre>public void <a href="../../../../../../src-html/org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#line.167">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: <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> in interface <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> |
| </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/DirectoryResourceStore.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/manipulator/store/JarFileResourceStore.html" title="class in org.apache.felix.ipojo.manipulator.store"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html" target="_top">Frames</a></li> |
| <li><a href="DirectoryResourceStore.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: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </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 © 2013. All rights reserved.</small></p> |
| </body> |
| </html> |