Plan/all/com/djrapitops/plan/settings/config/ConfigNode.html
2019-10-05 11:27:37 +03:00

930 lines
38 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fi">
<head>
<!-- Generated by javadoc (1.8.0_201) on Sat Oct 05 11:26:19 EEST 2019 -->
<title>ConfigNode (Plan 5.0 build %buildNumber% API)</title>
<meta name="date" content="2019-10-05">
<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="ConfigNode (Plan 5.0 build %buildNumber% 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,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":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="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../com/djrapitops/plan/settings/config/Config.html" title="class in com.djrapitops.plan.settings.config"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../com/djrapitops/plan/settings/config/ConfigReader.html" title="class in com.djrapitops.plan.settings.config"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/djrapitops/plan/settings/config/ConfigNode.html" target="_top">Frames</a></li>
<li><a href="ConfigNode.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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">com.djrapitops.plan.settings.config</div>
<h2 title="Class ConfigNode" class="title">Class ConfigNode</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.djrapitops.plan.settings.config.ConfigNode</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../com/djrapitops/plan/settings/config/Config.html" title="class in com.djrapitops.plan.settings.config">Config</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">ConfigNode</span>
extends java.lang.Object</pre>
<div class="block">Represents a single node in a configuration file
<p>
Based on
https://github.com/Rsl1122/Abstract-Plugin-Framework/blob/72e221d3571ef200727713d10d3684c51e9f469d/AbstractPluginFramework/api/src/main/java/com/djrapitops/plugin/config/ConfigNode.java</div>
</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">&nbsp;</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>protected java.util.Map&lt;java.lang.String,<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#childNodes">childNodes</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.util.List&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#comment">comment</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#key">key</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.util.List&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#nodeOrder">nodeOrder</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#parent">parent</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#value">value</a></span></code>&nbsp;</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">&nbsp;</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="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#ConfigNode-java.lang.String-com.djrapitops.plan.settings.config.ConfigNode-java.lang.String-">ConfigNode</a></span>(java.lang.String&nbsp;key,
<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&nbsp;parent,
java.lang.String&nbsp;value)</code>&nbsp;</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">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</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>protected <a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#addChild-com.djrapitops.plan.settings.config.ConfigNode-">addChild</a></span>(<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&nbsp;child)</code>
<div class="block">Add a new child ConfigNode.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#addNode-java.lang.String-">addNode</a></span>(java.lang.String&nbsp;path)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#contains-java.lang.String-">contains</a></span>(java.lang.String&nbsp;path)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#copyAll-com.djrapitops.plan.settings.config.ConfigNode-">copyAll</a></span>(<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&nbsp;from)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#copyMissing-com.djrapitops.plan.settings.config.ConfigNode-">copyMissing</a></span>(<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&nbsp;from)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getBoolean--">getBoolean</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getBoolean-java.lang.String-">getBoolean</a></span>(java.lang.String&nbsp;path)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.util.Collection&lt;<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getChildren--">getChildren</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getComment--">getComment</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.lang.Integer</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getInteger--">getInteger</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>java.lang.Integer</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getInteger-java.lang.String-">getInteger</a></span>(java.lang.String&nbsp;path)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getKey-boolean-">getKey</a></span>(boolean&nbsp;deep)</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>java.lang.Long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getLong--">getLong</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>java.lang.Long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getLong-java.lang.String-">getLong</a></span>(java.lang.String&nbsp;path)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>java.util.Optional&lt;<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getNode-java.lang.String-">getNode</a></span>(java.lang.String&nbsp;path)</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getNodeDepth--">getNodeDepth</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>protected java.util.List&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getNodeOrder--">getNodeOrder</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getParent--">getParent</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getString--">getString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getString-java.lang.String-">getString</a></span>(java.lang.String&nbsp;path)</code>&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getStringList--">getStringList</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getStringList-java.lang.String-">getStringList</a></span>(java.lang.String&nbsp;path)</code>&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#getStringMap-boolean-">getStringMap</a></span>(boolean&nbsp;fullKeys)</code>
<div class="block">Return values in a Map.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#isLeafNode--">isLeafNode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#moveChild-java.lang.String-java.lang.String-">moveChild</a></span>(java.lang.String&nbsp;oldPath,
java.lang.String&nbsp;newPath)</code>
<div class="block">Moves a node from old path to new path.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#remove--">remove</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#removeChild-com.djrapitops.plan.settings.config.ConfigNode-">removeChild</a></span>(<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&nbsp;child)</code>&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#removeNode-java.lang.String-">removeNode</a></span>(java.lang.String&nbsp;path)</code>
<div class="block">Remove a node at a certain path.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#reorder-java.util.List-">reorder</a></span>(java.util.List&lt;java.lang.String&gt;&nbsp;newOrder)</code>&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#save--">save</a></span>()</code>
<div class="block">Find the root node and save.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#set-java.lang.String-T-">set</a></span>(java.lang.String&nbsp;path,
T&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#set-T-">set</a></span>(T&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#setComment-java.util.List-">setComment</a></span>(java.util.List&lt;java.lang.String&gt;&nbsp;comment)</code>&nbsp;</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#sort--">sort</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html#updateParent-com.djrapitops.plan.settings.config.ConfigNode-">updateParent</a></span>(<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&nbsp;newParent)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</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="key">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>key</h4>
<pre>protected final&nbsp;java.lang.String key</pre>
</li>
</ul>
<a name="parent">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parent</h4>
<pre>protected&nbsp;<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a> parent</pre>
</li>
</ul>
<a name="nodeOrder">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nodeOrder</h4>
<pre>protected&nbsp;java.util.List&lt;java.lang.String&gt; nodeOrder</pre>
</li>
</ul>
<a name="childNodes">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>childNodes</h4>
<pre>protected&nbsp;java.util.Map&lt;java.lang.String,<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&gt; childNodes</pre>
</li>
</ul>
<a name="comment">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>comment</h4>
<pre>protected&nbsp;java.util.List&lt;java.lang.String&gt; comment</pre>
</li>
</ul>
<a name="value">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>value</h4>
<pre>protected&nbsp;java.lang.String value</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ConfigNode-java.lang.String-com.djrapitops.plan.settings.config.ConfigNode-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ConfigNode</h4>
<pre>public&nbsp;ConfigNode(java.lang.String&nbsp;key,
<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&nbsp;parent,
java.lang.String&nbsp;value)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="updateParent-com.djrapitops.plan.settings.config.ConfigNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateParent</h4>
<pre>protected&nbsp;void&nbsp;updateParent(<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&nbsp;newParent)</pre>
</li>
</ul>
<a name="getNode-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNode</h4>
<pre>public&nbsp;java.util.Optional&lt;<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&gt;&nbsp;getNode(java.lang.String&nbsp;path)</pre>
</li>
</ul>
<a name="contains-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public&nbsp;boolean&nbsp;contains(java.lang.String&nbsp;path)</pre>
</li>
</ul>
<a name="addNode-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addNode</h4>
<pre>public&nbsp;<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&nbsp;addNode(java.lang.String&nbsp;path)</pre>
</li>
</ul>
<a name="removeNode-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeNode</h4>
<pre>public&nbsp;boolean&nbsp;removeNode(java.lang.String&nbsp;path)</pre>
<div class="block">Remove a node at a certain path.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - Path to the node that is up for removal.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if the node was present and is now removed. <code>false</code> if the path did not have a node.</dd>
</dl>
</li>
</ul>
<a name="remove--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public&nbsp;void&nbsp;remove()</pre>
</li>
</ul>
<a name="addChild-com.djrapitops.plan.settings.config.ConfigNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addChild</h4>
<pre>protected&nbsp;<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&nbsp;addChild(<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&nbsp;child)</pre>
<div class="block">Add a new child ConfigNode.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>child</code> - ConfigNode to add.
If from another config tree, the parent is 'cut', which breaks the old tree traversal.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Return the node given, now part of this tree.</dd>
</dl>
</li>
</ul>
<a name="removeChild-com.djrapitops.plan.settings.config.ConfigNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeChild</h4>
<pre>protected&nbsp;void&nbsp;removeChild(<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&nbsp;child)</pre>
</li>
</ul>
<a name="moveChild-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>moveChild</h4>
<pre>public&nbsp;boolean&nbsp;moveChild(java.lang.String&nbsp;oldPath,
java.lang.String&nbsp;newPath)</pre>
<div class="block">Moves a node from old path to new path.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>oldPath</code> - Old path of the node.</dd>
<dd><code>newPath</code> - New path of the node.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if the move was successful. <code>false</code> if the new node is not present</dd>
</dl>
</li>
</ul>
<a name="getKey-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKey</h4>
<pre>public&nbsp;java.lang.String&nbsp;getKey(boolean&nbsp;deep)</pre>
</li>
</ul>
<a name="sort--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sort</h4>
<pre>public&nbsp;void&nbsp;sort()</pre>
</li>
</ul>
<a name="reorder-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reorder</h4>
<pre>public&nbsp;void&nbsp;reorder(java.util.List&lt;java.lang.String&gt;&nbsp;newOrder)</pre>
</li>
</ul>
<a name="save--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>save</h4>
<pre>public&nbsp;void&nbsp;save()
throws java.io.IOException</pre>
<div class="block">Find the root node and save.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - If the save can not be performed.</dd>
</dl>
</li>
</ul>
<a name="set-java.lang.String-java.lang.Object-">
<!-- -->
</a><a name="set-java.lang.String-T-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;void&nbsp;set(java.lang.String&nbsp;path,
T&nbsp;value)</pre>
</li>
</ul>
<a name="set-java.lang.Object-">
<!-- -->
</a><a name="set-T-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;void&nbsp;set(T&nbsp;value)</pre>
</li>
</ul>
<a name="getComment--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getComment</h4>
<pre>public&nbsp;java.util.List&lt;java.lang.String&gt;&nbsp;getComment()</pre>
</li>
</ul>
<a name="setComment-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setComment</h4>
<pre>public&nbsp;void&nbsp;setComment(java.util.List&lt;java.lang.String&gt;&nbsp;comment)</pre>
</li>
</ul>
<a name="getStringList--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStringList</h4>
<pre>public&nbsp;java.util.List&lt;java.lang.String&gt;&nbsp;getStringList()</pre>
</li>
</ul>
<a name="getInteger--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInteger</h4>
<pre>public&nbsp;java.lang.Integer&nbsp;getInteger()</pre>
</li>
</ul>
<a name="getLong--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLong</h4>
<pre>public&nbsp;java.lang.Long&nbsp;getLong()</pre>
</li>
</ul>
<a name="getString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getString</h4>
<pre>public&nbsp;java.lang.String&nbsp;getString()</pre>
</li>
</ul>
<a name="getBoolean--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBoolean</h4>
<pre>public&nbsp;boolean&nbsp;getBoolean()</pre>
</li>
</ul>
<a name="getStringList-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStringList</h4>
<pre>public&nbsp;java.util.List&lt;java.lang.String&gt;&nbsp;getStringList(java.lang.String&nbsp;path)</pre>
</li>
</ul>
<a name="getStringMap-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStringMap</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;getStringMap(boolean&nbsp;fullKeys)</pre>
<div class="block">Return values in a Map.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fullKeys</code> - Should the key be full keys of the Config node.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Map with Config key - ConfigNode#getString.</dd>
</dl>
</li>
</ul>
<a name="getInteger-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInteger</h4>
<pre>public&nbsp;java.lang.Integer&nbsp;getInteger(java.lang.String&nbsp;path)</pre>
</li>
</ul>
<a name="getLong-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLong</h4>
<pre>public&nbsp;java.lang.Long&nbsp;getLong(java.lang.String&nbsp;path)</pre>
</li>
</ul>
<a name="getString-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getString</h4>
<pre>public&nbsp;java.lang.String&nbsp;getString(java.lang.String&nbsp;path)</pre>
</li>
</ul>
<a name="getBoolean-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBoolean</h4>
<pre>public&nbsp;boolean&nbsp;getBoolean(java.lang.String&nbsp;path)</pre>
</li>
</ul>
<a name="copyMissing-com.djrapitops.plan.settings.config.ConfigNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyMissing</h4>
<pre>public&nbsp;void&nbsp;copyMissing(<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&nbsp;from)</pre>
</li>
</ul>
<a name="copyAll-com.djrapitops.plan.settings.config.ConfigNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyAll</h4>
<pre>public&nbsp;void&nbsp;copyAll(<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&nbsp;from)</pre>
</li>
</ul>
<a name="getNodeDepth--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNodeDepth</h4>
<pre>protected&nbsp;int&nbsp;getNodeDepth()</pre>
</li>
</ul>
<a name="getParent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParent</h4>
<pre>public&nbsp;<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&nbsp;getParent()</pre>
</li>
</ul>
<a name="isLeafNode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLeafNode</h4>
<pre>public&nbsp;boolean&nbsp;isLeafNode()</pre>
</li>
</ul>
<a name="getNodeOrder--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNodeOrder</h4>
<pre>protected&nbsp;java.util.List&lt;java.lang.String&gt;&nbsp;getNodeOrder()</pre>
</li>
</ul>
<a name="getChildren--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildren</h4>
<pre>public&nbsp;java.util.Collection&lt;<a href="../../../../../com/djrapitops/plan/settings/config/ConfigNode.html" title="class in com.djrapitops.plan.settings.config">ConfigNode</a>&gt;&nbsp;getChildren()</pre>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></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="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../com/djrapitops/plan/settings/config/Config.html" title="class in com.djrapitops.plan.settings.config"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../com/djrapitops/plan/settings/config/ConfigReader.html" title="class in com.djrapitops.plan.settings.config"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/djrapitops/plan/settings/config/ConfigNode.html" target="_top">Frames</a></li>
<li><a href="ConfigNode.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>