<li><ahref="../../../../../com/djrapitops/plan/system/file/JarResource.html"title="class in com.djrapitops.plan.system.file"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file"><spanclass="typeNameLink">Next Class</span></a></li>
<dd><ahref="../../../../../com/djrapitops/plan/system/SubSystem.html"title="interface in com.djrapitops.plan.system">SubSystem</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><ahref="../../../../../com/djrapitops/plan/system/file/SpongePlanFiles.html"title="class in com.djrapitops.plan.system.file">SpongePlanFiles</a></dd>
</dl>
<hr>
<br>
<pre>@Singleton
public class <spanclass="typeNameLabel">PlanFiles</span>
extends java.lang.Object
implements <ahref="../../../../../com/djrapitops/plan/system/SubSystem.html"title="interface in com.djrapitops.plan.system">SubSystem</a></pre>
<divclass="block">Abstracts File methods of Plugin classes so that they can be tested without Mocks.</div>
</li>
</ul>
</div>
<divclass="summary">
<ulclass="blockList">
<liclass="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="field.summary">
<!---->
</a>
<h3>Field Summary</h3>
<tableclass="memberSummary"border="0"cellpadding="3"cellspacing="0"summary="Field Summary table, listing fields, and an explanation">
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="../../../../../com/djrapitops/plan/PlanPlugin.html"title="interface in com.djrapitops.plan">PlanPlugin</a></code></td>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><spanclass="memberNameLink"><ahref="../../../../../com/djrapitops/plan/system/file/PlanFiles.html#PlanFiles-com.djrapitops.plan.PlanPlugin-">PlanFiles</a></span>(<ahref="../../../../../com/djrapitops/plan/PlanPlugin.html"title="interface in com.djrapitops.plan">PlanPlugin</a> plugin)</code> </td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method.summary">
<!---->
</a>
<h3>Method Summary</h3>
<tableclass="memberSummary"border="0"cellpadding="3"cellspacing="0"summary="Method Summary table, listing methods, and an explanation">
<tdclass="colFirst"><code><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file">Resource</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file">Resource</a></code></td>
<divclass="block">Get a file in the jar as a <ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file"><code>Resource</code></a>.</div>
</td>
</tr>
<trid="i9"class="rowColor">
<tdclass="colFirst"><code><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file">Resource</a></code></td>
<divclass="block">Get a file from plugin folder as a <ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file"><code>Resource</code></a>.</div>
<pre>protected final <ahref="../../../../../com/djrapitops/plan/PlanPlugin.html"title="interface in com.djrapitops.plan">PlanPlugin</a> plugin</pre>
public PlanFiles(<ahref="../../../../../com/djrapitops/plan/PlanPlugin.html"title="interface in com.djrapitops.plan">PlanPlugin</a> plugin)</pre>
throws <ahref="../../../../../com/djrapitops/plan/api/exceptions/EnableException.html"title="class in com.djrapitops.plan.api.exceptions">EnableException</a></pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from interface: <code><ahref="../../../../../com/djrapitops/plan/system/SubSystem.html#enable--">SubSystem</a></code></span></div>
<divclass="block">Performs enable actions for the subsystem.</div>
<dd><code><ahref="../../../../../com/djrapitops/plan/system/SubSystem.html#enable--">enable</a></code> in interface <code><ahref="../../../../../com/djrapitops/plan/system/SubSystem.html"title="interface in com.djrapitops.plan.system">SubSystem</a></code></dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="../../../../../com/djrapitops/plan/api/exceptions/EnableException.html"title="class in com.djrapitops.plan.api.exceptions">EnableException</a></code> - If an error occurred during enable and it is fatal to the subsystem.</dd>
</dl>
</li>
</ul>
<aname="disable--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>disable</h4>
<pre>public void disable()</pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from interface: <code><ahref="../../../../../com/djrapitops/plan/system/SubSystem.html#disable--">SubSystem</a></code></span></div>
<divclass="block">Performs disable actions for the subsystem</div>
<dd><code><ahref="../../../../../com/djrapitops/plan/system/SubSystem.html#disable--">disable</a></code> in interface <code><ahref="../../../../../com/djrapitops/plan/system/SubSystem.html"title="interface in com.djrapitops.plan.system">SubSystem</a></code></dd>
</dl>
</li>
</ul>
<aname="getResourceFromJar-java.lang.String-">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getResourceFromJar</h4>
<pre>public <ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file">Resource</a> getResourceFromJar(java.lang.String resourceName)</pre>
<divclass="block">Get a file in the jar as a <ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file"><code>Resource</code></a>.</div>
<dd><code>resourceName</code> - Path to the file inside jar/assets/plan/ folder.</dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>a <ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file"><code>Resource</code></a> for accessing the resource.</dd>
<pre>public <ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file">Resource</a> getResourceFromPluginFolder(java.lang.String resourceName)</pre>
<divclass="block">Get a file from plugin folder as a <ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file"><code>Resource</code></a>.</div>
<dd><code>resourceName</code> - Path to the file inside the plugin folder.</dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>a <ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file"><code>Resource</code></a> for accessing the resource.</dd>
<pre>public <ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file">Resource</a> getCustomizableResourceOrDefault(java.lang.String resourceName)</pre>
<divclass="block">Get a customizable resource from the plugin files or from the jar if one doesn't exist.</div>
<dd><code>resourceName</code> - Path to the file inside the plugin folder.</dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>a <ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file"><code>Resource</code></a> for accessing the resource, either from the plugin folder or jar.</dd>
<li><ahref="../../../../../com/djrapitops/plan/system/file/JarResource.html"title="class in com.djrapitops.plan.system.file"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file"><spanclass="typeNameLink">Next Class</span></a></li>