| <!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 (1.8.0) on Wed Dec 24 15:58:27 CET 2014 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>DirectoryResourceStore (Apache Felix iPOJO ~ JavaDoc 1.12.1 API)</title> |
| <meta name="date" content="2014-12-24"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="DirectoryResourceStore (Apache Felix iPOJO ~ JavaDoc 1.12.1 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <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="typeNameLink">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/8/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/8/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="simpleTagLabel">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="memberSummary" 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/8/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><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#m_manifest">m_manifest</a></span></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/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#m_manifest_file">m_manifest_file</a></span></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><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#m_manifestBuilder">m_manifestBuilder</a></span></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><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#m_mapper">m_mapper</a></span></code> |
| <div class="block">Resource Mapper.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#m_source">m_source</a></span></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/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#m_target">m_target</a></span></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="memberSummary" 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><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#DirectoryResourceStore-java.io.File-">DirectoryResourceStore</a></span>(<a href="http://docs.oracle.com/javase/8/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><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#DirectoryResourceStore-java.io.File-java.io.File-">DirectoryResourceStore</a></span>(<a href="http://docs.oracle.com/javase/8/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/8/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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#accept-org.apache.felix.ipojo.manipulator.ResourceVisitor-">accept</a></span>(<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 id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#close--">close</a></span>()</code> |
| <div class="block">Close the store: no methods will be called anymore on this instance.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#getRelativeName-java.io.File-">getRelativeName</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</code> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#open--">open</a></span>()</code> |
| <div class="block">Notify the store that resource will be written.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#read-java.lang.String-">read</a></span>(<a href="http://docs.oracle.com/javase/8/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 id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#setManifest-java.util.jar.Manifest-">setManifest</a></span>(<a href="http://docs.oracle.com/javase/8/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 id="i6" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#setManifestBuilder-org.apache.felix.ipojo.manipulator.store.ManifestBuilder-">setManifestBuilder</a></span>(<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 id="i7" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#setManifestFile-java.io.File-">setManifestFile</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> manifestFile)</code> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#setResourceMapper-org.apache.felix.ipojo.manipulator.store.ResourceMapper-">setResourceMapper</a></span>(<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 id="i9" class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#traverseDirectory-java.io.File-org.apache.felix.ipojo.manipulator.ResourceVisitor-">traverseDirectory</a></span>(<a href="http://docs.oracle.com/javase/8/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 id="i10" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#write-java.lang.String-byte:A-">write</a></span>(<a href="http://docs.oracle.com/javase/8/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 id="i11" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/felix/ipojo/manipulator/store/DirectoryResourceStore.html#writeMetadata-org.apache.felix.ipojo.metadata.Element-">writeMetadata</a></span>(<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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/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/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#read-java.lang.String-">ResourceStore</a></code></span></div> |
| <div class="block">Return the bytecode of the given class name.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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="paramLabel">Parameters:</span></dt> |
| <dd><code>path</code> - normalized resource path (format: org/objectweb/asm/Visitor.class)</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the byte array representing the given class</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#accept-org.apache.felix.ipojo.manipulator.ResourceVisitor-">ResourceStore</a></code></span></div> |
| <div class="block">Browse all resources available in this store.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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="paramLabel">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/8/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/8/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/8/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/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#open--">ResourceStore</a></code></span></div> |
| <div class="block">Notify the store that resource will be written.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#writeMetadata-org.apache.felix.ipojo.metadata.Element-">ResourceStore</a></code></span></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><span class="overrideSpecifyLabel">Specified by:</span></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="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - Element metadata to be inserted</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="write-java.lang.String-byte:A-"> |
| <!-- --> |
| </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/8/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/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#write-java.lang.String-byte:A-">ResourceStore</a></code></span></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><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#write-java.lang.String-byte:A-">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="paramLabel">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="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/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/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/felix/ipojo/manipulator/ResourceStore.html#close--">ResourceStore</a></code></span></div> |
| <div class="block">Close the store: no methods will be called anymore on this instance.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/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> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <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="typeNameLink">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 © 2014. All rights reserved.</small></p> |
| </body> |
| </html> |