<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
</span><spanclass="modifiers">public class </span><spanclass="element-name type-name-label">ResourceSvc</span>
<spanclass="extends-implements">extends <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a>
implements <ahref="ResourceService.html"title="interface in com.djrapitops.plan.delivery.web">ResourceService</a></span></div>
<h2id="nested.classes.inherited.from.class.com.djrapitops.plan.delivery.web.ResourceService">Nested classes/interfaces inherited from interface com.djrapitops.plan.delivery.web.<ahref="ResourceService.html"title="interface in com.djrapitops.plan.delivery.web">ResourceService</a></h2>
<code><ahref="ResourceService.Holder.html"title="class in com.djrapitops.plan.delivery.web">ResourceService.Holder</a>, <ahref="ResourceService.Position.html"title="enum class in com.djrapitops.plan.delivery.web">ResourceService.Position</a></code></div>
<divclass="col-first even-row-color"><code><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><com.djrapitops.plan.delivery.web.ResourceSvc.Snippet></code></div>
<divclass="col-constructor-name even-row-color"><code><spanclass="member-name-link"><ahref="#%3Cinit%3E(com.djrapitops.plan.storage.file.PlanFiles,com.djrapitops.plan.settings.config.PlanConfig,com.djrapitops.plan.settings.locale.Locale,net.playeranalytics.plugin.server.PluginLogger,com.djrapitops.plan.utilities.logging.ErrorLogger)">ResourceSvc</a></span>​(<ahref="../../storage/file/PlanFiles.html"title="class in com.djrapitops.plan.storage.file">PlanFiles</a> files,
<ahref="../../settings/config/PlanConfig.html"title="class in com.djrapitops.plan.settings.config">PlanConfig</a> config,
<ahref="../../settings/locale/Locale.html"title="class in com.djrapitops.plan.settings.locale">Locale</a> locale,
<ahref="../../utilities/logging/ErrorLogger.html"title="interface in com.djrapitops.plan.utilities.logging">ErrorLogger</a> errorLogger)</code></div>
<divclass="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#addScriptsToResource(java.lang.String,java.lang.String,com.djrapitops.plan.delivery.web.ResourceService.Position,java.lang.String...)">addScriptsToResource</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> pluginName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="ResourceService.Position.html"title="enum class in com.djrapitops.plan.delivery.web">ResourceService.Position</a> position,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a>... jsSources)</code></div>
<divclass="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#addStylesToResource(java.lang.String,java.lang.String,com.djrapitops.plan.delivery.web.ResourceService.Position,java.lang.String...)">addStylesToResource</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> pluginName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="ResourceService.Position.html"title="enum class in com.djrapitops.plan.delivery.web">ResourceService.Position</a> position,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a>... cssSources)</code></div>
<divclass="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#checkParams(java.lang.String,java.lang.String,com.djrapitops.plan.delivery.web.ResourceService.Position,java.lang.String%5B%5D)">checkParams</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> pluginName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="ResourceService.Position.html"title="enum class in com.djrapitops.plan.delivery.web">ResourceService.Position</a> position,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a>[] jsSources)</code></div>
<divclass="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#checkParams(java.lang.String,java.lang.String,java.util.function.Supplier)">checkParams</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> pluginName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/function/Supplier.html"title="class or interface in java.util.function"class="external-link">Supplier</a><<ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a>> source)</code></div>
<divclass="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a></code></div>
<divclass="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#getOrWriteCustomized(java.lang.String,java.util.function.Supplier)">getOrWriteCustomized</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/function/Supplier.html"title="class or interface in java.util.function"class="external-link">Supplier</a><<ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a>> source)</code></div>
<divclass="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a></code></div>
<divclass="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#getResource(java.lang.String,java.lang.String,java.util.function.Supplier)">getResource</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> pluginName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/function/Supplier.html"title="class or interface in java.util.function"class="external-link">Supplier</a><<ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a>> source)</code></div>
<divclass="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a></code></div>
<divclass="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#getTheResource(java.lang.String,java.lang.String,java.util.function.Supplier)">getTheResource</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> pluginName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/function/Supplier.html"title="class or interface in java.util.function"class="external-link">Supplier</a><<ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a>> source)</code></div>
<divclass="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a></code></div>
<divclass="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#writeCustomized(java.lang.String,java.util.function.Supplier)">writeCustomized</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/function/Supplier.html"title="class or interface in java.util.function"class="external-link">Supplier</a><<ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a>> source)</code></div>
<h3id="methods.inherited.from.class.java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#clone()"title="class or interface in java.lang"class="external-link">clone</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"title="class or interface in java.lang"class="external-link">equals</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#finalize()"title="class or interface in java.lang"class="external-link">finalize</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#hashCode()"title="class or interface in java.lang"class="external-link">hashCode</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#toString()"title="class or interface in java.lang"class="external-link">toString</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
<divclass="member-signature"><spanclass="modifiers">public final</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><com.djrapitops.plan.delivery.web.ResourceSvc.Snippet></span> <spanclass="element-name">snippets</span></div>
</span><spanclass="modifiers">public</span> <spanclass="element-name">ResourceSvc</span>​<spanclass="parameters">(<ahref="../../storage/file/PlanFiles.html"title="class in com.djrapitops.plan.storage.file">PlanFiles</a> files,
<ahref="../../settings/config/PlanConfig.html"title="class in com.djrapitops.plan.settings.config">PlanConfig</a> config,
<ahref="../../settings/locale/Locale.html"title="class in com.djrapitops.plan.settings.locale">Locale</a> locale,
<ahref="../../utilities/logging/ErrorLogger.html"title="interface in com.djrapitops.plan.utilities.logging">ErrorLogger</a> errorLogger)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a></span> <spanclass="element-name">getResource</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> pluginName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/function/Supplier.html"title="class or interface in java.util.function"class="external-link">Supplier</a><<ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a>> source)</span></div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="ResourceService.html#getResource(java.lang.String,java.lang.String,java.util.function.Supplier)">ResourceService</a></code></span></div>
<dd><code><ahref="ResourceService.html#getResource(java.lang.String,java.lang.String,java.util.function.Supplier)">getResource</a></code> in interface <code><ahref="ResourceService.html"title="interface in com.djrapitops.plan.delivery.web">ResourceService</a></code></dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">void</span> <spanclass="element-name">checkParams</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> pluginName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/function/Supplier.html"title="class or interface in java.util.function"class="external-link">Supplier</a><<ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a>> source)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a></span> <spanclass="element-name">getTheResource</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> pluginName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/function/Supplier.html"title="class or interface in java.util.function"class="external-link">Supplier</a><<ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a>> source)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a></span> <spanclass="element-name">getOrWriteCustomized</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/function/Supplier.html"title="class or interface in java.util.function"class="external-link">Supplier</a><<ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a>> source)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></span></div>
<dlclass="notes">
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></code></dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a></span> <spanclass="element-name">readCustomized</span>​<spanclass="parameters">(<ahref="../../storage/file/Resource.html"title="interface in com.djrapitops.plan.storage.file">Resource</a> customizedResource)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></span></div>
<dlclass="notes">
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></code></dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a></span> <spanclass="element-name">writeCustomized</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/function/Supplier.html"title="class or interface in java.util.function"class="external-link">Supplier</a><<ahref="resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a>> source)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></span></div>
<dlclass="notes">
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></code></dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">void</span> <spanclass="element-name">addScriptsToResource</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> pluginName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="ResourceService.Position.html"title="enum class in com.djrapitops.plan.delivery.web">ResourceService.Position</a> position,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a>... jsSources)</span></div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="ResourceService.html#addScriptsToResource(java.lang.String,java.lang.String,com.djrapitops.plan.delivery.web.ResourceService.Position,java.lang.String...)">ResourceService</a></code></span></div>
<dd><code><ahref="ResourceService.html#addScriptsToResource(java.lang.String,java.lang.String,com.djrapitops.plan.delivery.web.ResourceService.Position,java.lang.String...)">addScriptsToResource</a></code> in interface <code><ahref="ResourceService.html"title="interface in com.djrapitops.plan.delivery.web">ResourceService</a></code></dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">void</span> <spanclass="element-name">checkParams</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> pluginName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="ResourceService.Position.html"title="enum class in com.djrapitops.plan.delivery.web">ResourceService.Position</a> position,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a>[] jsSources)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">void</span> <spanclass="element-name">addStylesToResource</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> pluginName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName,
<ahref="ResourceService.Position.html"title="enum class in com.djrapitops.plan.delivery.web">ResourceService.Position</a> position,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a>... cssSources)</span></div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="ResourceService.html#addStylesToResource(java.lang.String,java.lang.String,com.djrapitops.plan.delivery.web.ResourceService.Position,java.lang.String...)">ResourceService</a></code></span></div>
<dd><code><ahref="ResourceService.html#addStylesToResource(java.lang.String,java.lang.String,com.djrapitops.plan.delivery.web.ResourceService.Position,java.lang.String...)">addStylesToResource</a></code> in interface <code><ahref="ResourceService.html"title="interface in com.djrapitops.plan.delivery.web">ResourceService</a></code></dd>