<li><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../com/djrapitops/plan/system/file/SpongePlanFiles.html"title="class in com.djrapitops.plan.system.file"><spanclass="typeNameLink">Next Class</span></a></li>
<dd><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file">Resource</a></dd>
</dl>
<hr>
<br>
<pre>public class <spanclass="typeNameLabel">SpongeAssetResource</span>
extends java.lang.Object
implements <ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file">Resource</a></pre>
<divclass="block"><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file"><code>Resource</code></a> implementation for Sponge Asset API.</div>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from interface: <code><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html#getResourceName--">Resource</a></code></span></div>
<divclass="block">Get the name of this Resource.</div>
<dd><code><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html#getResourceName--">getResourceName</a></code> in interface <code><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file">Resource</a></code></dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>Relative file path given to <ahref="../../../../../com/djrapitops/plan/system/file/PlanFiles.html"title="class in com.djrapitops.plan.system.file"><code>PlanFiles</code></a>.</dd>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from interface: <code><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html#asInputStream--">Resource</a></code></span></div>
<divclass="block">Get the resource as an InputStream.</div>
<dd><code><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html#asInputStream--">asInputStream</a></code> in interface <code><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file">Resource</a></code></dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>InputStream of the resource, not closed automatically.</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - If the resource is unavailable.</dd>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from interface: <code><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html#asLines--">Resource</a></code></span></div>
<divclass="block">Get the resource as lines.</div>
<dd><code><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html#asLines--">asLines</a></code> in interface <code><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file">Resource</a></code></dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>Lines of the resource file.</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - If the resource is unavailable.</dd>
</dl>
</li>
</ul>
<aname="asString--">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>asString</h4>
<pre>public java.lang.String asString()
throws java.io.IOException</pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from interface: <code><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html#asString--">Resource</a></code></span></div>
<divclass="block">Get the resource as a String with each line separated by CRLF newline characters <code>\r\n</code>.</div>
<dd><code><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html#asString--">asString</a></code> in interface <code><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file">Resource</a></code></dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>Flat string with each line separated by <code>\r\n</code>.</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - If the resource is unavailable.</dd>
<li><ahref="../../../../../com/djrapitops/plan/system/file/Resource.html"title="interface in com.djrapitops.plan.system.file"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../com/djrapitops/plan/system/file/SpongePlanFiles.html"title="class in com.djrapitops.plan.system.file"><spanclass="typeNameLink">Next Class</span></a></li>