juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject [juneau-website] branch asf-site updated: Add blog link to home page.
Date Sat, 08 Dec 2018 21:27:04 GMT
This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/juneau-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new fed72e5  Add blog link to home page.
fed72e5 is described below

commit fed72e5ce493dd28fd368076c9776af70e71bc1e
Author: JamesBognar <jamesbognar@apache.org>
AuthorDate: Sat Dec 8 16:26:53 2018 -0500

    Add blog link to home page.
---
 content/index.html                                 |    8 +-
 .../org/apache/juneau/config/Config.html           |  165 +-
 .../src-html/org/apache/juneau/config/Config.html  | 3695 ++++++++++----------
 templates/index.html                               |    8 +-
 4 files changed, 1943 insertions(+), 1933 deletions(-)

diff --git a/content/index.html b/content/index.html
index e9ee28d..7bf49ed 100644
--- a/content/index.html
+++ b/content/index.html
@@ -203,8 +203,12 @@
 			<li><a href='downloads.html' id='downloads' onclick="return select(this)">Downloads</a></li>
 			<li><a href='sourceCode.html' id='sourceCode' onclick="return select(this)">Source Code</a></li>
 			<li><a href='issues.html' id='issues' onclick="return select(this)">Issues</a></li>
-			<li><a href='community.html' id='community' onclick="return select(this)">Community</a></li>
-			<li><a href='twitter.html' id='twitter' onclick="return select(this)">Twitter</a></li>
+			<li><a href='community.html' id='community' onclick="return select(this)">Community</a>
+				<ul>
+					<li><a href='https://cwiki.apache.org/confluence/pages/viewrecentblogposts.action?key=JUNEAU'>Blog</a>
+					<li><a href='twitter.html' id='twitter' onclick="return select(this)">Twitter</a></li>
+				</ul>
+			</li>
 			<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
 			<li><a href="http://www.apache.org/security" target="_blank">Security</a></li>
 			<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Donate</a></li>
diff --git a/content/site/apidocs-8.0.0/org/apache/juneau/config/Config.html b/content/site/apidocs-8.0.0/org/apache/juneau/config/Config.html
index 99d7aa5..89d28ca 100644
--- a/content/site/apidocs-8.0.0/org/apache/juneau/config/Config.html
+++ b/content/site/apidocs-8.0.0/org/apache/juneau/config/Config.html
@@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>public final class <a href="../../../../src-html/org/apache/juneau/config/Config.html#line.46">Config</a>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/config/Config.html#line.47">Config</a>
 extends <a href="../../../../org/apache/juneau/Context.html" title="class in org.apache.juneau">Context</a>
 implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListener.html" title="interface in org.apache.juneau.config.event">ConfigEventListener</a>, <a href="../../../../org/apache/juneau/Writable.html" title="interface in org.apache.juneau">Writable</a></pre>
 <div class="block">Main configuration API class.
@@ -125,6 +125,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
  <h5 class='section'>See Also:</h5>
  <ul class='doctree'>
    <li class='link'><a class='doclink' href='../../../../overview-summary.html#juneau-config'>Overview &gt; juneau-config</a>
+   <li class='extlink'><a class='doclink' href='https://github.com/apache/juneau/blob/master/juneau-core/juneau-config/src/main/java/org/apache/juneau/config/Config.java'>Source</a>
  </ul></div>
 </li>
 </ul>
@@ -749,7 +750,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>CONFIG_name</h4>
-<pre>public static final&nbsp;<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/juneau/config/Config.html#line.162">CONFIG_name</a></pre>
+<pre>public static final&nbsp;<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/juneau/config/Config.html#line.163">CONFIG_name</a></pre>
 <div class="block">Configuration property:  Configuration name.
 
  <h5 class='section'>Property:</h5>
@@ -780,7 +781,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>CONFIG_store</h4>
-<pre>public static final&nbsp;<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/juneau/config/Config.html#line.182">CONFIG_store</a></pre>
+<pre>public static final&nbsp;<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/juneau/config/Config.html#line.183">CONFIG_store</a></pre>
 <div class="block">Configuration property:  Configuration store.
 
  <h5 class='section'>Property:</h5>
@@ -809,7 +810,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>CONFIG_serializer</h4>
-<pre>public static final&nbsp;<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/juneau/config/Config.html#line.203">CONFIG_serializer</a></pre>
+<pre>public static final&nbsp;<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/juneau/config/Config.html#line.204">CONFIG_serializer</a></pre>
 <div class="block">Configuration property:  POJO serializer.
 
  <h5 class='section'>Property:</h5>
@@ -839,7 +840,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>CONFIG_parser</h4>
-<pre>public static final&nbsp;<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/juneau/config/Config.html#line.224">CONFIG_parser</a></pre>
+<pre>public static final&nbsp;<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/juneau/config/Config.html#line.225">CONFIG_parser</a></pre>
 <div class="block">Configuration property:  POJO parser.
 
  <h5 class='section'>Property:</h5>
@@ -869,7 +870,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>CONFIG_encoder</h4>
-<pre>public static final&nbsp;<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/juneau/config/Config.html#line.245">CONFIG_encoder</a></pre>
+<pre>public static final&nbsp;<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/juneau/config/Config.html#line.246">CONFIG_encoder</a></pre>
 <div class="block">Configuration property:  Value encoder.
 
  <h5 class='section'>Property:</h5>
@@ -899,7 +900,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>CONFIG_varResolver</h4>
-<pre>public static final&nbsp;<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/juneau/config/Config.html#line.266">CONFIG_varResolver</a></pre>
+<pre>public static final&nbsp;<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/juneau/config/Config.html#line.267">CONFIG_varResolver</a></pre>
 <div class="block">Configuration property:  SVL variable resolver.
 
  <h5 class='section'>Property:</h5>
@@ -929,7 +930,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>CONFIG_binaryLineLength</h4>
-<pre>public static final&nbsp;<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/juneau/config/Config.html#line.287">CONFIG_binaryLineLength</a></pre>
+<pre>public static final&nbsp;<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/juneau/config/Config.html#line.288">CONFIG_binaryLineLength</a></pre>
 <div class="block">Configuration property:  Binary value line length.
 
  <h5 class='section'>Property:</h5>
@@ -959,7 +960,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>CONFIG_binaryFormat</h4>
-<pre>public static final&nbsp;<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/juneau/config/Config.html#line.315">CONFIG_binaryFormat</a></pre>
+<pre>public static final&nbsp;<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/juneau/config/Config.html#line.316">CONFIG_binaryFormat</a></pre>
 <div class="block">Configuration property:  Binary value format.
 
  <h5 class='section'>Property:</h5>
@@ -996,7 +997,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>CONFIG_multiLineValuesOnSeparateLines</h4>
-<pre>public static final&nbsp;<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/juneau/config/Config.html#line.335">CONFIG_multiLineValuesOnSeparateLines</a></pre>
+<pre>public static final&nbsp;<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/juneau/config/Config.html#line.336">CONFIG_multiLineValuesOnSeparateLines</a></pre>
 <div class="block">Configuration property:  Multi-line values should always be on separate lines.
 
  <h5 class='section'>Property:</h5>
@@ -1025,7 +1026,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockListLast">
 <li class="blockList">
 <h4>CONFIG_readOnly</h4>
-<pre>public static final&nbsp;<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/juneau/config/Config.html#line.355">CONFIG_readOnly</a></pre>
+<pre>public static final&nbsp;<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/juneau/config/Config.html#line.356">CONFIG_readOnly</a></pre>
 <div class="block">Configuration property:  Read-only.
 
  <h5 class='section'>Property:</h5>
@@ -1062,7 +1063,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockListLast">
 <li class="blockList">
 <h4>Config</h4>
-<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.412">Config</a>(<a href="../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a>&nbsp;ps)
+<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.413">Config</a>(<a href="../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a>&nbsp;ps)
        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">Constructor.</div>
 <dl>
@@ -1087,7 +1088,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>setSystemDefault</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.55">setSystemDefault</a>(<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;systemDefault)</pre>
+<pre>public static&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.56">setSystemDefault</a>(<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;systemDefault)</pre>
 <div class="block">Sets a system default configuration.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1101,7 +1102,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getSystemDefault</h4>
-<pre>public static&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.64">getSystemDefault</a>()</pre>
+<pre>public static&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.65">getSystemDefault</a>()</pre>
 <div class="block">Returns the system default configuration.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1115,7 +1116,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getCandidateSystemDefaultConfigNames</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<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>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.98">getCandidateSystemDefaultConfigNames</a>()</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<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>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.99">getCandidateSystemDefaultConfigNames</a>()</pre>
 <div class="block">Returns the list of candidate system default configuration file names.
 
  <p>
@@ -1142,7 +1143,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>create</h4>
-<pre>public static&nbsp;<a href="../../../../org/apache/juneau/config/ConfigBuilder.html" title="class in org.apache.juneau.config">ConfigBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.383">create</a>()</pre>
+<pre>public static&nbsp;<a href="../../../../org/apache/juneau/config/ConfigBuilder.html" title="class in org.apache.juneau.config">ConfigBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.384">create</a>()</pre>
 <div class="block">Instantiates a new clean-slate <a href="../../../../org/apache/juneau/config/ConfigBuilder.html" title="class in org.apache.juneau.config"><code>ConfigBuilder</code></a> object.
 
  <p>
@@ -1159,7 +1160,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>create</h4>
-<pre>public static&nbsp;<a href="../../../../org/apache/juneau/config/ConfigBuilder.html" title="class in org.apache.juneau.config">ConfigBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.396">create</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>&nbsp;name)</pre>
+<pre>public static&nbsp;<a href="../../../../org/apache/juneau/config/ConfigBuilder.html" title="class in org.apache.juneau.config">ConfigBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.397">create</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>&nbsp;name)</pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/config/Config.html#create--"><code>create()</code></a> but initializes the builder with the specified config name.
 
  <p>
@@ -1178,7 +1179,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>builder</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/ConfigBuilder.html" title="class in org.apache.juneau.config">ConfigBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.401">builder</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/ConfigBuilder.html" title="class in org.apache.juneau.config">ConfigBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.402">builder</a>()</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/Context.html#builder--">Context</a></code></span></div>
 <div class="block">Creates a builder from this context object.
 
@@ -1198,7 +1199,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>resolving</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.461">resolving</a>(<a href="../../../../org/apache/juneau/svl/VarResolverSession.html" title="class in org.apache.juneau.svl">VarResolverSession</a>&nbsp;varSession)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.462">resolving</a>(<a href="../../../../org/apache/juneau/svl/VarResolverSession.html" title="class in org.apache.juneau.svl">VarResolverSession</a>&nbsp;varSession)</pre>
 <div class="block">Creates a copy of this config using the specified var session for resolving variables.
 
  <p>
@@ -1217,7 +1218,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getName</h4>
-<pre>public&nbsp;<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>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.470">getName</a>()</pre>
+<pre>public&nbsp;<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>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.471">getName</a>()</pre>
 <div class="block">Returns the name associated with this config (usually a file name).</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1231,7 +1232,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>get</h4>
-<pre>public&nbsp;<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>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.487">get</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>&nbsp;key)</pre>
+<pre>public&nbsp;<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>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.488">get</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>&nbsp;key)</pre>
 <div class="block">Returns the specified value as a string from the config file.
 
  <p>
@@ -1250,7 +1251,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>set</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.521">set</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>&nbsp;key,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.522">set</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>&nbsp;key,
                   <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>&nbsp;value)</pre>
 <div class="block">Sets a value in this config.</div>
 <dl>
@@ -1270,7 +1271,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>set</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.558">set</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>&nbsp;key,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.559">set</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>&nbsp;key,
                   <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>&nbsp;value)
            throws <a href="../../../../org/apache/juneau/serializer/SerializeException.html" title="class in org.apache.juneau.serializer">SerializeException</a></pre>
 <div class="block">Adds or replaces an entry with the specified key with a POJO serialized to a string using the registered
@@ -1296,7 +1297,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>set</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.576">set</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>&nbsp;key,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.577">set</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>&nbsp;key,
                   <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>&nbsp;value,
                   <a href="../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>&nbsp;serializer)
            throws <a href="../../../../org/apache/juneau/serializer/SerializeException.html" title="class in org.apache.juneau.serializer">SerializeException</a></pre>
@@ -1322,7 +1323,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>set</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.602">set</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>&nbsp;key,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.603">set</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>&nbsp;key,
                   <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>&nbsp;value,
                   <a href="../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>&nbsp;serializer,
                   <a href="../../../../org/apache/juneau/config/ConfigMod.html" title="enum in org.apache.juneau.config">ConfigMod</a>&nbsp;modifier,
@@ -1356,7 +1357,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>set</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.628">set</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>&nbsp;key,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.629">set</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>&nbsp;key,
                   <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>&nbsp;value,
                   <a href="../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>&nbsp;serializer,
                   <a href="../../../../org/apache/juneau/config/ConfigMod.html" title="enum in org.apache.juneau.config">ConfigMod</a>[]&nbsp;modifiers,
@@ -1390,7 +1391,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>remove</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.654">remove</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>&nbsp;key)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.655">remove</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>&nbsp;key)</pre>
 <div class="block">Removes an entry with the specified key.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1408,7 +1409,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>encodeEntries</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.672">encodeEntries</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.673">encodeEntries</a>()</pre>
 <div class="block">Encodes and unencoded entries in this config.
 
  <p>
@@ -1428,7 +1429,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getString</h4>
-<pre>public&nbsp;<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>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.705">getString</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>&nbsp;key)</pre>
+<pre>public&nbsp;<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>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.706">getString</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>&nbsp;key)</pre>
 <div class="block">Gets the entry with the specified key.
 
  <p>
@@ -1453,7 +1454,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getString</h4>
-<pre>public&nbsp;<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>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.730">getString</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>&nbsp;key,
+<pre>public&nbsp;<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>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.731">getString</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>&nbsp;key,
                         <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>&nbsp;def)</pre>
 <div class="block">Gets the entry with the specified key.
 
@@ -1480,7 +1481,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getStringArray</h4>
-<pre>public&nbsp;<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>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.745">getStringArray</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>&nbsp;key)</pre>
+<pre>public&nbsp;<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>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.746">getStringArray</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>&nbsp;key)</pre>
 <div class="block">Gets the entry with the specified key, splits the value on commas, and returns the values as trimmed strings.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1496,7 +1497,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getStringArray</h4>
-<pre>public&nbsp;<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>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.756">getStringArray</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>&nbsp;key,
+<pre>public&nbsp;<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>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.757">getStringArray</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>&nbsp;key,
                                <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>[]&nbsp;def)</pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/config/Config.html#getStringArray-java.lang.String-"><code>getStringArray(String)</code></a> but returns a default value if the value cannot be found.</div>
 <dl>
@@ -1514,7 +1515,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getInt</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.790">getInt</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>&nbsp;key)</pre>
+<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.791">getInt</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>&nbsp;key)</pre>
 <div class="block">Convenience method for getting int config values.
 
  <p>
@@ -1550,7 +1551,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getInt</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.801">getInt</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>&nbsp;key,
+<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.802">getInt</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>&nbsp;key,
                   int&nbsp;def)</pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/config/Config.html#getInt-java.lang.String-"><code>getInt(String)</code></a> but returns a default value if not set.</div>
 <dl>
@@ -1568,7 +1569,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getBoolean</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.814">getBoolean</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>&nbsp;key)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.815">getBoolean</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>&nbsp;key)</pre>
 <div class="block">Convenience method for getting boolean config values.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1584,7 +1585,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getBoolean</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.825">getBoolean</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>&nbsp;key,
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.826">getBoolean</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>&nbsp;key,
                           boolean&nbsp;def)</pre>
 <div class="block">Convenience method for getting boolean config values.</div>
 <dl>
@@ -1602,7 +1603,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getLong</h4>
-<pre>public&nbsp;long&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.856">getLong</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>&nbsp;key)</pre>
+<pre>public&nbsp;long&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.857">getLong</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>&nbsp;key)</pre>
 <div class="block">Convenience method for getting long config values.
 
  <p>
@@ -1638,7 +1639,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getLong</h4>
-<pre>public&nbsp;long&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.867">getLong</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>&nbsp;key,
+<pre>public&nbsp;long&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.868">getLong</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>&nbsp;key,
                     long&nbsp;def)</pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/config/Config.html#getLong-java.lang.String-"><code>getLong(String)</code></a> but returns a default value if not set.</div>
 <dl>
@@ -1656,7 +1657,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getDouble</h4>
-<pre>public&nbsp;double&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.889">getDouble</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>&nbsp;key)</pre>
+<pre>public&nbsp;double&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.890">getDouble</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>&nbsp;key)</pre>
 <div class="block">Convenience method for getting double config values.
 
  <p>
@@ -1681,7 +1682,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getDouble</h4>
-<pre>public&nbsp;double&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.900">getDouble</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>&nbsp;key,
+<pre>public&nbsp;double&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.901">getDouble</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>&nbsp;key,
                         double&nbsp;def)</pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/config/Config.html#getDouble-java.lang.String-"><code>getDouble(String)</code></a> but returns a default value if not set.</div>
 <dl>
@@ -1699,7 +1700,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getFloat</h4>
-<pre>public&nbsp;float&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.922">getFloat</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>&nbsp;key)</pre>
+<pre>public&nbsp;float&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.923">getFloat</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>&nbsp;key)</pre>
 <div class="block">Convenience method for getting float config values.
 
  <p>
@@ -1724,7 +1725,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getFloat</h4>
-<pre>public&nbsp;float&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.933">getFloat</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>&nbsp;key,
+<pre>public&nbsp;float&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.934">getFloat</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>&nbsp;key,
                       float&nbsp;def)</pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/config/Config.html#getFloat-java.lang.String-"><code>getFloat(String)</code></a> but returns a default value if not set.</div>
 <dl>
@@ -1742,7 +1743,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getBytes</h4>
-<pre>public&nbsp;byte[]&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.955">getBytes</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>&nbsp;key)
+<pre>public&nbsp;byte[]&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.956">getBytes</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>&nbsp;key)
                 throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Convenience method for getting byte array config values.
 
@@ -1769,7 +1770,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getBytes</h4>
-<pre>public&nbsp;byte[]&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.972">getBytes</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>&nbsp;key,
+<pre>public&nbsp;byte[]&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.973">getBytes</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>&nbsp;key,
                        byte[]&nbsp;def)
                 throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/config/Config.html#getBytes-java.lang.String-"><code>getBytes(String)</code></a> but with a default value if the entry doesn't exist.</div>
@@ -1790,7 +1791,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getObject</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1046">getObject</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>&nbsp;key,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1047">getObject</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>&nbsp;key,
                        <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
                        <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)
                 throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -1867,7 +1868,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getObject</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1067">getObject</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>&nbsp;key,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1068">getObject</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>&nbsp;key,
                        <a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&nbsp;parser,
                        <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
                        <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)
@@ -1896,7 +1897,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getObject</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1106">getObject</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>&nbsp;key,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1107">getObject</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>&nbsp;key,
                        <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)
                 throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/config/Config.html#getObject-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>getObject(String, Type, Type...)</code></a> except optimized for a non-parameterized class.
@@ -1944,7 +1945,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getObject</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1124">getObject</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>&nbsp;key,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1125">getObject</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>&nbsp;key,
                        <a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&nbsp;parser,
                        <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)
                 throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -1974,7 +1975,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getObjectWithDefault</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1141">getObjectWithDefault</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>&nbsp;key,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1142">getObjectWithDefault</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>&nbsp;key,
                                   T&nbsp;def,
                                   <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)
                            throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -2002,7 +2003,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getObjectWithDefault</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1158">getObjectWithDefault</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>&nbsp;key,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1159">getObjectWithDefault</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>&nbsp;key,
                                   <a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&nbsp;parser,
                                   T&nbsp;def,
                                   <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)
@@ -2031,7 +2032,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getObjectWithDefault</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1182">getObjectWithDefault</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>&nbsp;key,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1183">getObjectWithDefault</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>&nbsp;key,
                                   T&nbsp;def,
                                   <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
                                   <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)
@@ -2064,7 +2065,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getObjectWithDefault</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1205">getObjectWithDefault</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>&nbsp;key,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1206">getObjectWithDefault</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>&nbsp;key,
                                   <a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&nbsp;parser,
                                   T&nbsp;def,
                                   <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
@@ -2096,7 +2097,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getObjectMap</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1218">getObjectMap</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>&nbsp;key)
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1219">getObjectMap</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>&nbsp;key)
                        throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Convenience method for returning a config entry as an <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau"><code>ObjectMap</code></a>.</div>
 <dl>
@@ -2115,7 +2116,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getObjectMap</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1230">getObjectMap</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>&nbsp;key,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1231">getObjectMap</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>&nbsp;key,
                               <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;def)
                        throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Convenience method for returning a config entry as an <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau"><code>ObjectMap</code></a>.</div>
@@ -2136,7 +2137,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getObjectList</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1241">getObjectList</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>&nbsp;key)
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1242">getObjectList</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>&nbsp;key)
                          throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Convenience method for returning a config entry as an <a href="../../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau"><code>ObjectList</code></a>.</div>
 <dl>
@@ -2155,7 +2156,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getObjectList</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1253">getObjectList</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>&nbsp;key,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1254">getObjectList</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>&nbsp;key,
                                 <a href="../../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a>&nbsp;def)
                          throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Convenience method for returning a config entry as an <a href="../../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau"><code>ObjectList</code></a>.</div>
@@ -2176,7 +2177,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getKeys</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<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>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1267">getKeys</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title=" [...]
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<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>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1268">getKeys</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title=" [...]
 <div class="block">Returns the keys of the entries in the specified section.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -2194,7 +2195,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>writeProperties</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1289">writeProperties</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>&nbsp;section,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1290">writeProperties</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>&nbsp;section,
                               <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>&nbsp;bean,
                               boolean&nbsp;ignoreUnknownProperties)
                        throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a>,
@@ -2227,7 +2228,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getSectionAsBean</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1323">getSectionAsBean</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>&nbsp;section,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1324">getSectionAsBean</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>&nbsp;section,
                               <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;c)
                        throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Shortcut for calling <code>getSectionAsBean(sectionName, c, <jk>false</jk>)</code>.</div>
@@ -2250,7 +2251,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getSectionAsBean</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1369">getSectionAsBean</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>&nbsp;section,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1370">getSectionAsBean</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>&nbsp;section,
                               <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;c,
                               boolean&nbsp;ignoreUnknownProperties)
                        throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -2304,7 +2305,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getSectionAsMap</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1402">getSectionAsMap</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>&nbsp;section)
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1403">getSectionAsMap</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>&nbsp;section)
                           throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Returns a section of this config copied into an <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau"><code>ObjectMap</code></a>.</div>
 <dl>
@@ -2325,7 +2326,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getSectionAsInterface</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1482">getSectionAsInterface</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>&nbsp;section,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1483">getSectionAsInterface</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>&nbsp;section,
                                    <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;c)</pre>
 <div class="block">Wraps a config file section inside a Java interface so that values in the section can be read and
  write using getters and setters.
@@ -2399,7 +2400,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>exists</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1514">exists</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>&nbsp;key)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1515">exists</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>&nbsp;key)</pre>
 <div class="block">Returns <jk>true</jk> if this section contains the specified key and the key has a non-blank value.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -2415,7 +2416,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>setSection</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1534">setSection</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>&nbsp;name,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1535">setSection</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>&nbsp;name,
                          <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<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>&gt;&nbsp;preLines)</pre>
 <div class="block">Creates the specified section if it doesn't exist.
 
@@ -2441,7 +2442,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>setSection</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1559">setSection</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>&nbsp;name,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1560">setSection</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>&nbsp;name,
                          <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<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>&gt;&nbsp;preLines,
                          <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<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="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;contents)
                   throws <a href="../../../../org/apache/juneau/serializer/SerializeException.html" title="class in org.apache.juneau.serializer">SerializeException</a></pre>
@@ -2469,7 +2470,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>removeSection</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1577">removeSection</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>&nbsp;name)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1578">removeSection</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>&nbsp;name)</pre>
 <div class="block">Removes the section with the specified name.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -2487,7 +2488,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>load</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1590">load</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">Str [...]
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1591">load</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">Str [...]
             throws <a href="../../../../org/apache/juneau/serializer/SerializeException.html" title="class in org.apache.juneau.serializer">SerializeException</a></pre>
 <div class="block">Loads the contents of the specified map of maps into this config.</div>
 <dl>
@@ -2506,7 +2507,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>commit</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1605">commit</a>()
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1606">commit</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">Commit the changes in this config to the store.</div>
 <dl>
@@ -2524,7 +2525,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>writeTo</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1622">writeTo</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;w)
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1623">writeTo</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;w)
                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">Saves this config file to the specified writer as an INI file.
 
@@ -2548,7 +2549,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>addListener</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1635">addListener</a>(<a href="../../../../org/apache/juneau/config/event/ConfigEventListener.html" title="interface in org.apache.juneau.config.event">ConfigEventListener</a>&nbsp;listener)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1636">addListener</a>(<a href="../../../../org/apache/juneau/config/event/ConfigEventListener.html" title="interface in org.apache.juneau.config.event">ConfigEventListener</a>&nbsp;listener)</pre>
 <div class="block">Add a listener to this config to react to modification events.
 
  <p>
@@ -2567,7 +2568,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>removeListener</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1646">removeListener</a>(<a href="../../../../org/apache/juneau/config/event/ConfigEventListener.html" title="interface in org.apache.juneau.config.event">ConfigEventListener</a>&nbsp;listener)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1647">removeListener</a>(<a href="../../../../org/apache/juneau/config/event/ConfigEventListener.html" title="interface in org.apache.juneau.config.event">ConfigEventListener</a>&nbsp;listener)</pre>
 <div class="block">Removes a listener from this config.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -2583,7 +2584,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>close</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1656">close</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1657">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">Closes this configuration object by unregistering it from the underlying config map.</div>
 <dl>
@@ -2598,7 +2599,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>load</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1670">load</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;contents,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1671">load</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;contents,
                    boolean&nbsp;synchronous)
             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>,
                    <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
@@ -2622,7 +2623,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>load</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1686">load</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>&nbsp;contents,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1687">load</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>&nbsp;contents,
                    boolean&nbsp;synchronous)
             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>,
                    <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
@@ -2646,7 +2647,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>rollback</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1698">rollback</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/config/Config.html" title="class in org.apache.juneau.config">Config</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1699">rollback</a>()</pre>
 <div class="block">Does a rollback of any changes on this config currently in memory.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2662,7 +2663,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>asMap</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1716">asMap</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1717">asMap</a>()</pre>
 <div class="block">Returns the values in this config map as a map of maps.
 
  <p>
@@ -2684,7 +2685,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>createSession</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/Session.html" title="class in org.apache.juneau">Session</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1729">createSession</a>(<a href="../../../../org/apache/juneau/SessionArgs.html" title="class in org.apache.juneau">SessionArgs</a>&nbsp;args)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/Session.html" title="class in org.apache.juneau">Session</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1730">createSession</a>(<a href="../../../../org/apache/juneau/SessionArgs.html" title="class in org.apache.juneau">SessionArgs</a>&nbsp;args)</pre>
 <div class="block">Unused.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
@@ -2702,7 +2703,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>createDefaultSessionArgs</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/SessionArgs.html" title="class in org.apache.juneau">SessionArgs</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1737">createDefaultSessionArgs</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/SessionArgs.html" title="class in org.apache.juneau">SessionArgs</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1738">createDefaultSessionArgs</a>()</pre>
 <div class="block">Unused.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
@@ -2718,7 +2719,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>onConfigChange</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1742">onConfigChange</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/juneau/config/event/ConfigEvent.html" title="class in org.apache.juneau.config.event">ConfigEvent</a>&gt;&nbsp;events)</pre>
+<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1743">onConfigChange</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/juneau/config/event/ConfigEvent.html" title="class in org.apache.juneau.config.event">ConfigEvent</a>&gt;&nbsp;events)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/juneau/config/event/ConfigEventListener.html#onConfigChange-java.util.List-">ConfigEventListener</a></code></span></div>
 <div class="block">Gets called immediately after a config file has been loaded.</div>
 <dl>
@@ -2735,7 +2736,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>getMediaType</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1748">getMediaType</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1749">getMediaType</a>()</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/juneau/Writable.html#getMediaType--">Writable</a></code></span></div>
 <div class="block">Returns the serialized media type for this resource (e.g. <js>"text/html"</js>)</div>
 <dl>
@@ -2752,7 +2753,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockList">
 <li class="blockList">
 <h4>toString</h4>
-<pre>public&nbsp;<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>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1888">toString</a>()</pre>
+<pre>public&nbsp;<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>&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1889">toString</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code><a href="../../../../org/apache/juneau/Context.html#toString--">toString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/juneau/Context.html" title="class in org.apache.juneau">Context</a></code></dd>
@@ -2765,7 +2766,7 @@ implements <a href="../../../../org/apache/juneau/config/event/ConfigEventListen
 <ul class="blockListLast">
 <li class="blockList">
 <h4>finalize</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1893">finalize</a>()
+<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/config/Config.html#line.1894">finalize</a>()
                  throws <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
diff --git a/content/site/apidocs-8.0.0/src-html/org/apache/juneau/config/Config.html b/content/site/apidocs-8.0.0/src-html/org/apache/juneau/config/Config.html
index 25ec83c..af76d97 100644
--- a/content/site/apidocs-8.0.0/src-html/org/apache/juneau/config/Config.html
+++ b/content/site/apidocs-8.0.0/src-html/org/apache/juneau/config/Config.html
@@ -49,1859 +49,1860 @@
 <span class="sourceLineNo">041</span> * &lt;h5 class='section'&gt;See Also:&lt;/h5&gt;<a name="line.41"></a>
 <span class="sourceLineNo">042</span> * &lt;ul class='doctree'&gt;<a name="line.42"></a>
 <span class="sourceLineNo">043</span> *    &lt;li class='link'&gt;{@doc juneau-config}<a name="line.43"></a>
-<span class="sourceLineNo">044</span> * &lt;/ul&gt;<a name="line.44"></a>
-<span class="sourceLineNo">045</span> */<a name="line.45"></a>
-<span class="sourceLineNo">046</span>public final class Config extends Context implements ConfigEventListener, Writable {<a name="line.46"></a>
-<span class="sourceLineNo">047</span><a name="line.47"></a>
-<span class="sourceLineNo">048</span>   private static volatile Config SYSTEM_DEFAULT = findSystemDefault();<a name="line.48"></a>
-<span class="sourceLineNo">049</span><a name="line.49"></a>
-<span class="sourceLineNo">050</span>   /**<a name="line.50"></a>
-<span class="sourceLineNo">051</span>    * Sets a system default configuration.<a name="line.51"></a>
-<span class="sourceLineNo">052</span>    *<a name="line.52"></a>
-<span class="sourceLineNo">053</span>    * @param systemDefault The new system default configuration.<a name="line.53"></a>
-<span class="sourceLineNo">054</span>    */<a name="line.54"></a>
-<span class="sourceLineNo">055</span>   public synchronized static void setSystemDefault(Config systemDefault) {<a name="line.55"></a>
-<span class="sourceLineNo">056</span>      SYSTEM_DEFAULT = systemDefault;<a name="line.56"></a>
-<span class="sourceLineNo">057</span>   }<a name="line.57"></a>
-<span class="sourceLineNo">058</span><a name="line.58"></a>
-<span class="sourceLineNo">059</span>   /**<a name="line.59"></a>
-<span class="sourceLineNo">060</span>    * Returns the system default configuration.<a name="line.60"></a>
-<span class="sourceLineNo">061</span>    *<a name="line.61"></a>
-<span class="sourceLineNo">062</span>    * @return The system default configuration, or &lt;jk&gt;null&lt;/jk&gt; if it doesn't exist.<a name="line.62"></a>
-<span class="sourceLineNo">063</span>    */<a name="line.63"></a>
-<span class="sourceLineNo">064</span>   public synchronized static Config getSystemDefault() {<a name="line.64"></a>
-<span class="sourceLineNo">065</span>      return SYSTEM_DEFAULT;<a name="line.65"></a>
-<span class="sourceLineNo">066</span>   }<a name="line.66"></a>
-<span class="sourceLineNo">067</span><a name="line.67"></a>
-<span class="sourceLineNo">068</span>   private synchronized static Config findSystemDefault() {<a name="line.68"></a>
-<span class="sourceLineNo">069</span><a name="line.69"></a>
-<span class="sourceLineNo">070</span>      for (String n : getCandidateSystemDefaultConfigNames()) {<a name="line.70"></a>
-<span class="sourceLineNo">071</span>         Config config = find(n);<a name="line.71"></a>
-<span class="sourceLineNo">072</span>         if (config != null)<a name="line.72"></a>
-<span class="sourceLineNo">073</span>            return config;<a name="line.73"></a>
-<span class="sourceLineNo">074</span>      }<a name="line.74"></a>
-<span class="sourceLineNo">075</span><a name="line.75"></a>
-<span class="sourceLineNo">076</span>      return null;<a name="line.76"></a>
-<span class="sourceLineNo">077</span>   }<a name="line.77"></a>
-<span class="sourceLineNo">078</span><a name="line.78"></a>
-<span class="sourceLineNo">079</span>   /**<a name="line.79"></a>
-<span class="sourceLineNo">080</span>    * Returns the list of candidate system default configuration file names.<a name="line.80"></a>
-<span class="sourceLineNo">081</span>    *<a name="line.81"></a>
-<span class="sourceLineNo">082</span>    * &lt;p&gt;<a name="line.82"></a>
-<span class="sourceLineNo">083</span>    * If the &lt;js&gt;"juneau.configFile"&lt;/js&gt; system property is set, returns a singleton of that value.<a name="line.83"></a>
-<span class="sourceLineNo">084</span>    * &lt;br&gt;Otherwise, returns a list consisting of the following values:<a name="line.84"></a>
-<span class="sourceLineNo">085</span>    * &lt;ol&gt;<a name="line.85"></a>
-<span class="sourceLineNo">086</span>    *    &lt;li&gt;File with same name as jar file but with &lt;js&gt;".cfg"&lt;/js&gt; extension.  (e.g. &lt;js&gt;"myjar.cfg"&lt;/js&gt;)<a name="line.86"></a>
-<span class="sourceLineNo">087</span>    *    &lt;li&gt;Any file ending in &lt;js&gt;".cfg"&lt;/js&gt; in the home directory (names ordered alphabetically).<a name="line.87"></a>
-<span class="sourceLineNo">088</span>    *    &lt;li&gt;&lt;js&gt;"juneau.cfg"&lt;/js&gt;<a name="line.88"></a>
-<span class="sourceLineNo">089</span>    *    &lt;li&gt;&lt;js&gt;"default.cfg"&lt;/js&gt;<a name="line.89"></a>
-<span class="sourceLineNo">090</span>    * &lt;/ol&gt;<a name="line.90"></a>
-<span class="sourceLineNo">091</span>    * &lt;p&gt;<a name="line.91"></a>
-<span class="sourceLineNo">092</span>    *<a name="line.92"></a>
-<span class="sourceLineNo">093</span>    * @return<a name="line.93"></a>
-<span class="sourceLineNo">094</span>    *    A list of candidate file names.<a name="line.94"></a>
-<span class="sourceLineNo">095</span>    *    &lt;br&gt;The returned list is modifiable.<a name="line.95"></a>
-<span class="sourceLineNo">096</span>    *    &lt;br&gt;Each call constructs a new list.<a name="line.96"></a>
-<span class="sourceLineNo">097</span>    */<a name="line.97"></a>
-<span class="sourceLineNo">098</span>   public synchronized static List&lt;String&gt; getCandidateSystemDefaultConfigNames() {<a name="line.98"></a>
-<span class="sourceLineNo">099</span>      List&lt;String&gt; l = new ArrayList&lt;&gt;();<a name="line.99"></a>
-<span class="sourceLineNo">100</span><a name="line.100"></a>
-<span class="sourceLineNo">101</span>      String s = System.getProperty("juneau.configFile");<a name="line.101"></a>
-<span class="sourceLineNo">102</span>      if (s != null) {<a name="line.102"></a>
-<span class="sourceLineNo">103</span>         l.add(s);<a name="line.103"></a>
-<span class="sourceLineNo">104</span>         return l;<a name="line.104"></a>
-<span class="sourceLineNo">105</span>      }<a name="line.105"></a>
-<span class="sourceLineNo">106</span><a name="line.106"></a>
-<span class="sourceLineNo">107</span>      String cmd = System.getProperty("sun.java.command", "not_found").split("\\s+")[0];<a name="line.107"></a>
-<span class="sourceLineNo">108</span>      if (cmd.endsWith(".jar") &amp;&amp; ! cmd.contains("surefirebooter")) {<a name="line.108"></a>
-<span class="sourceLineNo">109</span>         cmd = cmd.replaceAll(".*?([^\\\\\\/]+)\\.jar$", "$1");<a name="line.109"></a>
-<span class="sourceLineNo">110</span>         l.add(cmd + ".cfg");<a name="line.110"></a>
-<span class="sourceLineNo">111</span>         cmd = cmd.replaceAll("[\\.\\_].*$", "");  // Try also without version in jar name.<a name="line.111"></a>
-<span class="sourceLineNo">112</span>         l.add(cmd + ".cfg");<a name="line.112"></a>
-<span class="sourceLineNo">113</span>      }<a name="line.113"></a>
-<span class="sourceLineNo">114</span><a name="line.114"></a>
-<span class="sourceLineNo">115</span>      Set&lt;File&gt; files = new TreeSet&lt;&gt;(Arrays.asList(new File(".").listFiles()));<a name="line.115"></a>
-<span class="sourceLineNo">116</span>      for (File f : files)<a name="line.116"></a>
-<span class="sourceLineNo">117</span>         if (f.getName().endsWith(".cfg"))<a name="line.117"></a>
-<span class="sourceLineNo">118</span>            l.add(f.getName());<a name="line.118"></a>
-<span class="sourceLineNo">119</span><a name="line.119"></a>
-<span class="sourceLineNo">120</span>      l.add("juneau.cfg");<a name="line.120"></a>
-<span class="sourceLineNo">121</span>      l.add("default.cfg");<a name="line.121"></a>
-<span class="sourceLineNo">122</span><a name="line.122"></a>
-<span class="sourceLineNo">123</span>      return l;<a name="line.123"></a>
-<span class="sourceLineNo">124</span>   }<a name="line.124"></a>
-<span class="sourceLineNo">125</span><a name="line.125"></a>
-<span class="sourceLineNo">126</span>   private synchronized static Config find(String name) {<a name="line.126"></a>
-<span class="sourceLineNo">127</span>      if (name == null)<a name="line.127"></a>
-<span class="sourceLineNo">128</span>         return null;<a name="line.128"></a>
-<span class="sourceLineNo">129</span>      if (ConfigFileStore.DEFAULT.exists(name))<a name="line.129"></a>
-<span class="sourceLineNo">130</span>         return Config.create(name).store(ConfigFileStore.DEFAULT).build();<a name="line.130"></a>
-<span class="sourceLineNo">131</span>      if (ConfigClasspathStore.DEFAULT.exists(name))<a name="line.131"></a>
-<span class="sourceLineNo">132</span>         return Config.create(name).store(ConfigClasspathStore.DEFAULT).build();<a name="line.132"></a>
-<span class="sourceLineNo">133</span>      return null;<a name="line.133"></a>
-<span class="sourceLineNo">134</span>   }<a name="line.134"></a>
-<span class="sourceLineNo">135</span><a name="line.135"></a>
-<span class="sourceLineNo">136</span>   //-------------------------------------------------------------------------------------------------------------------<a name="line.136"></a>
-<span class="sourceLineNo">137</span>   // Configurable properties<a name="line.137"></a>
-<span class="sourceLineNo">138</span>   //-------------------------------------------------------------------------------------------------------------------<a name="line.138"></a>
-<span class="sourceLineNo">139</span><a name="line.139"></a>
-<span class="sourceLineNo">140</span>   private static final String PREFIX = "Config.";<a name="line.140"></a>
-<span class="sourceLineNo">141</span><a name="line.141"></a>
-<span class="sourceLineNo">142</span>   /**<a name="line.142"></a>
-<span class="sourceLineNo">143</span>    * Configuration property:  Configuration name.<a name="line.143"></a>
-<span class="sourceLineNo">144</span>    *<a name="line.144"></a>
-<span class="sourceLineNo">145</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.145"></a>
-<span class="sourceLineNo">146</span>    * &lt;ul&gt;<a name="line.146"></a>
-<span class="sourceLineNo">147</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.name.s"&lt;/js&gt;<a name="line.147"></a>
-<span class="sourceLineNo">148</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  &lt;code&gt;String&lt;/code&gt;<a name="line.148"></a>
-<span class="sourceLineNo">149</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  &lt;js&gt;"Configuration.cfg"&lt;/js&gt;<a name="line.149"></a>
-<span class="sourceLineNo">150</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.150"></a>
-<span class="sourceLineNo">151</span>    *       &lt;ul&gt;<a name="line.151"></a>
-<span class="sourceLineNo">152</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#name(String)}<a name="line.152"></a>
-<span class="sourceLineNo">153</span>    *       &lt;/ul&gt;<a name="line.153"></a>
-<span class="sourceLineNo">154</span>    * &lt;/ul&gt;<a name="line.154"></a>
-<span class="sourceLineNo">155</span>    *<a name="line.155"></a>
-<span class="sourceLineNo">156</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.156"></a>
-<span class="sourceLineNo">157</span>    * &lt;p&gt;<a name="line.157"></a>
-<span class="sourceLineNo">158</span>    * Specifies the configuration name.<a name="line.158"></a>
-<span class="sourceLineNo">159</span>    * &lt;br&gt;This is typically the configuration file name, although<a name="line.159"></a>
-<span class="sourceLineNo">160</span>    * the name can be anything identifiable by the {@link ConfigStore} used for retrieving and storing the configuration.<a name="line.160"></a>
-<span class="sourceLineNo">161</span>    */<a name="line.161"></a>
-<span class="sourceLineNo">162</span>   public static final String CONFIG_name = PREFIX + "name.s";<a name="line.162"></a>
-<span class="sourceLineNo">163</span><a name="line.163"></a>
-<span class="sourceLineNo">164</span>   /**<a name="line.164"></a>
-<span class="sourceLineNo">165</span>    * Configuration property:  Configuration store.<a name="line.165"></a>
-<span class="sourceLineNo">166</span>    *<a name="line.166"></a>
-<span class="sourceLineNo">167</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.167"></a>
-<span class="sourceLineNo">168</span>    * &lt;ul&gt;<a name="line.168"></a>
-<span class="sourceLineNo">169</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.store.o"&lt;/js&gt;<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  {@link ConfigStore}<a name="line.170"></a>
-<span class="sourceLineNo">171</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  {@link ConfigFileStore#DEFAULT}<a name="line.171"></a>
-<span class="sourceLineNo">172</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.172"></a>
-<span class="sourceLineNo">173</span>    *       &lt;ul&gt;<a name="line.173"></a>
-<span class="sourceLineNo">174</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#store(ConfigStore)}<a name="line.174"></a>
-<span class="sourceLineNo">175</span>    *       &lt;/ul&gt;<a name="line.175"></a>
-<span class="sourceLineNo">176</span>    * &lt;/ul&gt;<a name="line.176"></a>
-<span class="sourceLineNo">177</span>    *<a name="line.177"></a>
-<span class="sourceLineNo">178</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.178"></a>
-<span class="sourceLineNo">179</span>    * &lt;p&gt;<a name="line.179"></a>
-<span class="sourceLineNo">180</span>    * The configuration store used for retrieving and storing configurations.<a name="line.180"></a>
-<span class="sourceLineNo">181</span>    */<a name="line.181"></a>
-<span class="sourceLineNo">182</span>   public static final String CONFIG_store = PREFIX + "store.o";<a name="line.182"></a>
-<span class="sourceLineNo">183</span><a name="line.183"></a>
-<span class="sourceLineNo">184</span>   /**<a name="line.184"></a>
-<span class="sourceLineNo">185</span>    * Configuration property:  POJO serializer.<a name="line.185"></a>
-<span class="sourceLineNo">186</span>    *<a name="line.186"></a>
-<span class="sourceLineNo">187</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.187"></a>
-<span class="sourceLineNo">188</span>    * &lt;ul&gt;<a name="line.188"></a>
-<span class="sourceLineNo">189</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.serializer.o"&lt;/js&gt;<a name="line.189"></a>
-<span class="sourceLineNo">190</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  {@link WriterSerializer}<a name="line.190"></a>
-<span class="sourceLineNo">191</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  {@link SimpleJsonSerializer#DEFAULT}<a name="line.191"></a>
-<span class="sourceLineNo">192</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.192"></a>
-<span class="sourceLineNo">193</span>    *       &lt;ul&gt;<a name="line.193"></a>
-<span class="sourceLineNo">194</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#serializer(Class)}<a name="line.194"></a>
-<span class="sourceLineNo">195</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#serializer(WriterSerializer)}<a name="line.195"></a>
-<span class="sourceLineNo">196</span>    *       &lt;/ul&gt;<a name="line.196"></a>
-<span class="sourceLineNo">197</span>    * &lt;/ul&gt;<a name="line.197"></a>
-<span class="sourceLineNo">198</span>    *<a name="line.198"></a>
-<span class="sourceLineNo">199</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.199"></a>
-<span class="sourceLineNo">200</span>    * &lt;p&gt;<a name="line.200"></a>
-<span class="sourceLineNo">201</span>    * The serializer to use for serializing POJO values.<a name="line.201"></a>
-<span class="sourceLineNo">202</span>    */<a name="line.202"></a>
-<span class="sourceLineNo">203</span>   public static final String CONFIG_serializer = PREFIX + "serializer.o";<a name="line.203"></a>
-<span class="sourceLineNo">204</span><a name="line.204"></a>
-<span class="sourceLineNo">205</span>   /**<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    * Configuration property:  POJO parser.<a name="line.206"></a>
-<span class="sourceLineNo">207</span>    *<a name="line.207"></a>
-<span class="sourceLineNo">208</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    * &lt;ul&gt;<a name="line.209"></a>
-<span class="sourceLineNo">210</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.parser.o"&lt;/js&gt;<a name="line.210"></a>
-<span class="sourceLineNo">211</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  {@link ReaderParser}<a name="line.211"></a>
-<span class="sourceLineNo">212</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  {@link JsonParser#DEFAULT}<a name="line.212"></a>
-<span class="sourceLineNo">213</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.213"></a>
-<span class="sourceLineNo">214</span>    *       &lt;ul&gt;<a name="line.214"></a>
-<span class="sourceLineNo">215</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#parser(Class)}<a name="line.215"></a>
-<span class="sourceLineNo">216</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#parser(ReaderParser)}<a name="line.216"></a>
-<span class="sourceLineNo">217</span>    *       &lt;/ul&gt;<a name="line.217"></a>
-<span class="sourceLineNo">218</span>    * &lt;/ul&gt;<a name="line.218"></a>
-<span class="sourceLineNo">219</span>    *<a name="line.219"></a>
-<span class="sourceLineNo">220</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.220"></a>
-<span class="sourceLineNo">221</span>    * &lt;p&gt;<a name="line.221"></a>
-<span class="sourceLineNo">222</span>    * The parser to use for parsing values to POJOs.<a name="line.222"></a>
-<span class="sourceLineNo">223</span>    */<a name="line.223"></a>
-<span class="sourceLineNo">224</span>   public static final String CONFIG_parser = PREFIX + "parser.o";<a name="line.224"></a>
-<span class="sourceLineNo">225</span><a name="line.225"></a>
-<span class="sourceLineNo">226</span>   /**<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    * Configuration property:  Value encoder.<a name="line.227"></a>
-<span class="sourceLineNo">228</span>    *<a name="line.228"></a>
-<span class="sourceLineNo">229</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.229"></a>
-<span class="sourceLineNo">230</span>    * &lt;ul&gt;<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.encoder.o"&lt;/js&gt;<a name="line.231"></a>
-<span class="sourceLineNo">232</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  {@link ConfigEncoder}<a name="line.232"></a>
-<span class="sourceLineNo">233</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  {@link ConfigXorEncoder#INSTANCE}<a name="line.233"></a>
-<span class="sourceLineNo">234</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    *       &lt;ul&gt;<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#encoder(Class)}<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#encoder(ConfigEncoder)}<a name="line.237"></a>
-<span class="sourceLineNo">238</span>    *       &lt;/ul&gt;<a name="line.238"></a>
-<span class="sourceLineNo">239</span>    * &lt;/ul&gt;<a name="line.239"></a>
-<span class="sourceLineNo">240</span>    *<a name="line.240"></a>
-<span class="sourceLineNo">241</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.241"></a>
-<span class="sourceLineNo">242</span>    * &lt;p&gt;<a name="line.242"></a>
-<span class="sourceLineNo">243</span>    * The encoder to use for encoding encoded configuration values.<a name="line.243"></a>
-<span class="sourceLineNo">244</span>    */<a name="line.244"></a>
-<span class="sourceLineNo">245</span>   public static final String CONFIG_encoder = PREFIX + "encoder.o";<a name="line.245"></a>
-<span class="sourceLineNo">246</span><a name="line.246"></a>
-<span class="sourceLineNo">247</span>   /**<a name="line.247"></a>
-<span class="sourceLineNo">248</span>    * Configuration property:  SVL variable resolver.<a name="line.248"></a>
-<span class="sourceLineNo">249</span>    *<a name="line.249"></a>
-<span class="sourceLineNo">250</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.250"></a>
-<span class="sourceLineNo">251</span>    * &lt;ul&gt;<a name="line.251"></a>
-<span class="sourceLineNo">252</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.varResolver.o"&lt;/js&gt;<a name="line.252"></a>
-<span class="sourceLineNo">253</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  {@link VarResolver}<a name="line.253"></a>
-<span class="sourceLineNo">254</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  {@link VarResolver#DEFAULT}<a name="line.254"></a>
-<span class="sourceLineNo">255</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.255"></a>
-<span class="sourceLineNo">256</span>    *       &lt;ul&gt;<a name="line.256"></a>
-<span class="sourceLineNo">257</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#varResolver(Class)}<a name="line.257"></a>
-<span class="sourceLineNo">258</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#varResolver(VarResolver)}<a name="line.258"></a>
-<span class="sourceLineNo">259</span>    *       &lt;/ul&gt;<a name="line.259"></a>
-<span class="sourceLineNo">260</span>    * &lt;/ul&gt;<a name="line.260"></a>
-<span class="sourceLineNo">261</span>    *<a name="line.261"></a>
-<span class="sourceLineNo">262</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.262"></a>
-<span class="sourceLineNo">263</span>    * &lt;p&gt;<a name="line.263"></a>
-<span class="sourceLineNo">264</span>    * The resolver to use for resolving SVL variables.<a name="line.264"></a>
-<span class="sourceLineNo">265</span>    */<a name="line.265"></a>
-<span class="sourceLineNo">266</span>   public static final String CONFIG_varResolver = PREFIX + "varResolver.o";<a name="line.266"></a>
-<span class="sourceLineNo">267</span><a name="line.267"></a>
-<span class="sourceLineNo">268</span>   /**<a name="line.268"></a>
-<span class="sourceLineNo">269</span>    * Configuration property:  Binary value line length.<a name="line.269"></a>
-<span class="sourceLineNo">270</span>    *<a name="line.270"></a>
-<span class="sourceLineNo">271</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.271"></a>
-<span class="sourceLineNo">272</span>    * &lt;ul&gt;<a name="line.272"></a>
-<span class="sourceLineNo">273</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.binaryLineLength.i"&lt;/js&gt;<a name="line.273"></a>
-<span class="sourceLineNo">274</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  &lt;code&gt;Integer&lt;/code&gt;<a name="line.274"></a>
-<span class="sourceLineNo">275</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  &lt;code&gt;-1&lt;/code&gt;<a name="line.275"></a>
-<span class="sourceLineNo">276</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.276"></a>
-<span class="sourceLineNo">277</span>    *       &lt;ul&gt;<a name="line.277"></a>
-<span class="sourceLineNo">278</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#binaryLineLength(int)}<a name="line.278"></a>
-<span class="sourceLineNo">279</span>    *       &lt;/ul&gt;<a name="line.279"></a>
-<span class="sourceLineNo">280</span>    * &lt;/ul&gt;<a name="line.280"></a>
-<span class="sourceLineNo">281</span>    *<a name="line.281"></a>
-<span class="sourceLineNo">282</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.282"></a>
-<span class="sourceLineNo">283</span>    * &lt;p&gt;<a name="line.283"></a>
-<span class="sourceLineNo">284</span>    * When serializing binary values, lines will be split after this many characters.<a name="line.284"></a>
-<span class="sourceLineNo">285</span>    * &lt;br&gt;Use &lt;code&gt;-1&lt;/code&gt; to represent no line splitting.<a name="line.285"></a>
-<span class="sourceLineNo">286</span>    */<a name="line.286"></a>
-<span class="sourceLineNo">287</span>   public static final String CONFIG_binaryLineLength = PREFIX + "binaryLineLength.i";<a name="line.287"></a>
-<span class="sourceLineNo">288</span><a name="line.288"></a>
-<span class="sourceLineNo">289</span>   /**<a name="line.289"></a>
-<span class="sourceLineNo">290</span>    * Configuration property:  Binary value format.<a name="line.290"></a>
-<span class="sourceLineNo">291</span>    *<a name="line.291"></a>
-<span class="sourceLineNo">292</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.292"></a>
-<span class="sourceLineNo">293</span>    * &lt;ul&gt;<a name="line.293"></a>
-<span class="sourceLineNo">294</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.binaryFormat.s"&lt;/js&gt;<a name="line.294"></a>
-<span class="sourceLineNo">295</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  {@link BinaryFormat}<a name="line.295"></a>
-<span class="sourceLineNo">296</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  {@link BinaryFormat#BASE64}<a name="line.296"></a>
-<span class="sourceLineNo">297</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.297"></a>
-<span class="sourceLineNo">298</span>    *       &lt;ul&gt;<a name="line.298"></a>
-<span class="sourceLineNo">299</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#binaryFormat(BinaryFormat)}<a name="line.299"></a>
-<span class="sourceLineNo">300</span>    *       &lt;/ul&gt;<a name="line.300"></a>
-<span class="sourceLineNo">301</span>    * &lt;/ul&gt;<a name="line.301"></a>
-<span class="sourceLineNo">302</span>    *<a name="line.302"></a>
-<span class="sourceLineNo">303</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.303"></a>
-<span class="sourceLineNo">304</span>    * &lt;p&gt;<a name="line.304"></a>
-<span class="sourceLineNo">305</span>    * The format to use when persisting byte arrays.<a name="line.305"></a>
-<span class="sourceLineNo">306</span>    *<a name="line.306"></a>
-<span class="sourceLineNo">307</span>    * &lt;p&gt;<a name="line.307"></a>
-<span class="sourceLineNo">308</span>    * Possible values:<a name="line.308"></a>
-<span class="sourceLineNo">309</span>    * &lt;ul&gt;<a name="line.309"></a>
-<span class="sourceLineNo">310</span>    *    &lt;li&gt;{@link BinaryFormat#BASE64} - BASE64-encoded string.<a name="line.310"></a>
-<span class="sourceLineNo">311</span>    *    &lt;li&gt;{@link BinaryFormat#HEX} - Hexadecimal.<a name="line.311"></a>
-<span class="sourceLineNo">312</span>    *    &lt;li&gt;{@link BinaryFormat#SPACED_HEX} - Hexadecimal with spaces between bytes.<a name="line.312"></a>
-<span class="sourceLineNo">313</span>    * &lt;/ul&gt;<a name="line.313"></a>
-<span class="sourceLineNo">314</span>    */<a name="line.314"></a>
-<span class="sourceLineNo">315</span>   public static final String CONFIG_binaryFormat = PREFIX + "binaryFormat.s";<a name="line.315"></a>
-<span class="sourceLineNo">316</span><a name="line.316"></a>
-<span class="sourceLineNo">317</span>   /**<a name="line.317"></a>
-<span class="sourceLineNo">318</span>    * Configuration property:  Multi-line values should always be on separate lines.<a name="line.318"></a>
-<span class="sourceLineNo">319</span>    *<a name="line.319"></a>
-<span class="sourceLineNo">320</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.320"></a>
-<span class="sourceLineNo">321</span>    * &lt;ul&gt;<a name="line.321"></a>
-<span class="sourceLineNo">322</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.multiLineValuesOnSeparateLines.b"&lt;/js&gt;<a name="line.322"></a>
-<span class="sourceLineNo">323</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  &lt;code&gt;Boolean&lt;/code&gt;<a name="line.323"></a>
-<span class="sourceLineNo">324</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  &lt;jk&gt;false&lt;/jk&gt;<a name="line.324"></a>
-<span class="sourceLineNo">325</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.325"></a>
-<span class="sourceLineNo">326</span>    *       &lt;ul&gt;<a name="line.326"></a>
-<span class="sourceLineNo">327</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#multiLineValuesOnSeparateLines()}<a name="line.327"></a>
-<span class="sourceLineNo">328</span>    *       &lt;/ul&gt;<a name="line.328"></a>
-<span class="sourceLineNo">329</span>    * &lt;/ul&gt;<a name="line.329"></a>
-<span class="sourceLineNo">330</span>    *<a name="line.330"></a>
-<span class="sourceLineNo">331</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.331"></a>
-<span class="sourceLineNo">332</span>    * &lt;p&gt;<a name="line.332"></a>
-<span class="sourceLineNo">333</span>    * When enabled, multi-line values will always be placed on a separate line from the key.<a name="line.333"></a>
-<span class="sourceLineNo">334</span>    */<a name="line.334"></a>
-<span class="sourceLineNo">335</span>   public static final String CONFIG_multiLineValuesOnSeparateLines = PREFIX + "multiLineValuesOnSeparateLines.b";<a name="line.335"></a>
-<span class="sourceLineNo">336</span><a name="line.336"></a>
-<span class="sourceLineNo">337</span>   /**<a name="line.337"></a>
-<span class="sourceLineNo">338</span>    * Configuration property:  Read-only.<a name="line.338"></a>
-<span class="sourceLineNo">339</span>    *<a name="line.339"></a>
-<span class="sourceLineNo">340</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.340"></a>
-<span class="sourceLineNo">341</span>    * &lt;ul&gt;<a name="line.341"></a>
-<span class="sourceLineNo">342</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.readOnly.b"&lt;/js&gt;<a name="line.342"></a>
-<span class="sourceLineNo">343</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  &lt;code&gt;Boolean&lt;/code&gt;<a name="line.343"></a>
-<span class="sourceLineNo">344</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  &lt;jk&gt;false&lt;/jk&gt;<a name="line.344"></a>
-<span class="sourceLineNo">345</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.345"></a>
-<span class="sourceLineNo">346</span>    *       &lt;ul&gt;<a name="line.346"></a>
-<span class="sourceLineNo">347</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#readOnly()}<a name="line.347"></a>
-<span class="sourceLineNo">348</span>    *       &lt;/ul&gt;<a name="line.348"></a>
-<span class="sourceLineNo">349</span>    * &lt;/ul&gt;<a name="line.349"></a>
-<span class="sourceLineNo">350</span>    *<a name="line.350"></a>
-<span class="sourceLineNo">351</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.351"></a>
-<span class="sourceLineNo">352</span>    * &lt;p&gt;<a name="line.352"></a>
-<span class="sourceLineNo">353</span>    * When enabled, attempts to call any setters on this object will throw an {@link UnsupportedOperationException}.<a name="line.353"></a>
-<span class="sourceLineNo">354</span>    */<a name="line.354"></a>
-<span class="sourceLineNo">355</span>   public static final String CONFIG_readOnly = PREFIX + "readOnly.b";<a name="line.355"></a>
-<span class="sourceLineNo">356</span><a name="line.356"></a>
-<span class="sourceLineNo">357</span>   //-------------------------------------------------------------------------------------------------------------------<a name="line.357"></a>
-<span class="sourceLineNo">358</span>   // Instance<a name="line.358"></a>
-<span class="sourceLineNo">359</span>   //-------------------------------------------------------------------------------------------------------------------<a name="line.359"></a>
-<span class="sourceLineNo">360</span><a name="line.360"></a>
-<span class="sourceLineNo">361</span>   private final String name;<a name="line.361"></a>
-<span class="sourceLineNo">362</span>   private final ConfigStore store;<a name="line.362"></a>
-<span class="sourceLineNo">363</span>   private final WriterSerializer serializer;<a name="line.363"></a>
-<span class="sourceLineNo">364</span>   private final ReaderParser parser;<a name="line.364"></a>
-<span class="sourceLineNo">365</span>   private final ConfigEncoder encoder;<a name="line.365"></a>
-<span class="sourceLineNo">366</span>   private final VarResolverSession varSession;<a name="line.366"></a>
-<span class="sourceLineNo">367</span>   private final int binaryLineLength;<a name="line.367"></a>
-<span class="sourceLineNo">368</span>   private final BinaryFormat binaryFormat;<a name="line.368"></a>
-<span class="sourceLineNo">369</span>   private final boolean multiLineValuesOnSeparateLines, readOnly;<a name="line.369"></a>
-<span class="sourceLineNo">370</span>   private final ConfigMap configMap;<a name="line.370"></a>
-<span class="sourceLineNo">371</span>   private final BeanSession beanSession;<a name="line.371"></a>
-<span class="sourceLineNo">372</span>   private final List&lt;ConfigEventListener&gt; listeners = Collections.synchronizedList(new LinkedList&lt;ConfigEventListener&gt;());<a name="line.372"></a>
-<span class="sourceLineNo">373</span><a name="line.373"></a>
+<span class="sourceLineNo">044</span> *    &lt;li class='extlink'&gt;{@source}<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * &lt;/ul&gt;<a name="line.45"></a>
+<span class="sourceLineNo">046</span> */<a name="line.46"></a>
+<span class="sourceLineNo">047</span>public final class Config extends Context implements ConfigEventListener, Writable {<a name="line.47"></a>
+<span class="sourceLineNo">048</span><a name="line.48"></a>
+<span class="sourceLineNo">049</span>   private static volatile Config SYSTEM_DEFAULT = findSystemDefault();<a name="line.49"></a>
+<span class="sourceLineNo">050</span><a name="line.50"></a>
+<span class="sourceLineNo">051</span>   /**<a name="line.51"></a>
+<span class="sourceLineNo">052</span>    * Sets a system default configuration.<a name="line.52"></a>
+<span class="sourceLineNo">053</span>    *<a name="line.53"></a>
+<span class="sourceLineNo">054</span>    * @param systemDefault The new system default configuration.<a name="line.54"></a>
+<span class="sourceLineNo">055</span>    */<a name="line.55"></a>
+<span class="sourceLineNo">056</span>   public synchronized static void setSystemDefault(Config systemDefault) {<a name="line.56"></a>
+<span class="sourceLineNo">057</span>      SYSTEM_DEFAULT = systemDefault;<a name="line.57"></a>
+<span class="sourceLineNo">058</span>   }<a name="line.58"></a>
+<span class="sourceLineNo">059</span><a name="line.59"></a>
+<span class="sourceLineNo">060</span>   /**<a name="line.60"></a>
+<span class="sourceLineNo">061</span>    * Returns the system default configuration.<a name="line.61"></a>
+<span class="sourceLineNo">062</span>    *<a name="line.62"></a>
+<span class="sourceLineNo">063</span>    * @return The system default configuration, or &lt;jk&gt;null&lt;/jk&gt; if it doesn't exist.<a name="line.63"></a>
+<span class="sourceLineNo">064</span>    */<a name="line.64"></a>
+<span class="sourceLineNo">065</span>   public synchronized static Config getSystemDefault() {<a name="line.65"></a>
+<span class="sourceLineNo">066</span>      return SYSTEM_DEFAULT;<a name="line.66"></a>
+<span class="sourceLineNo">067</span>   }<a name="line.67"></a>
+<span class="sourceLineNo">068</span><a name="line.68"></a>
+<span class="sourceLineNo">069</span>   private synchronized static Config findSystemDefault() {<a name="line.69"></a>
+<span class="sourceLineNo">070</span><a name="line.70"></a>
+<span class="sourceLineNo">071</span>      for (String n : getCandidateSystemDefaultConfigNames()) {<a name="line.71"></a>
+<span class="sourceLineNo">072</span>         Config config = find(n);<a name="line.72"></a>
+<span class="sourceLineNo">073</span>         if (config != null)<a name="line.73"></a>
+<span class="sourceLineNo">074</span>            return config;<a name="line.74"></a>
+<span class="sourceLineNo">075</span>      }<a name="line.75"></a>
+<span class="sourceLineNo">076</span><a name="line.76"></a>
+<span class="sourceLineNo">077</span>      return null;<a name="line.77"></a>
+<span class="sourceLineNo">078</span>   }<a name="line.78"></a>
+<span class="sourceLineNo">079</span><a name="line.79"></a>
+<span class="sourceLineNo">080</span>   /**<a name="line.80"></a>
+<span class="sourceLineNo">081</span>    * Returns the list of candidate system default configuration file names.<a name="line.81"></a>
+<span class="sourceLineNo">082</span>    *<a name="line.82"></a>
+<span class="sourceLineNo">083</span>    * &lt;p&gt;<a name="line.83"></a>
+<span class="sourceLineNo">084</span>    * If the &lt;js&gt;"juneau.configFile"&lt;/js&gt; system property is set, returns a singleton of that value.<a name="line.84"></a>
+<span class="sourceLineNo">085</span>    * &lt;br&gt;Otherwise, returns a list consisting of the following values:<a name="line.85"></a>
+<span class="sourceLineNo">086</span>    * &lt;ol&gt;<a name="line.86"></a>
+<span class="sourceLineNo">087</span>    *    &lt;li&gt;File with same name as jar file but with &lt;js&gt;".cfg"&lt;/js&gt; extension.  (e.g. &lt;js&gt;"myjar.cfg"&lt;/js&gt;)<a name="line.87"></a>
+<span class="sourceLineNo">088</span>    *    &lt;li&gt;Any file ending in &lt;js&gt;".cfg"&lt;/js&gt; in the home directory (names ordered alphabetically).<a name="line.88"></a>
+<span class="sourceLineNo">089</span>    *    &lt;li&gt;&lt;js&gt;"juneau.cfg"&lt;/js&gt;<a name="line.89"></a>
+<span class="sourceLineNo">090</span>    *    &lt;li&gt;&lt;js&gt;"default.cfg"&lt;/js&gt;<a name="line.90"></a>
+<span class="sourceLineNo">091</span>    * &lt;/ol&gt;<a name="line.91"></a>
+<span class="sourceLineNo">092</span>    * &lt;p&gt;<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    *<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    * @return<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    *    A list of candidate file names.<a name="line.95"></a>
+<span class="sourceLineNo">096</span>    *    &lt;br&gt;The returned list is modifiable.<a name="line.96"></a>
+<span class="sourceLineNo">097</span>    *    &lt;br&gt;Each call constructs a new list.<a name="line.97"></a>
+<span class="sourceLineNo">098</span>    */<a name="line.98"></a>
+<span class="sourceLineNo">099</span>   public synchronized static List&lt;String&gt; getCandidateSystemDefaultConfigNames() {<a name="line.99"></a>
+<span class="sourceLineNo">100</span>      List&lt;String&gt; l = new ArrayList&lt;&gt;();<a name="line.100"></a>
+<span class="sourceLineNo">101</span><a name="line.101"></a>
+<span class="sourceLineNo">102</span>      String s = System.getProperty("juneau.configFile");<a name="line.102"></a>
+<span class="sourceLineNo">103</span>      if (s != null) {<a name="line.103"></a>
+<span class="sourceLineNo">104</span>         l.add(s);<a name="line.104"></a>
+<span class="sourceLineNo">105</span>         return l;<a name="line.105"></a>
+<span class="sourceLineNo">106</span>      }<a name="line.106"></a>
+<span class="sourceLineNo">107</span><a name="line.107"></a>
+<span class="sourceLineNo">108</span>      String cmd = System.getProperty("sun.java.command", "not_found").split("\\s+")[0];<a name="line.108"></a>
+<span class="sourceLineNo">109</span>      if (cmd.endsWith(".jar") &amp;&amp; ! cmd.contains("surefirebooter")) {<a name="line.109"></a>
+<span class="sourceLineNo">110</span>         cmd = cmd.replaceAll(".*?([^\\\\\\/]+)\\.jar$", "$1");<a name="line.110"></a>
+<span class="sourceLineNo">111</span>         l.add(cmd + ".cfg");<a name="line.111"></a>
+<span class="sourceLineNo">112</span>         cmd = cmd.replaceAll("[\\.\\_].*$", "");  // Try also without version in jar name.<a name="line.112"></a>
+<span class="sourceLineNo">113</span>         l.add(cmd + ".cfg");<a name="line.113"></a>
+<span class="sourceLineNo">114</span>      }<a name="line.114"></a>
+<span class="sourceLineNo">115</span><a name="line.115"></a>
+<span class="sourceLineNo">116</span>      Set&lt;File&gt; files = new TreeSet&lt;&gt;(Arrays.asList(new File(".").listFiles()));<a name="line.116"></a>
+<span class="sourceLineNo">117</span>      for (File f : files)<a name="line.117"></a>
+<span class="sourceLineNo">118</span>         if (f.getName().endsWith(".cfg"))<a name="line.118"></a>
+<span class="sourceLineNo">119</span>            l.add(f.getName());<a name="line.119"></a>
+<span class="sourceLineNo">120</span><a name="line.120"></a>
+<span class="sourceLineNo">121</span>      l.add("juneau.cfg");<a name="line.121"></a>
+<span class="sourceLineNo">122</span>      l.add("default.cfg");<a name="line.122"></a>
+<span class="sourceLineNo">123</span><a name="line.123"></a>
+<span class="sourceLineNo">124</span>      return l;<a name="line.124"></a>
+<span class="sourceLineNo">125</span>   }<a name="line.125"></a>
+<span class="sourceLineNo">126</span><a name="line.126"></a>
+<span class="sourceLineNo">127</span>   private synchronized static Config find(String name) {<a name="line.127"></a>
+<span class="sourceLineNo">128</span>      if (name == null)<a name="line.128"></a>
+<span class="sourceLineNo">129</span>         return null;<a name="line.129"></a>
+<span class="sourceLineNo">130</span>      if (ConfigFileStore.DEFAULT.exists(name))<a name="line.130"></a>
+<span class="sourceLineNo">131</span>         return Config.create(name).store(ConfigFileStore.DEFAULT).build();<a name="line.131"></a>
+<span class="sourceLineNo">132</span>      if (ConfigClasspathStore.DEFAULT.exists(name))<a name="line.132"></a>
+<span class="sourceLineNo">133</span>         return Config.create(name).store(ConfigClasspathStore.DEFAULT).build();<a name="line.133"></a>
+<span class="sourceLineNo">134</span>      return null;<a name="line.134"></a>
+<span class="sourceLineNo">135</span>   }<a name="line.135"></a>
+<span class="sourceLineNo">136</span><a name="line.136"></a>
+<span class="sourceLineNo">137</span>   //-------------------------------------------------------------------------------------------------------------------<a name="line.137"></a>
+<span class="sourceLineNo">138</span>   // Configurable properties<a name="line.138"></a>
+<span class="sourceLineNo">139</span>   //-------------------------------------------------------------------------------------------------------------------<a name="line.139"></a>
+<span class="sourceLineNo">140</span><a name="line.140"></a>
+<span class="sourceLineNo">141</span>   private static final String PREFIX = "Config.";<a name="line.141"></a>
+<span class="sourceLineNo">142</span><a name="line.142"></a>
+<span class="sourceLineNo">143</span>   /**<a name="line.143"></a>
+<span class="sourceLineNo">144</span>    * Configuration property:  Configuration name.<a name="line.144"></a>
+<span class="sourceLineNo">145</span>    *<a name="line.145"></a>
+<span class="sourceLineNo">146</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.146"></a>
+<span class="sourceLineNo">147</span>    * &lt;ul&gt;<a name="line.147"></a>
+<span class="sourceLineNo">148</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.name.s"&lt;/js&gt;<a name="line.148"></a>
+<span class="sourceLineNo">149</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  &lt;code&gt;String&lt;/code&gt;<a name="line.149"></a>
+<span class="sourceLineNo">150</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  &lt;js&gt;"Configuration.cfg"&lt;/js&gt;<a name="line.150"></a>
+<span class="sourceLineNo">151</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.151"></a>
+<span class="sourceLineNo">152</span>    *       &lt;ul&gt;<a name="line.152"></a>
+<span class="sourceLineNo">153</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#name(String)}<a name="line.153"></a>
+<span class="sourceLineNo">154</span>    *       &lt;/ul&gt;<a name="line.154"></a>
+<span class="sourceLineNo">155</span>    * &lt;/ul&gt;<a name="line.155"></a>
+<span class="sourceLineNo">156</span>    *<a name="line.156"></a>
+<span class="sourceLineNo">157</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.157"></a>
+<span class="sourceLineNo">158</span>    * &lt;p&gt;<a name="line.158"></a>
+<span class="sourceLineNo">159</span>    * Specifies the configuration name.<a name="line.159"></a>
+<span class="sourceLineNo">160</span>    * &lt;br&gt;This is typically the configuration file name, although<a name="line.160"></a>
+<span class="sourceLineNo">161</span>    * the name can be anything identifiable by the {@link ConfigStore} used for retrieving and storing the configuration.<a name="line.161"></a>
+<span class="sourceLineNo">162</span>    */<a name="line.162"></a>
+<span class="sourceLineNo">163</span>   public static final String CONFIG_name = PREFIX + "name.s";<a name="line.163"></a>
+<span class="sourceLineNo">164</span><a name="line.164"></a>
+<span class="sourceLineNo">165</span>   /**<a name="line.165"></a>
+<span class="sourceLineNo">166</span>    * Configuration property:  Configuration store.<a name="line.166"></a>
+<span class="sourceLineNo">167</span>    *<a name="line.167"></a>
+<span class="sourceLineNo">168</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.168"></a>
+<span class="sourceLineNo">169</span>    * &lt;ul&gt;<a name="line.169"></a>
+<span class="sourceLineNo">170</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.store.o"&lt;/js&gt;<a name="line.170"></a>
+<span class="sourceLineNo">171</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  {@link ConfigStore}<a name="line.171"></a>
+<span class="sourceLineNo">172</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  {@link ConfigFileStore#DEFAULT}<a name="line.172"></a>
+<span class="sourceLineNo">173</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.173"></a>
+<span class="sourceLineNo">174</span>    *       &lt;ul&gt;<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#store(ConfigStore)}<a name="line.175"></a>
+<span class="sourceLineNo">176</span>    *       &lt;/ul&gt;<a name="line.176"></a>
+<span class="sourceLineNo">177</span>    * &lt;/ul&gt;<a name="line.177"></a>
+<span class="sourceLineNo">178</span>    *<a name="line.178"></a>
+<span class="sourceLineNo">179</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.179"></a>
+<span class="sourceLineNo">180</span>    * &lt;p&gt;<a name="line.180"></a>
+<span class="sourceLineNo">181</span>    * The configuration store used for retrieving and storing configurations.<a name="line.181"></a>
+<span class="sourceLineNo">182</span>    */<a name="line.182"></a>
+<span class="sourceLineNo">183</span>   public static final String CONFIG_store = PREFIX + "store.o";<a name="line.183"></a>
+<span class="sourceLineNo">184</span><a name="line.184"></a>
+<span class="sourceLineNo">185</span>   /**<a name="line.185"></a>
+<span class="sourceLineNo">186</span>    * Configuration property:  POJO serializer.<a name="line.186"></a>
+<span class="sourceLineNo">187</span>    *<a name="line.187"></a>
+<span class="sourceLineNo">188</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.188"></a>
+<span class="sourceLineNo">189</span>    * &lt;ul&gt;<a name="line.189"></a>
+<span class="sourceLineNo">190</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.serializer.o"&lt;/js&gt;<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  {@link WriterSerializer}<a name="line.191"></a>
+<span class="sourceLineNo">192</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  {@link SimpleJsonSerializer#DEFAULT}<a name="line.192"></a>
+<span class="sourceLineNo">193</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.193"></a>
+<span class="sourceLineNo">194</span>    *       &lt;ul&gt;<a name="line.194"></a>
+<span class="sourceLineNo">195</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#serializer(Class)}<a name="line.195"></a>
+<span class="sourceLineNo">196</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#serializer(WriterSerializer)}<a name="line.196"></a>
+<span class="sourceLineNo">197</span>    *       &lt;/ul&gt;<a name="line.197"></a>
+<span class="sourceLineNo">198</span>    * &lt;/ul&gt;<a name="line.198"></a>
+<span class="sourceLineNo">199</span>    *<a name="line.199"></a>
+<span class="sourceLineNo">200</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.200"></a>
+<span class="sourceLineNo">201</span>    * &lt;p&gt;<a name="line.201"></a>
+<span class="sourceLineNo">202</span>    * The serializer to use for serializing POJO values.<a name="line.202"></a>
+<span class="sourceLineNo">203</span>    */<a name="line.203"></a>
+<span class="sourceLineNo">204</span>   public static final String CONFIG_serializer = PREFIX + "serializer.o";<a name="line.204"></a>
+<span class="sourceLineNo">205</span><a name="line.205"></a>
+<span class="sourceLineNo">206</span>   /**<a name="line.206"></a>
+<span class="sourceLineNo">207</span>    * Configuration property:  POJO parser.<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    *<a name="line.208"></a>
+<span class="sourceLineNo">209</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.209"></a>
+<span class="sourceLineNo">210</span>    * &lt;ul&gt;<a name="line.210"></a>
+<span class="sourceLineNo">211</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.parser.o"&lt;/js&gt;<a name="line.211"></a>
+<span class="sourceLineNo">212</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  {@link ReaderParser}<a name="line.212"></a>
+<span class="sourceLineNo">213</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  {@link JsonParser#DEFAULT}<a name="line.213"></a>
+<span class="sourceLineNo">214</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.214"></a>
+<span class="sourceLineNo">215</span>    *       &lt;ul&gt;<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#parser(Class)}<a name="line.216"></a>
+<span class="sourceLineNo">217</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#parser(ReaderParser)}<a name="line.217"></a>
+<span class="sourceLineNo">218</span>    *       &lt;/ul&gt;<a name="line.218"></a>
+<span class="sourceLineNo">219</span>    * &lt;/ul&gt;<a name="line.219"></a>
+<span class="sourceLineNo">220</span>    *<a name="line.220"></a>
+<span class="sourceLineNo">221</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.221"></a>
+<span class="sourceLineNo">222</span>    * &lt;p&gt;<a name="line.222"></a>
+<span class="sourceLineNo">223</span>    * The parser to use for parsing values to POJOs.<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    */<a name="line.224"></a>
+<span class="sourceLineNo">225</span>   public static final String CONFIG_parser = PREFIX + "parser.o";<a name="line.225"></a>
+<span class="sourceLineNo">226</span><a name="line.226"></a>
+<span class="sourceLineNo">227</span>   /**<a name="line.227"></a>
+<span class="sourceLineNo">228</span>    * Configuration property:  Value encoder.<a name="line.228"></a>
+<span class="sourceLineNo">229</span>    *<a name="line.229"></a>
+<span class="sourceLineNo">230</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.230"></a>
+<span class="sourceLineNo">231</span>    * &lt;ul&gt;<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.encoder.o"&lt;/js&gt;<a name="line.232"></a>
+<span class="sourceLineNo">233</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  {@link ConfigEncoder}<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  {@link ConfigXorEncoder#INSTANCE}<a name="line.234"></a>
+<span class="sourceLineNo">235</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.235"></a>
+<span class="sourceLineNo">236</span>    *       &lt;ul&gt;<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#encoder(Class)}<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#encoder(ConfigEncoder)}<a name="line.238"></a>
+<span class="sourceLineNo">239</span>    *       &lt;/ul&gt;<a name="line.239"></a>
+<span class="sourceLineNo">240</span>    * &lt;/ul&gt;<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    *<a name="line.241"></a>
+<span class="sourceLineNo">242</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.242"></a>
+<span class="sourceLineNo">243</span>    * &lt;p&gt;<a name="line.243"></a>
+<span class="sourceLineNo">244</span>    * The encoder to use for encoding encoded configuration values.<a name="line.244"></a>
+<span class="sourceLineNo">245</span>    */<a name="line.245"></a>
+<span class="sourceLineNo">246</span>   public static final String CONFIG_encoder = PREFIX + "encoder.o";<a name="line.246"></a>
+<span class="sourceLineNo">247</span><a name="line.247"></a>
+<span class="sourceLineNo">248</span>   /**<a name="line.248"></a>
+<span class="sourceLineNo">249</span>    * Configuration property:  SVL variable resolver.<a name="line.249"></a>
+<span class="sourceLineNo">250</span>    *<a name="line.250"></a>
+<span class="sourceLineNo">251</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.251"></a>
+<span class="sourceLineNo">252</span>    * &lt;ul&gt;<a name="line.252"></a>
+<span class="sourceLineNo">253</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.varResolver.o"&lt;/js&gt;<a name="line.253"></a>
+<span class="sourceLineNo">254</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  {@link VarResolver}<a name="line.254"></a>
+<span class="sourceLineNo">255</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  {@link VarResolver#DEFAULT}<a name="line.255"></a>
+<span class="sourceLineNo">256</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.256"></a>
+<span class="sourceLineNo">257</span>    *       &lt;ul&gt;<a name="line.257"></a>
+<span class="sourceLineNo">258</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#varResolver(Class)}<a name="line.258"></a>
+<span class="sourceLineNo">259</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#varResolver(VarResolver)}<a name="line.259"></a>
+<span class="sourceLineNo">260</span>    *       &lt;/ul&gt;<a name="line.260"></a>
+<span class="sourceLineNo">261</span>    * &lt;/ul&gt;<a name="line.261"></a>
+<span class="sourceLineNo">262</span>    *<a name="line.262"></a>
+<span class="sourceLineNo">263</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.263"></a>
+<span class="sourceLineNo">264</span>    * &lt;p&gt;<a name="line.264"></a>
+<span class="sourceLineNo">265</span>    * The resolver to use for resolving SVL variables.<a name="line.265"></a>
+<span class="sourceLineNo">266</span>    */<a name="line.266"></a>
+<span class="sourceLineNo">267</span>   public static final String CONFIG_varResolver = PREFIX + "varResolver.o";<a name="line.267"></a>
+<span class="sourceLineNo">268</span><a name="line.268"></a>
+<span class="sourceLineNo">269</span>   /**<a name="line.269"></a>
+<span class="sourceLineNo">270</span>    * Configuration property:  Binary value line length.<a name="line.270"></a>
+<span class="sourceLineNo">271</span>    *<a name="line.271"></a>
+<span class="sourceLineNo">272</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.272"></a>
+<span class="sourceLineNo">273</span>    * &lt;ul&gt;<a name="line.273"></a>
+<span class="sourceLineNo">274</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.binaryLineLength.i"&lt;/js&gt;<a name="line.274"></a>
+<span class="sourceLineNo">275</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  &lt;code&gt;Integer&lt;/code&gt;<a name="line.275"></a>
+<span class="sourceLineNo">276</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  &lt;code&gt;-1&lt;/code&gt;<a name="line.276"></a>
+<span class="sourceLineNo">277</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.277"></a>
+<span class="sourceLineNo">278</span>    *       &lt;ul&gt;<a name="line.278"></a>
+<span class="sourceLineNo">279</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#binaryLineLength(int)}<a name="line.279"></a>
+<span class="sourceLineNo">280</span>    *       &lt;/ul&gt;<a name="line.280"></a>
+<span class="sourceLineNo">281</span>    * &lt;/ul&gt;<a name="line.281"></a>
+<span class="sourceLineNo">282</span>    *<a name="line.282"></a>
+<span class="sourceLineNo">283</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.283"></a>
+<span class="sourceLineNo">284</span>    * &lt;p&gt;<a name="line.284"></a>
+<span class="sourceLineNo">285</span>    * When serializing binary values, lines will be split after this many characters.<a name="line.285"></a>
+<span class="sourceLineNo">286</span>    * &lt;br&gt;Use &lt;code&gt;-1&lt;/code&gt; to represent no line splitting.<a name="line.286"></a>
+<span class="sourceLineNo">287</span>    */<a name="line.287"></a>
+<span class="sourceLineNo">288</span>   public static final String CONFIG_binaryLineLength = PREFIX + "binaryLineLength.i";<a name="line.288"></a>
+<span class="sourceLineNo">289</span><a name="line.289"></a>
+<span class="sourceLineNo">290</span>   /**<a name="line.290"></a>
+<span class="sourceLineNo">291</span>    * Configuration property:  Binary value format.<a name="line.291"></a>
+<span class="sourceLineNo">292</span>    *<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.293"></a>
+<span class="sourceLineNo">294</span>    * &lt;ul&gt;<a name="line.294"></a>
+<span class="sourceLineNo">295</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.binaryFormat.s"&lt;/js&gt;<a name="line.295"></a>
+<span class="sourceLineNo">296</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  {@link BinaryFormat}<a name="line.296"></a>
+<span class="sourceLineNo">297</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  {@link BinaryFormat#BASE64}<a name="line.297"></a>
+<span class="sourceLineNo">298</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.298"></a>
+<span class="sourceLineNo">299</span>    *       &lt;ul&gt;<a name="line.299"></a>
+<span class="sourceLineNo">300</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#binaryFormat(BinaryFormat)}<a name="line.300"></a>
+<span class="sourceLineNo">301</span>    *       &lt;/ul&gt;<a name="line.301"></a>
+<span class="sourceLineNo">302</span>    * &lt;/ul&gt;<a name="line.302"></a>
+<span class="sourceLineNo">303</span>    *<a name="line.303"></a>
+<span class="sourceLineNo">304</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.304"></a>
+<span class="sourceLineNo">305</span>    * &lt;p&gt;<a name="line.305"></a>
+<span class="sourceLineNo">306</span>    * The format to use when persisting byte arrays.<a name="line.306"></a>
+<span class="sourceLineNo">307</span>    *<a name="line.307"></a>
+<span class="sourceLineNo">308</span>    * &lt;p&gt;<a name="line.308"></a>
+<span class="sourceLineNo">309</span>    * Possible values:<a name="line.309"></a>
+<span class="sourceLineNo">310</span>    * &lt;ul&gt;<a name="line.310"></a>
+<span class="sourceLineNo">311</span>    *    &lt;li&gt;{@link BinaryFormat#BASE64} - BASE64-encoded string.<a name="line.311"></a>
+<span class="sourceLineNo">312</span>    *    &lt;li&gt;{@link BinaryFormat#HEX} - Hexadecimal.<a name="line.312"></a>
+<span class="sourceLineNo">313</span>    *    &lt;li&gt;{@link BinaryFormat#SPACED_HEX} - Hexadecimal with spaces between bytes.<a name="line.313"></a>
+<span class="sourceLineNo">314</span>    * &lt;/ul&gt;<a name="line.314"></a>
+<span class="sourceLineNo">315</span>    */<a name="line.315"></a>
+<span class="sourceLineNo">316</span>   public static final String CONFIG_binaryFormat = PREFIX + "binaryFormat.s";<a name="line.316"></a>
+<span class="sourceLineNo">317</span><a name="line.317"></a>
+<span class="sourceLineNo">318</span>   /**<a name="line.318"></a>
+<span class="sourceLineNo">319</span>    * Configuration property:  Multi-line values should always be on separate lines.<a name="line.319"></a>
+<span class="sourceLineNo">320</span>    *<a name="line.320"></a>
+<span class="sourceLineNo">321</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.321"></a>
+<span class="sourceLineNo">322</span>    * &lt;ul&gt;<a name="line.322"></a>
+<span class="sourceLineNo">323</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.multiLineValuesOnSeparateLines.b"&lt;/js&gt;<a name="line.323"></a>
+<span class="sourceLineNo">324</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  &lt;code&gt;Boolean&lt;/code&gt;<a name="line.324"></a>
+<span class="sourceLineNo">325</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  &lt;jk&gt;false&lt;/jk&gt;<a name="line.325"></a>
+<span class="sourceLineNo">326</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.326"></a>
+<span class="sourceLineNo">327</span>    *       &lt;ul&gt;<a name="line.327"></a>
+<span class="sourceLineNo">328</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#multiLineValuesOnSeparateLines()}<a name="line.328"></a>
+<span class="sourceLineNo">329</span>    *       &lt;/ul&gt;<a name="line.329"></a>
+<span class="sourceLineNo">330</span>    * &lt;/ul&gt;<a name="line.330"></a>
+<span class="sourceLineNo">331</span>    *<a name="line.331"></a>
+<span class="sourceLineNo">332</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.332"></a>
+<span class="sourceLineNo">333</span>    * &lt;p&gt;<a name="line.333"></a>
+<span class="sourceLineNo">334</span>    * When enabled, multi-line values will always be placed on a separate line from the key.<a name="line.334"></a>
+<span class="sourceLineNo">335</span>    */<a name="line.335"></a>
+<span class="sourceLineNo">336</span>   public static final String CONFIG_multiLineValuesOnSeparateLines = PREFIX + "multiLineValuesOnSeparateLines.b";<a name="line.336"></a>
+<span class="sourceLineNo">337</span><a name="line.337"></a>
+<span class="sourceLineNo">338</span>   /**<a name="line.338"></a>
+<span class="sourceLineNo">339</span>    * Configuration property:  Read-only.<a name="line.339"></a>
+<span class="sourceLineNo">340</span>    *<a name="line.340"></a>
+<span class="sourceLineNo">341</span>    * &lt;h5 class='section'&gt;Property:&lt;/h5&gt;<a name="line.341"></a>
+<span class="sourceLineNo">342</span>    * &lt;ul&gt;<a name="line.342"></a>
+<span class="sourceLineNo">343</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt;  &lt;js&gt;"Config.readOnly.b"&lt;/js&gt;<a name="line.343"></a>
+<span class="sourceLineNo">344</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt;  &lt;code&gt;Boolean&lt;/code&gt;<a name="line.344"></a>
+<span class="sourceLineNo">345</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt;  &lt;jk&gt;false&lt;/jk&gt;<a name="line.345"></a>
+<span class="sourceLineNo">346</span>    *    &lt;li&gt;&lt;b&gt;Methods:&lt;/b&gt;<a name="line.346"></a>
+<span class="sourceLineNo">347</span>    *       &lt;ul&gt;<a name="line.347"></a>
+<span class="sourceLineNo">348</span>    *          &lt;li class='jm'&gt;{@link ConfigBuilder#readOnly()}<a name="line.348"></a>
+<span class="sourceLineNo">349</span>    *       &lt;/ul&gt;<a name="line.349"></a>
+<span class="sourceLineNo">350</span>    * &lt;/ul&gt;<a name="line.350"></a>
+<span class="sourceLineNo">351</span>    *<a name="line.351"></a>
+<span class="sourceLineNo">352</span>    * &lt;h5 class='section'&gt;Description:&lt;/h5&gt;<a name="line.352"></a>
+<span class="sourceLineNo">353</span>    * &lt;p&gt;<a name="line.353"></a>
+<span class="sourceLineNo">354</span>    * When enabled, attempts to call any setters on this object will throw an {@link UnsupportedOperationException}.<a name="line.354"></a>
+<span class="sourceLineNo">355</span>    */<a name="line.355"></a>
+<span class="sourceLineNo">356</span>   public static final String CONFIG_readOnly = PREFIX + "readOnly.b";<a name="line.356"></a>
+<span class="sourceLineNo">357</span><a name="line.357"></a>
+<span class="sourceLineNo">358</span>   //-------------------------------------------------------------------------------------------------------------------<a name="line.358"></a>
+<span class="sourceLineNo">359</span>   // Instance<a name="line.359"></a>
+<span class="sourceLineNo">360</span>   //-------------------------------------------------------------------------------------------------------------------<a name="line.360"></a>
+<span class="sourceLineNo">361</span><a name="line.361"></a>
+<span class="sourceLineNo">362</span>   private final String name;<a name="line.362"></a>
+<span class="sourceLineNo">363</span>   private final ConfigStore store;<a name="line.363"></a>
+<span class="sourceLineNo">364</span>   private final WriterSerializer serializer;<a name="line.364"></a>
+<span class="sourceLineNo">365</span>   private final ReaderParser parser;<a name="line.365"></a>
+<span class="sourceLineNo">366</span>   private final ConfigEncoder encoder;<a name="line.366"></a>
+<span class="sourceLineNo">367</span>   private final VarResolverSession varSession;<a name="line.367"></a>
+<span class="sourceLineNo">368</span>   private final int binaryLineLength;<a name="line.368"></a>
+<span class="sourceLineNo">369</span>   private final BinaryFormat binaryFormat;<a name="line.369"></a>
+<span class="sourceLineNo">370</span>   private final boolean multiLineValuesOnSeparateLines, readOnly;<a name="line.370"></a>
+<span class="sourceLineNo">371</span>   private final ConfigMap configMap;<a name="line.371"></a>
+<span class="sourceLineNo">372</span>   private final BeanSession beanSession;<a name="line.372"></a>
+<span class="sourceLineNo">373</span>   private final List&lt;ConfigEventListener&gt; listeners = Collections.synchronizedList(new LinkedList&lt;ConfigEventListener&gt;());<a name="line.373"></a>
 <span class="sourceLineNo">374</span><a name="line.374"></a>
-<span class="sourceLineNo">375</span>   /**<a name="line.375"></a>
-<span class="sourceLineNo">376</span>    * Instantiates a new clean-slate {@link ConfigBuilder} object.<a name="line.376"></a>
-<span class="sourceLineNo">377</span>    *<a name="line.377"></a>
-<span class="sourceLineNo">378</span>    * &lt;p&gt;<a name="line.378"></a>
-<span class="sourceLineNo">379</span>    * This is equivalent to simply calling &lt;code&gt;&lt;jk&gt;new&lt;/jk&gt; ConfigBuilder()&lt;/code&gt;.<a name="line.379"></a>
-<span class="sourceLineNo">380</span>    *<a name="line.380"></a>
-<span class="sourceLineNo">381</span>    * @return A new {@link ConfigBuilder} object.<a name="line.381"></a>
-<span class="sourceLineNo">382</span>    */<a name="line.382"></a>
-<span class="sourceLineNo">383</span>   public static ConfigBuilder create() {<a name="line.383"></a>
-<span class="sourceLineNo">384</span>      return new ConfigBuilder();<a name="line.384"></a>
-<span class="sourceLineNo">385</span>   }<a name="line.385"></a>
-<span class="sourceLineNo">386</span><a name="line.386"></a>
-<span class="sourceLineNo">387</span>   /**<a name="line.387"></a>
-<span class="sourceLineNo">388</span>    * Same as {@link #create()} but initializes the builder with the specified config name.<a name="line.388"></a>
-<span class="sourceLineNo">389</span>    *<a name="line.389"></a>
-<span class="sourceLineNo">390</span>    * &lt;p&gt;<a name="line.390"></a>
-<span class="sourceLineNo">391</span>    * This is equivalent to simply calling &lt;code&gt;&lt;jk&gt;new&lt;/jk&gt; ConfigBuilder().name(name)&lt;/code&gt;.<a name="line.391"></a>
-<span class="sourceLineNo">392</span>    *<a name="line.392"></a>
-<span class="sourceLineNo">393</span>    * @param name The configuration name.<a name="line.393"></a>
-<span class="sourceLineNo">394</span>    * @return A new {@link ConfigBuilder} object.<a name="line.394"></a>
-<span class="sourceLineNo">395</span>    */<a name="line.395"></a>
-<span class="sourceLineNo">396</span>   public static ConfigBuilder create(String name) {<a name="line.396"></a>
-<span class="sourceLineNo">397</span>      return new ConfigBuilder().name(name);<a name="line.397"></a>
-<span class="sourceLineNo">398</span>   }<a name="line.398"></a>
-<span class="sourceLineNo">399</span><a name="line.399"></a>
-<span class="sourceLineNo">400</span>   @Override /* Context */<a name="line.400"></a>
-<span class="sourceLineNo">401</span>   public ConfigBuilder builder() {<a name="line.401"></a>
-<span class="sourceLineNo">402</span>      return new ConfigBuilder(getPropertyStore());<a name="line.402"></a>
-<span class="sourceLineNo">403</span>   }<a name="line.403"></a>
-<span class="sourceLineNo">404</span><a name="line.404"></a>
-<span class="sourceLineNo">405</span>   /**<a name="line.405"></a>
-<span class="sourceLineNo">406</span>    * Constructor.<a name="line.406"></a>
-<span class="sourceLineNo">407</span>    *<a name="line.407"></a>
-<span class="sourceLineNo">408</span>    * @param ps<a name="line.408"></a>
-<span class="sourceLineNo">409</span>    *    The property store containing all the settings for this object.<a name="line.409"></a>
-<span class="sourceLineNo">410</span>    * @throws IOException<a name="line.410"></a>
-<span class="sourceLineNo">411</span>    */<a name="line.411"></a>
-<span class="sourceLineNo">412</span>   public Config(PropertyStore ps) throws IOException {<a name="line.412"></a>
-<span class="sourceLineNo">413</span>      super(ps);<a name="line.413"></a>
-<span class="sourceLineNo">414</span><a name="line.414"></a>
-<span class="sourceLineNo">415</span>      name = getStringProperty(CONFIG_name, "Configuration.cfg");<a name="line.415"></a>
-<span class="sourceLineNo">416</span>      store = getInstanceProperty(CONFIG_store, ConfigStore.class, ConfigFileStore.DEFAULT);<a name="line.416"></a>
-<span class="sourceLineNo">417</span>      configMap = store.getMap(name);<a name="line.417"></a>
-<span class="sourceLineNo">418</span>      configMap.register(this);<a name="line.418"></a>
-<span class="sourceLineNo">419</span>      serializer = getInstanceProperty(CONFIG_serializer, WriterSerializer.class, SimpleJsonSerializer.DEFAULT);<a name="line.419"></a>
-<span class="sourceLineNo">420</span>      parser = getInstanceProperty(CONFIG_parser, ReaderParser.class, JsonParser.DEFAULT);<a name="line.420"></a>
-<span class="sourceLineNo">421</span>      beanSession = parser.createBeanSession();<a name="line.421"></a>
-<span class="sourceLineNo">422</span>      encoder = getInstanceProperty(CONFIG_encoder, ConfigEncoder.class, ConfigXorEncoder.INSTANCE);<a name="line.422"></a>
-<span class="sourceLineNo">423</span>      varSession = getInstanceProperty(CONFIG_varResolver, VarResolver.class, VarResolver.DEFAULT)<a name="line.423"></a>
-<span class="sourceLineNo">424</span>         .builder()<a name="line.424"></a>
-<span class="sourceLineNo">425</span>         .vars(ConfigVar.class)<a name="line.425"></a>
-<span class="sourceLineNo">426</span>         .contextObject(ConfigVar.SESSION_config, this)<a name="line.426"></a>
-<span class="sourceLineNo">427</span>         .build()<a name="line.427"></a>
-<span class="sourceLineNo">428</span>         .createSession();<a name="line.428"></a>
-<span class="sourceLineNo">429</span>      binaryLineLength = getIntegerProperty(CONFIG_binaryLineLength, -1);<a name="line.429"></a>
-<span class="sourceLineNo">430</span>      binaryFormat = getProperty(CONFIG_binaryFormat, BinaryFormat.class, BinaryFormat.BASE64);<a name="line.430"></a>
-<span class="sourceLineNo">431</span>      multiLineValuesOnSeparateLines = getBooleanProperty(CONFIG_multiLineValuesOnSeparateLines, false);<a name="line.431"></a>
-<span class="sourceLineNo">432</span>      readOnly = getBooleanProperty(CONFIG_readOnly, false);<a name="line.432"></a>
-<span class="sourceLineNo">433</span>   }<a name="line.433"></a>
-<span class="sourceLineNo">434</span><a name="line.434"></a>
-<span class="sourceLineNo">435</span>   Config(Config copyFrom, VarResolverSession varSession) {<a name="line.435"></a>
-<span class="sourceLineNo">436</span>      super(null);<a name="line.436"></a>
-<span class="sourceLineNo">437</span>      name = copyFrom.name;<a name="line.437"></a>
-<span class="sourceLineNo">438</span>      store = copyFrom.store;<a name="line.438"></a>
-<span class="sourceLineNo">439</span>      configMap = copyFrom.configMap;<a name="line.439"></a>
-<span class="sourceLineNo">440</span>      configMap.register(this);<a name="line.440"></a>
-<span class="sourceLineNo">441</span>      serializer = copyFrom.serializer;<a name="line.441"></a>
-<span class="sourceLineNo">442</span>      parser = copyFrom.parser;<a name="line.442"></a>
-<span class="sourceLineNo">443</span>      encoder = copyFrom.encoder;<a name="line.443"></a>
-<span class="sourceLineNo">444</span>      this.varSession = varSession;<a name="line.444"></a>
-<span class="sourceLineNo">445</span>      binaryLineLength = copyFrom.binaryLineLength;<a name="line.445"></a>
-<span class="sourceLineNo">446</span>      binaryFormat = copyFrom.binaryFormat;<a name="line.446"></a>
-<span class="sourceLineNo">447</span>      multiLineValuesOnSeparateLines = copyFrom.multiLineValuesOnSeparateLines;<a name="line.447"></a>
-<span class="sourceLineNo">448</span>      readOnly = copyFrom.readOnly;<a name="line.448"></a>
-<span class="sourceLineNo">449</span>      beanSession = copyFrom.beanSession;<a name="line.449"></a>
-<span class="sourceLineNo">450</span>   }<a name="line.450"></a>
-<span class="sourceLineNo">451</span><a name="line.451"></a>
-<span class="sourceLineNo">452</span>   /**<a name="line.452"></a>
-<span class="sourceLineNo">453</span>    * Creates a copy of this config using the specified var session for resolving variables.<a name="line.453"></a>
-<span class="sourceLineNo">454</span>    *<a name="line.454"></a>
-<span class="sourceLineNo">455</span>    * &lt;p&gt;<a name="line.455"></a>
-<span class="sourceLineNo">456</span>    * This creates a shallow copy of the config but replacing the variable resolver.<a name="line.456"></a>
-<span class="sourceLineNo">457</span>    *<a name="line.457"></a>
-<span class="sourceLineNo">458</span>    * @param varSession The var session used for resolving string variables.<a name="line.458"></a>
-<span class="sourceLineNo">459</span>    * @return A new config object.<a name="line.459"></a>
-<span class="sourceLineNo">460</span>    */<a name="line.460"></a>
-<span class="sourceLineNo">461</span>   public Config resolving(VarResolverSession varSession) {<a name="line.461"></a>
-<span class="sourceLineNo">462</span>      return new Config(this, varSession);<a name="line.462"></a>
-<span class="sourceLineNo">463</span>   }<a name="line.463"></a>
-<span class="sourceLineNo">464</span><a name="line.464"></a>
-<span class="sourceLineNo">465</span>   /**<a name="line.465"></a>
-<span class="sourceLineNo">466</span>    * Returns the name associated with this config (usually a file name).<a name="line.466"></a>
-<span class="sourceLineNo">467</span>    *<a name="line.467"></a>
-<span class="sourceLineNo">468</span>    * @return The name associated with this config, or &lt;jk&gt;null&lt;/jk&gt; if it has no name.<a name="line.468"></a>
-<span class="sourceLineNo">469</span>    */<a name="line.469"></a>
-<span class="sourceLineNo">470</span>   public String getName() {<a name="line.470"></a>
-<span class="sourceLineNo">471</span>      return name;<a name="line.471"></a>
-<span class="sourceLineNo">472</span>   }<a name="line.472"></a>
-<span class="sourceLineNo">473</span><a name="line.473"></a>
-<span class="sourceLineNo">474</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.474"></a>
-<span class="sourceLineNo">475</span>   // Workhorse getters<a name="line.475"></a>
-<span class="sourceLineNo">476</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.476"></a>
-<span class="sourceLineNo">477</span><a name="line.477"></a>
-<span class="sourceLineNo">478</span>   /**<a name="line.478"></a>
-<span class="sourceLineNo">479</span>    * Returns the specified value as a string from the config file.<a name="line.479"></a>
-<span class="sourceLineNo">480</span>    *<a name="line.480"></a>
-<span class="sourceLineNo">481</span>    * &lt;p&gt;<a name="line.481"></a>
-<span class="sourceLineNo">482</span>    * Unlike {@link #getString(String)}, this method doesn't replace SVL variables.<a name="line.482"></a>
-<span class="sourceLineNo">483</span>    *<a name="line.483"></a>
-<span class="sourceLineNo">484</span>    * @param key The key.<a name="line.484"></a>
-<span class="sourceLineNo">485</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or value doesn't exist.<a name="line.485"></a>
-<span class="sourceLineNo">486</span>    */<a name="line.486"></a>
-<span class="sourceLineNo">487</span>   public String get(String key) {<a name="line.487"></a>
-<span class="sourceLineNo">488</span><a name="line.488"></a>
-<span class="sourceLineNo">489</span>      String sname = sname(key);<a name="line.489"></a>
-<span class="sourceLineNo">490</span>      String skey = skey(key);<a name="line.490"></a>
-<span class="sourceLineNo">491</span><a name="line.491"></a>
-<span class="sourceLineNo">492</span>      ConfigEntry ce = configMap.getEntry(sname, skey);<a name="line.492"></a>
-<span class="sourceLineNo">493</span><a name="line.493"></a>
-<span class="sourceLineNo">494</span>      if (ce == null || ce.getValue() == null)<a name="line.494"></a>
-<span class="sourceLineNo">495</span>         return null;<a name="line.495"></a>
-<span class="sourceLineNo">496</span><a name="line.496"></a>
-<span class="sourceLineNo">497</span>      String val = ce.getValue();<a name="line.497"></a>
-<span class="sourceLineNo">498</span>      for (ConfigMod m : ConfigMod.asModifiersReverse(ce.getModifiers())) {<a name="line.498"></a>
-<span class="sourceLineNo">499</span>         if (m == ENCODED) {<a name="line.499"></a>
-<span class="sourceLineNo">500</span>            if (encoder.isEncoded(val))<a name="line.500"></a>
-<span class="sourceLineNo">501</span>               val = encoder.decode(key, val);<a name="line.501"></a>
-<span class="sourceLineNo">502</span>         }<a name="line.502"></a>
-<span class="sourceLineNo">503</span>      }<a name="line.503"></a>
-<span class="sourceLineNo">504</span><a name="line.504"></a>
-<span class="sourceLineNo">505</span>      return val;<a name="line.505"></a>
-<span class="sourceLineNo">506</span>   }<a name="line.506"></a>
-<span class="sourceLineNo">507</span><a name="line.507"></a>
+<span class="sourceLineNo">375</span><a name="line.375"></a>
+<span class="sourceLineNo">376</span>   /**<a name="line.376"></a>
+<span class="sourceLineNo">377</span>    * Instantiates a new clean-slate {@link ConfigBuilder} object.<a name="line.377"></a>
+<span class="sourceLineNo">378</span>    *<a name="line.378"></a>
+<span class="sourceLineNo">379</span>    * &lt;p&gt;<a name="line.379"></a>
+<span class="sourceLineNo">380</span>    * This is equivalent to simply calling &lt;code&gt;&lt;jk&gt;new&lt;/jk&gt; ConfigBuilder()&lt;/code&gt;.<a name="line.380"></a>
+<span class="sourceLineNo">381</span>    *<a name="line.381"></a>
+<span class="sourceLineNo">382</span>    * @return A new {@link ConfigBuilder} object.<a name="line.382"></a>
+<span class="sourceLineNo">383</span>    */<a name="line.383"></a>
+<span class="sourceLineNo">384</span>   public static ConfigBuilder create() {<a name="line.384"></a>
+<span class="sourceLineNo">385</span>      return new ConfigBuilder();<a name="line.385"></a>
+<span class="sourceLineNo">386</span>   }<a name="line.386"></a>
+<span class="sourceLineNo">387</span><a name="line.387"></a>
+<span class="sourceLineNo">388</span>   /**<a name="line.388"></a>
+<span class="sourceLineNo">389</span>    * Same as {@link #create()} but initializes the builder with the specified config name.<a name="line.389"></a>
+<span class="sourceLineNo">390</span>    *<a name="line.390"></a>
+<span class="sourceLineNo">391</span>    * &lt;p&gt;<a name="line.391"></a>
+<span class="sourceLineNo">392</span>    * This is equivalent to simply calling &lt;code&gt;&lt;jk&gt;new&lt;/jk&gt; ConfigBuilder().name(name)&lt;/code&gt;.<a name="line.392"></a>
+<span class="sourceLineNo">393</span>    *<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    * @param name The configuration name.<a name="line.394"></a>
+<span class="sourceLineNo">395</span>    * @return A new {@link ConfigBuilder} object.<a name="line.395"></a>
+<span class="sourceLineNo">396</span>    */<a name="line.396"></a>
+<span class="sourceLineNo">397</span>   public static ConfigBuilder create(String name) {<a name="line.397"></a>
+<span class="sourceLineNo">398</span>      return new ConfigBuilder().name(name);<a name="line.398"></a>
+<span class="sourceLineNo">399</span>   }<a name="line.399"></a>
+<span class="sourceLineNo">400</span><a name="line.400"></a>
+<span class="sourceLineNo">401</span>   @Override /* Context */<a name="line.401"></a>
+<span class="sourceLineNo">402</span>   public ConfigBuilder builder() {<a name="line.402"></a>
+<span class="sourceLineNo">403</span>      return new ConfigBuilder(getPropertyStore());<a name="line.403"></a>
+<span class="sourceLineNo">404</span>   }<a name="line.404"></a>
+<span class="sourceLineNo">405</span><a name="line.405"></a>
+<span class="sourceLineNo">406</span>   /**<a name="line.406"></a>
+<span class="sourceLineNo">407</span>    * Constructor.<a name="line.407"></a>
+<span class="sourceLineNo">408</span>    *<a name="line.408"></a>
+<span class="sourceLineNo">409</span>    * @param ps<a name="line.409"></a>
+<span class="sourceLineNo">410</span>    *    The property store containing all the settings for this object.<a name="line.410"></a>
+<span class="sourceLineNo">411</span>    * @throws IOException<a name="line.411"></a>
+<span class="sourceLineNo">412</span>    */<a name="line.412"></a>
+<span class="sourceLineNo">413</span>   public Config(PropertyStore ps) throws IOException {<a name="line.413"></a>
+<span class="sourceLineNo">414</span>      super(ps);<a name="line.414"></a>
+<span class="sourceLineNo">415</span><a name="line.415"></a>
+<span class="sourceLineNo">416</span>      name = getStringProperty(CONFIG_name, "Configuration.cfg");<a name="line.416"></a>
+<span class="sourceLineNo">417</span>      store = getInstanceProperty(CONFIG_store, ConfigStore.class, ConfigFileStore.DEFAULT);<a name="line.417"></a>
+<span class="sourceLineNo">418</span>      configMap = store.getMap(name);<a name="line.418"></a>
+<span class="sourceLineNo">419</span>      configMap.register(this);<a name="line.419"></a>
+<span class="sourceLineNo">420</span>      serializer = getInstanceProperty(CONFIG_serializer, WriterSerializer.class, SimpleJsonSerializer.DEFAULT);<a name="line.420"></a>
+<span class="sourceLineNo">421</span>      parser = getInstanceProperty(CONFIG_parser, ReaderParser.class, JsonParser.DEFAULT);<a name="line.421"></a>
+<span class="sourceLineNo">422</span>      beanSession = parser.createBeanSession();<a name="line.422"></a>
+<span class="sourceLineNo">423</span>      encoder = getInstanceProperty(CONFIG_encoder, ConfigEncoder.class, ConfigXorEncoder.INSTANCE);<a name="line.423"></a>
+<span class="sourceLineNo">424</span>      varSession = getInstanceProperty(CONFIG_varResolver, VarResolver.class, VarResolver.DEFAULT)<a name="line.424"></a>
+<span class="sourceLineNo">425</span>         .builder()<a name="line.425"></a>
+<span class="sourceLineNo">426</span>         .vars(ConfigVar.class)<a name="line.426"></a>
+<span class="sourceLineNo">427</span>         .contextObject(ConfigVar.SESSION_config, this)<a name="line.427"></a>
+<span class="sourceLineNo">428</span>         .build()<a name="line.428"></a>
+<span class="sourceLineNo">429</span>         .createSession();<a name="line.429"></a>
+<span class="sourceLineNo">430</span>      binaryLineLength = getIntegerProperty(CONFIG_binaryLineLength, -1);<a name="line.430"></a>
+<span class="sourceLineNo">431</span>      binaryFormat = getProperty(CONFIG_binaryFormat, BinaryFormat.class, BinaryFormat.BASE64);<a name="line.431"></a>
+<span class="sourceLineNo">432</span>      multiLineValuesOnSeparateLines = getBooleanProperty(CONFIG_multiLineValuesOnSeparateLines, false);<a name="line.432"></a>
+<span class="sourceLineNo">433</span>      readOnly = getBooleanProperty(CONFIG_readOnly, false);<a name="line.433"></a>
+<span class="sourceLineNo">434</span>   }<a name="line.434"></a>
+<span class="sourceLineNo">435</span><a name="line.435"></a>
+<span class="sourceLineNo">436</span>   Config(Config copyFrom, VarResolverSession varSession) {<a name="line.436"></a>
+<span class="sourceLineNo">437</span>      super(null);<a name="line.437"></a>
+<span class="sourceLineNo">438</span>      name = copyFrom.name;<a name="line.438"></a>
+<span class="sourceLineNo">439</span>      store = copyFrom.store;<a name="line.439"></a>
+<span class="sourceLineNo">440</span>      configMap = copyFrom.configMap;<a name="line.440"></a>
+<span class="sourceLineNo">441</span>      configMap.register(this);<a name="line.441"></a>
+<span class="sourceLineNo">442</span>      serializer = copyFrom.serializer;<a name="line.442"></a>
+<span class="sourceLineNo">443</span>      parser = copyFrom.parser;<a name="line.443"></a>
+<span class="sourceLineNo">444</span>      encoder = copyFrom.encoder;<a name="line.444"></a>
+<span class="sourceLineNo">445</span>      this.varSession = varSession;<a name="line.445"></a>
+<span class="sourceLineNo">446</span>      binaryLineLength = copyFrom.binaryLineLength;<a name="line.446"></a>
+<span class="sourceLineNo">447</span>      binaryFormat = copyFrom.binaryFormat;<a name="line.447"></a>
+<span class="sourceLineNo">448</span>      multiLineValuesOnSeparateLines = copyFrom.multiLineValuesOnSeparateLines;<a name="line.448"></a>
+<span class="sourceLineNo">449</span>      readOnly = copyFrom.readOnly;<a name="line.449"></a>
+<span class="sourceLineNo">450</span>      beanSession = copyFrom.beanSession;<a name="line.450"></a>
+<span class="sourceLineNo">451</span>   }<a name="line.451"></a>
+<span class="sourceLineNo">452</span><a name="line.452"></a>
+<span class="sourceLineNo">453</span>   /**<a name="line.453"></a>
+<span class="sourceLineNo">454</span>    * Creates a copy of this config using the specified var session for resolving variables.<a name="line.454"></a>
+<span class="sourceLineNo">455</span>    *<a name="line.455"></a>
+<span class="sourceLineNo">456</span>    * &lt;p&gt;<a name="line.456"></a>
+<span class="sourceLineNo">457</span>    * This creates a shallow copy of the config but replacing the variable resolver.<a name="line.457"></a>
+<span class="sourceLineNo">458</span>    *<a name="line.458"></a>
+<span class="sourceLineNo">459</span>    * @param varSession The var session used for resolving string variables.<a name="line.459"></a>
+<span class="sourceLineNo">460</span>    * @return A new config object.<a name="line.460"></a>
+<span class="sourceLineNo">461</span>    */<a name="line.461"></a>
+<span class="sourceLineNo">462</span>   public Config resolving(VarResolverSession varSession) {<a name="line.462"></a>
+<span class="sourceLineNo">463</span>      return new Config(this, varSession);<a name="line.463"></a>
+<span class="sourceLineNo">464</span>   }<a name="line.464"></a>
+<span class="sourceLineNo">465</span><a name="line.465"></a>
+<span class="sourceLineNo">466</span>   /**<a name="line.466"></a>
+<span class="sourceLineNo">467</span>    * Returns the name associated with this config (usually a file name).<a name="line.467"></a>
+<span class="sourceLineNo">468</span>    *<a name="line.468"></a>
+<span class="sourceLineNo">469</span>    * @return The name associated with this config, or &lt;jk&gt;null&lt;/jk&gt; if it has no name.<a name="line.469"></a>
+<span class="sourceLineNo">470</span>    */<a name="line.470"></a>
+<span class="sourceLineNo">471</span>   public String getName() {<a name="line.471"></a>
+<span class="sourceLineNo">472</span>      return name;<a name="line.472"></a>
+<span class="sourceLineNo">473</span>   }<a name="line.473"></a>
+<span class="sourceLineNo">474</span><a name="line.474"></a>
+<span class="sourceLineNo">475</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.475"></a>
+<span class="sourceLineNo">476</span>   // Workhorse getters<a name="line.476"></a>
+<span class="sourceLineNo">477</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.477"></a>
+<span class="sourceLineNo">478</span><a name="line.478"></a>
+<span class="sourceLineNo">479</span>   /**<a name="line.479"></a>
+<span class="sourceLineNo">480</span>    * Returns the specified value as a string from the config file.<a name="line.480"></a>
+<span class="sourceLineNo">481</span>    *<a name="line.481"></a>
+<span class="sourceLineNo">482</span>    * &lt;p&gt;<a name="line.482"></a>
+<span class="sourceLineNo">483</span>    * Unlike {@link #getString(String)}, this method doesn't replace SVL variables.<a name="line.483"></a>
+<span class="sourceLineNo">484</span>    *<a name="line.484"></a>
+<span class="sourceLineNo">485</span>    * @param key The key.<a name="line.485"></a>
+<span class="sourceLineNo">486</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or value doesn't exist.<a name="line.486"></a>
+<span class="sourceLineNo">487</span>    */<a name="line.487"></a>
+<span class="sourceLineNo">488</span>   public String get(String key) {<a name="line.488"></a>
+<span class="sourceLineNo">489</span><a name="line.489"></a>
+<span class="sourceLineNo">490</span>      String sname = sname(key);<a name="line.490"></a>
+<span class="sourceLineNo">491</span>      String skey = skey(key);<a name="line.491"></a>
+<span class="sourceLineNo">492</span><a name="line.492"></a>
+<span class="sourceLineNo">493</span>      ConfigEntry ce = configMap.getEntry(sname, skey);<a name="line.493"></a>
+<span class="sourceLineNo">494</span><a name="line.494"></a>
+<span class="sourceLineNo">495</span>      if (ce == null || ce.getValue() == null)<a name="line.495"></a>
+<span class="sourceLineNo">496</span>         return null;<a name="line.496"></a>
+<span class="sourceLineNo">497</span><a name="line.497"></a>
+<span class="sourceLineNo">498</span>      String val = ce.getValue();<a name="line.498"></a>
+<span class="sourceLineNo">499</span>      for (ConfigMod m : ConfigMod.asModifiersReverse(ce.getModifiers())) {<a name="line.499"></a>
+<span class="sourceLineNo">500</span>         if (m == ENCODED) {<a name="line.500"></a>
+<span class="sourceLineNo">501</span>            if (encoder.isEncoded(val))<a name="line.501"></a>
+<span class="sourceLineNo">502</span>               val = encoder.decode(key, val);<a name="line.502"></a>
+<span class="sourceLineNo">503</span>         }<a name="line.503"></a>
+<span class="sourceLineNo">504</span>      }<a name="line.504"></a>
+<span class="sourceLineNo">505</span><a name="line.505"></a>
+<span class="sourceLineNo">506</span>      return val;<a name="line.506"></a>
+<span class="sourceLineNo">507</span>   }<a name="line.507"></a>
 <span class="sourceLineNo">508</span><a name="line.508"></a>
-<span class="sourceLineNo">509</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.509"></a>
-<span class="sourceLineNo">510</span>   // Workhorse setters<a name="line.510"></a>
-<span class="sourceLineNo">511</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.511"></a>
-<span class="sourceLineNo">512</span><a name="line.512"></a>
-<span class="sourceLineNo">513</span>   /**<a name="line.513"></a>
-<span class="sourceLineNo">514</span>    * Sets a value in this config.<a name="line.514"></a>
-<span class="sourceLineNo">515</span>    *<a name="line.515"></a>
-<span class="sourceLineNo">516</span>    * @param key The key.<a name="line.516"></a>
-<span class="sourceLineNo">517</span>    * @param value The value.<a name="line.517"></a>
-<span class="sourceLineNo">518</span>    * @return This object (for method chaining).<a name="line.518"></a>
-<span class="sourceLineNo">519</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.519"></a>
-<span class="sourceLineNo">520</span>    */<a name="line.520"></a>
-<span class="sourceLineNo">521</span>   public Config set(String key, String value) {<a name="line.521"></a>
-<span class="sourceLineNo">522</span>      checkWrite();<a name="line.522"></a>
-<span class="sourceLineNo">523</span>      assertFieldNotNull(key, "key");<a name="line.523"></a>
-<span class="sourceLineNo">524</span>      String sname = sname(key);<a name="line.524"></a>
-<span class="sourceLineNo">525</span>      String skey = skey(key);<a name="line.525"></a>
-<span class="sourceLineNo">526</span><a name="line.526"></a>
-<span class="sourceLineNo">527</span>      ConfigEntry ce = configMap.getEntry(sname, skey);<a name="line.527"></a>
-<span class="sourceLineNo">528</span>      if (ce == null &amp;&amp; value == null)<a name="line.528"></a>
-<span class="sourceLineNo">529</span>         return this;<a name="line.529"></a>
-<span class="sourceLineNo">530</span><a name="line.530"></a>
-<span class="sourceLineNo">531</span>      String mod = ce == null ? "" : ce.getModifiers();<a name="line.531"></a>
-<span class="sourceLineNo">532</span><a name="line.532"></a>
-<span class="sourceLineNo">533</span>      String s = asString(value);<a name="line.533"></a>
-<span class="sourceLineNo">534</span>      for (ConfigMod m : ConfigMod.asModifiers(mod)) {<a name="line.534"></a>
-<span class="sourceLineNo">535</span>         if (m == ENCODED) {<a name="line.535"></a>
-<span class="sourceLineNo">536</span>            s = encoder.encode(key, s);<a name="line.536"></a>
-<span class="sourceLineNo">537</span>         }<a name="line.537"></a>
-<span class="sourceLineNo">538</span>      }<a name="line.538"></a>
-<span class="sourceLineNo">539</span><a name="line.539"></a>
-<span class="sourceLineNo">540</span>      configMap.setEntry(sname, skey, s, null, null, null);<a name="line.540"></a>
-<span class="sourceLineNo">541</span>      return this;<a name="line.541"></a>
-<span class="sourceLineNo">542</span>   }<a name="line.542"></a>
-<span class="sourceLineNo">543</span><a name="line.543"></a>
-<span class="sourceLineNo">544</span>   /**<a name="line.544"></a>
-<span class="sourceLineNo">545</span>    * Adds or replaces an entry with the specified key with a POJO serialized to a string using the registered<a name="line.545"></a>
-<span class="sourceLineNo">546</span>    * serializer.<a name="line.546"></a>
-<span class="sourceLineNo">547</span>    *<a name="line.547"></a>
-<span class="sourceLineNo">548</span>    * &lt;p&gt;<a name="line.548"></a>
-<span class="sourceLineNo">549</span>    * Equivalent to calling &lt;code&gt;put(key, value, isEncoded(key))&lt;/code&gt;.<a name="line.549"></a>
-<span class="sourceLineNo">550</span>    *<a name="line.550"></a>
-<span class="sourceLineNo">551</span>    * @param key The key.<a name="line.551"></a>
-<span class="sourceLineNo">552</span>    * @param value The new value POJO.<a name="line.552"></a>
-<span class="sourceLineNo">553</span>    * @return The previous value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key did not previously exist.<a name="line.553"></a>
-<span class="sourceLineNo">554</span>    * @throws SerializeException<a name="line.554"></a>
-<span class="sourceLineNo">555</span>    *    If serializer could not serialize the value or if a serializer is not registered with this config file.<a name="line.555"></a>
-<span class="sourceLineNo">556</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.556"></a>
-<span class="sourceLineNo">557</span>    */<a name="line.557"></a>
-<span class="sourceLineNo">558</span>   public Config set(String key, Object value) throws SerializeException {<a name="line.558"></a>
-<span class="sourceLineNo">559</span>      return set(key, value, null);<a name="line.559"></a>
-<span class="sourceLineNo">560</span>   }<a name="line.560"></a>
-<span class="sourceLineNo">561</span><a name="line.561"></a>
-<span class="sourceLineNo">562</span>   /**<a name="line.562"></a>
-<span class="sourceLineNo">563</span>    * Same as {@link #set(String, Object)} but allows you to specify the serializer to use to serialize the<a name="line.563"></a>
-<span class="sourceLineNo">564</span>    * value.<a name="line.564"></a>
-<span class="sourceLineNo">565</span>    *<a name="line.565"></a>
-<span class="sourceLineNo">566</span>    * @param key The key.<a name="line.566"></a>
-<span class="sourceLineNo">567</span>    * @param value The new value.<a name="line.567"></a>
-<span class="sourceLineNo">568</span>    * @param serializer<a name="line.568"></a>
-<span class="sourceLineNo">569</span>    *    The serializer to use for serializing the object.<a name="line.569"></a>
-<span class="sourceLineNo">570</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then uses the predefined serializer on the config file.<a name="line.570"></a>
-<span class="sourceLineNo">571</span>    * @return The previous value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key did not previously exist.<a name="line.571"></a>
-<span class="sourceLineNo">572</span>    * @throws SerializeException<a name="line.572"></a>
-<span class="sourceLineNo">573</span>    *    If serializer could not serialize the value or if a serializer is not registered with this config file.<a name="line.573"></a>
-<span class="sourceLineNo">574</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.574"></a>
-<span class="sourceLineNo">575</span>    */<a name="line.575"></a>
-<span class="sourceLineNo">576</span>   public Config set(String key, Object value, Serializer serializer) throws SerializeException {<a name="line.576"></a>
-<span class="sourceLineNo">577</span>      return set(key, serialize(value, serializer));<a name="line.577"></a>
-<span class="sourceLineNo">578</span>   }<a name="line.578"></a>
-<span class="sourceLineNo">579</span><a name="line.579"></a>
-<span class="sourceLineNo">580</span>   /**<a name="line.580"></a>
-<span class="sourceLineNo">581</span>    * Same as {@link #set(String, Object)} but allows you to specify all aspects of a value.<a name="line.581"></a>
-<span class="sourceLineNo">582</span>    *<a name="line.582"></a>
-<span class="sourceLineNo">583</span>    * @param key The key.<a name="line.583"></a>
-<span class="sourceLineNo">584</span>    * @param value The new value.<a name="line.584"></a>
-<span class="sourceLineNo">585</span>    * @param serializer<a name="line.585"></a>
-<span class="sourceLineNo">586</span>    *    The serializer to use for serializing the object.<a name="line.586"></a>
-<span class="sourceLineNo">587</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then uses the predefined serializer on the config file.<a name="line.587"></a>
-<span class="sourceLineNo">588</span>    * @param modifier<a name="line.588"></a>
-<span class="sourceLineNo">589</span>    *    Optional modifier to apply to the value.<a name="line.589"></a>
-<span class="sourceLineNo">590</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, then previous value will not be replaced.<a name="line.590"></a>
-<span class="sourceLineNo">591</span>    * @param comment<a name="line.591"></a>
-<span class="sourceLineNo">592</span>    *    Optional same-line comment to add to this value.<a name="line.592"></a>
-<span class="sourceLineNo">593</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, then previous value will not be replaced.<a name="line.593"></a>
-<span class="sourceLineNo">594</span>    * @param preLines<a name="line.594"></a>
-<span class="sourceLineNo">595</span>    *    Optional comment or blank lines to add before this entry.<a name="line.595"></a>
-<span class="sourceLineNo">596</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, then previous value will not be replaced.<a name="line.596"></a>
-<span class="sourceLineNo">597</span>    * @return The previous value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key did not previously exist.<a name="line.597"></a>
-<span class="sourceLineNo">598</span>    * @throws SerializeException<a name="line.598"></a>
-<span class="sourceLineNo">599</span>    *    If serializer could not serialize the value or if a serializer is not registered with this config file.<a name="line.599"></a>
-<span class="sourceLineNo">600</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.600"></a>
-<span class="sourceLineNo">601</span>    */<a name="line.601"></a>
-<span class="sourceLineNo">602</span>   public Config set(String key, Object value, Serializer serializer, ConfigMod modifier, String comment, List&lt;String&gt; preLines) throws SerializeException {<a name="line.602"></a>
-<span class="sourceLineNo">603</span>      return set(key, value, serializer, modifier == null ? null : new ConfigMod[]{modifier}, comment, preLines);<a name="line.603"></a>
-<span class="sourceLineNo">604</span>   }<a name="line.604"></a>
-<span class="sourceLineNo">605</span><a name="line.605"></a>
-<span class="sourceLineNo">606</span>   /**<a name="line.606"></a>
-<span class="sourceLineNo">607</span>    * Same as {@link #set(String, Object)} but allows you to specify all aspects of a value.<a name="line.607"></a>
-<span class="sourceLineNo">608</span>    *<a name="line.608"></a>
-<span class="sourceLineNo">609</span>    * @param key The key.<a name="line.609"></a>
-<span class="sourceLineNo">610</span>    * @param value The new value.<a name="line.610"></a>
-<span class="sourceLineNo">611</span>    * @param serializer<a name="line.611"></a>
-<span class="sourceLineNo">612</span>    *    The serializer to use for serializing the object.<a name="line.612"></a>
-<span class="sourceLineNo">613</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then uses the predefined serializer on the config file.<a name="line.613"></a>
-<span class="sourceLineNo">614</span>    * @param modifiers<a name="line.614"></a>
-<span class="sourceLineNo">615</span>    *    Optional modifiers to apply to the value.<a name="line.615"></a>
-<span class="sourceLineNo">616</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, then previous value will not be replaced.<a name="line.616"></a>
-<span class="sourceLineNo">617</span>    * @param comment<a name="line.617"></a>
-<span class="sourceLineNo">618</span>    *    Optional same-line comment to add to this value.<a name="line.618"></a>
-<span class="sourceLineNo">619</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, then previous value will not be replaced.<a name="line.619"></a>
-<span class="sourceLineNo">620</span>    * @param preLines<a name="line.620"></a>
-<span class="sourceLineNo">621</span>    *    Optional comment or blank lines to add before this entry.<a name="line.621"></a>
-<span class="sourceLineNo">622</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, then previous value will not be replaced.<a name="line.622"></a>
-<span class="sourceLineNo">623</span>    * @return The previous value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key did not previously exist.<a name="line.623"></a>
-<span class="sourceLineNo">624</span>    * @throws SerializeException<a name="line.624"></a>
-<span class="sourceLineNo">625</span>    *    If serializer could not serialize the value or if a serializer is not registered with this config file.<a name="line.625"></a>
-<span class="sourceLineNo">626</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.626"></a>
-<span class="sourceLineNo">627</span>    */<a name="line.627"></a>
-<span class="sourceLineNo">628</span>   public Config set(String key, Object value, Serializer serializer, ConfigMod[] modifiers, String comment, List&lt;String&gt; preLines) throws SerializeException {<a name="line.628"></a>
-<span class="sourceLineNo">629</span>      checkWrite();<a name="line.629"></a>
-<span class="sourceLineNo">630</span>      assertFieldNotNull(key, "key");<a name="line.630"></a>
-<span class="sourceLineNo">631</span>      String sname = sname(key);<a name="line.631"></a>
-<span class="sourceLineNo">632</span>      String skey = skey(key);<a name="line.632"></a>
-<span class="sourceLineNo">633</span><a name="line.633"></a>
-<span class="sourceLineNo">634</span>      String s = serialize(value, serializer);<a name="line.634"></a>
-<span class="sourceLineNo">635</span>      if (modifiers != null) {<a name="line.635"></a>
-<span class="sourceLineNo">636</span>         for (ConfigMod m : modifiers) {<a name="line.636"></a>
-<span class="sourceLineNo">637</span>            if (m == ENCODED) {<a name="line.637"></a>
-<span class="sourceLineNo">638</span>               s = encoder.encode(key, s);<a name="line.638"></a>
-<span class="sourceLineNo">639</span>            }<a name="line.639"></a>
-<span class="sourceLineNo">640</span>         }<a name="line.640"></a>
-<span class="sourceLineNo">641</span>      }<a name="line.641"></a>
-<span class="sourceLineNo">642</span><a name="line.642"></a>
-<span class="sourceLineNo">643</span>      configMap.setEntry(sname, skey, s, modifiers == null ? null : ConfigMod.asString(modifiers), comment, preLines);<a name="line.643"></a>
-<span class="sourceLineNo">644</span>      return this;<a name="line.644"></a>
-<span class="sourceLineNo">645</span>   }<a name="line.645"></a>
-<span class="sourceLineNo">646</span><a name="line.646"></a>
-<span class="sourceLineNo">647</span>   /**<a name="line.647"></a>
-<span class="sourceLineNo">648</span>    * Removes an entry with the specified key.<a name="line.648"></a>
-<span class="sourceLineNo">649</span>    *<a name="line.649"></a>
-<span class="sourceLineNo">650</span>    * @param key The key.<a name="line.650"></a>
-<span class="sourceLineNo">651</span>    * @return The previous value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key did not previously exist.<a name="line.651"></a>
-<span class="sourceLineNo">652</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.652"></a>
-<span class="sourceLineNo">653</span>    */<a name="line.653"></a>
-<span class="sourceLineNo">654</span>   public Config remove(String key) {<a name="line.654"></a>
-<span class="sourceLineNo">655</span>      checkWrite();<a name="line.655"></a>
-<span class="sourceLineNo">656</span>      String sname = sname(key);<a name="line.656"></a>
-<span class="sourceLineNo">657</span>      String skey = skey(key);<a name="line.657"></a>
-<span class="sourceLineNo">658</span>      configMap.removeEntry(sname, skey);<a name="line.658"></a>
-<span class="sourceLineNo">659</span>      return this;<a name="line.659"></a>
-<span class="sourceLineNo">660</span>   }<a name="line.660"></a>
-<span class="sourceLineNo">661</span><a name="line.661"></a>
-<span class="sourceLineNo">662</span>   /**<a name="line.662"></a>
-<span class="sourceLineNo">663</span>    * Encodes and unencoded entries in this config.<a name="line.663"></a>
-<span class="sourceLineNo">664</span>    *<a name="line.664"></a>
-<span class="sourceLineNo">665</span>    * &lt;p&gt;<a name="line.665"></a>
-<span class="sourceLineNo">666</span>    * If any entries in the config are marked as encoded but not actually encoded,<a name="line.666"></a>
-<span class="sourceLineNo">667</span>    * this will encode them.<a name="line.667"></a>
-<span class="sourceLineNo">668</span>    *<a name="line.668"></a>
-<span class="sourceLineNo">669</span>    * @return This object (for method chaining).<a name="line.669"></a>
-<span class="sourceLineNo">670</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.670"></a>
-<span class="sourceLineNo">671</span>    */<a name="line.671"></a>
-<span class="sourceLineNo">672</span>   public Config encodeEntries() {<a name="line.672"></a>
-<span class="sourceLineNo">673</span>      checkWrite();<a name="line.673"></a>
-<span class="sourceLineNo">674</span>      for (String section : configMap.getSections()) {<a name="line.674"></a>
-<span class="sourceLineNo">675</span>         for (String key : configMap.getKeys(section)) {<a name="line.675"></a>
-<span class="sourceLineNo">676</span>            ConfigEntry ce = configMap.getEntry(section, key);<a name="line.676"></a>
-<span class="sourceLineNo">677</span>            if (ce != null &amp;&amp; ce.hasModifier('*') &amp;&amp; ! encoder.isEncoded(ce.getValue())) {<a name="line.677"></a>
-<span class="sourceLineNo">678</span>               configMap.setEntry(section, key, encoder.encode(section + '/' + key, ce.getValue()), null, null, null);<a name="line.678"></a>
-<span class="sourceLineNo">679</span>            }<a name="line.679"></a>
-<span class="sourceLineNo">680</span>         }<a name="line.680"></a>
-<span class="sourceLineNo">681</span>      }<a name="line.681"></a>
-<span class="sourceLineNo">682</span><a name="line.682"></a>
-<span class="sourceLineNo">683</span>      return this;<a name="line.683"></a>
-<span class="sourceLineNo">684</span>   }<a name="line.684"></a>
-<span class="sourceLineNo">685</span><a name="line.685"></a>
-<span class="sourceLineNo">686</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.686"></a>
-<span class="sourceLineNo">687</span>   // API methods<a name="line.687"></a>
-<span class="sourceLineNo">688</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.688"></a>
-<span class="sourceLineNo">689</span><a name="line.689"></a>
-<span class="sourceLineNo">690</span>   /**<a name="line.690"></a>
-<span class="sourceLineNo">691</span>    * Gets the entry with the specified key.<a name="line.691"></a>
-<span class="sourceLineNo">692</span>    *<a name="line.692"></a>
-<span class="sourceLineNo">693</span>    * &lt;p&gt;<a name="line.693"></a>
-<span class="sourceLineNo">694</span>    * The key can be in one of the following formats...<a name="line.694"></a>
-<span class="sourceLineNo">695</span>    * &lt;ul class='spaced-list'&gt;<a name="line.695"></a>
-<span class="sourceLineNo">696</span>    *    &lt;li&gt;<a name="line.696"></a>
-<span class="sourceLineNo">697</span>    *       &lt;js&gt;"key"&lt;/js&gt; - A value in the default section (i.e. defined above any &lt;code&gt;[section]&lt;/code&gt; header).<a name="line.697"></a>
-<span class="sourceLineNo">698</span>    *    &lt;li&gt;<a name="line.698"></a>
-<span class="sourceLineNo">699</span>    *       &lt;js&gt;"section/key"&lt;/js&gt; - A value from the specified section.<a name="line.699"></a>
-<span class="sourceLineNo">700</span>    * &lt;/ul&gt;<a name="line.700"></a>
-<span class="sourceLineNo">701</span>    *<a name="line.701"></a>
-<span class="sourceLineNo">702</span>    * @param key The key.<a name="line.702"></a>
-<span class="sourceLineNo">703</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.703"></a>
-<span class="sourceLineNo">704</span>    */<a name="line.704"></a>
-<span class="sourceLineNo">705</span>   public String getString(String key) {<a name="line.705"></a>
-<span class="sourceLineNo">706</span>      String s = get(key);<a name="line.706"></a>
-<span class="sourceLineNo">707</span>      if (s == null)<a name="line.707"></a>
-<span class="sourceLineNo">708</span>         return null;<a name="line.708"></a>
-<span class="sourceLineNo">709</span>      if (varSession != null)<a name="line.709"></a>
-<span class="sourceLineNo">710</span>         s = varSession.resolve(s);<a name="line.710"></a>
-<span class="sourceLineNo">711</span>      return s;<a name="line.711"></a>
-<span class="sourceLineNo">712</span>   }<a name="line.712"></a>
-<span class="sourceLineNo">713</span><a name="line.713"></a>
-<span class="sourceLineNo">714</span>   /**<a name="line.714"></a>
-<span class="sourceLineNo">715</span>    * Gets the entry with the specified key.<a name="line.715"></a>
-<span class="sourceLineNo">716</span>    *<a name="line.716"></a>
-<span class="sourceLineNo">717</span>    * &lt;p&gt;<a name="line.717"></a>
-<span class="sourceLineNo">718</span>    * The key can be in one of the following formats...<a name="line.718"></a>
-<span class="sourceLineNo">719</span>    * &lt;ul class='spaced-list'&gt;<a name="line.719"></a>
-<span class="sourceLineNo">720</span>    *    &lt;li&gt;<a name="line.720"></a>
-<span class="sourceLineNo">721</span>    *       &lt;js&gt;"key"&lt;/js&gt; - A value in the default section (i.e. defined above any &lt;code&gt;[section]&lt;/code&gt; header).<a name="line.721"></a>
-<span class="sourceLineNo">722</span>    *    &lt;li&gt;<a name="line.722"></a>
-<span class="sourceLineNo">723</span>    *       &lt;js&gt;"section/key"&lt;/js&gt; - A value from the specified section.<a name="line.723"></a>
-<span class="sourceLineNo">724</span>    * &lt;/ul&gt;<a name="line.724"></a>
-<span class="sourceLineNo">725</span>    *<a name="line.725"></a>
-<span class="sourceLineNo">726</span>    * @param key The key.<a name="line.726"></a>
-<span class="sourceLineNo">727</span>    * @param def The default value if the value does not exist.<a name="line.727"></a>
-<span class="sourceLineNo">728</span>    * @return The value, or the default value if the section or key does not exist.<a name="line.728"></a>
-<span class="sourceLineNo">729</span>    */<a name="line.729"></a>
-<span class="sourceLineNo">730</span>   public String getString(String key, String def) {<a name="line.730"></a>
-<span class="sourceLineNo">731</span>      String s = get(key);<a name="line.731"></a>
-<span class="sourceLineNo">732</span>      if (isEmpty(s))<a name="line.732"></a>
-<span class="sourceLineNo">733</span>         return def;<a name="line.733"></a>
-<span class="sourceLineNo">734</span>      if (varSession != null)<a name="line.734"></a>
-<span class="sourceLineNo">735</span>         s = varSession.resolve(s);<a name="line.735"></a>
-<span class="sourceLineNo">736</span>      return s;<a name="line.736"></a>
-<span class="sourceLineNo">737</span>   }<a name="line.737"></a>
-<span class="sourceLineNo">738</span><a name="line.738"></a>
-<span class="sourceLineNo">739</span>   /**<a name="line.739"></a>
-<span class="sourceLineNo">740</span>    * Gets the entry with the specified key, splits the value on commas, and returns the values as trimmed strings.<a name="line.740"></a>
-<span class="sourceLineNo">741</span>    *<a name="line.741"></a>
-<span class="sourceLineNo">742</span>    * @param key The key.<a name="line.742"></a>
-<span class="sourceLineNo">743</span>    * @return The value, or an empty array if the section or key does not exist.<a name="line.743"></a>
-<span class="sourceLineNo">744</span>    */<a name="line.744"></a>
-<span class="sourceLineNo">745</span>   public String[] getStringArray(String key) {<a name="line.745"></a>
-<span class="sourceLineNo">746</span>      return getStringArray(key, new String[0]);<a name="line.746"></a>
-<span class="sourceLineNo">747</span>   }<a name="line.747"></a>
-<span class="sourceLineNo">748</span><a name="line.748"></a>
-<span class="sourceLineNo">749</span>   /**<a name="line.749"></a>
-<span class="sourceLineNo">750</span>    * Same as {@link #getStringArray(String)} but returns a default value if the value cannot be found.<a name="line.750"></a>
-<span class="sourceLineNo">751</span>    *<a name="line.751"></a>
-<span class="sourceLineNo">752</span>    * @param key The key.<a name="line.752"></a>
-<span class="sourceLineNo">753</span>    * @param def The default value if the value does not exist.<a name="line.753"></a>
-<span class="sourceLineNo">754</span>    * @return The value, or the default value if the section or key does not exist or is blank.<a name="line.754"></a>
-<span class="sourceLineNo">755</span>    */<a name="line.755"></a>
-<span class="sourceLineNo">756</span>   public String[] getStringArray(String key, String[] def) {<a name="line.756"></a>
-<span class="sourceLineNo">757</span>      String s = getString(key);<a name="line.757"></a>
-<span class="sourceLineNo">758</span>      if (isEmpty(s))<a name="line.758"></a>
-<span class="sourceLineNo">759</span>         return def;<a name="line.759"></a>
-<span class="sourceLineNo">760</span>      String[] r = split(s);<a name="line.760"></a>
-<span class="sourceLineNo">761</span>      return r.length == 0 ? def : r;<a name="line.761"></a>
-<span class="sourceLineNo">762</span>   }<a name="line.762"></a>
-<span class="sourceLineNo">763</span><a name="line.763"></a>
-<span class="sourceLineNo">764</span>   /**<a name="line.764"></a>
-<span class="sourceLineNo">765</span>    * Convenience method for getting int config values.<a name="line.765"></a>
-<span class="sourceLineNo">766</span>    *<a name="line.766"></a>
-<span class="sourceLineNo">767</span>    * &lt;p&gt;<a name="line.767"></a>
-<span class="sourceLineNo">768</span>    * &lt;js&gt;"K"&lt;/js&gt;, &lt;js&gt;"M"&lt;/js&gt;, and &lt;js&gt;"G"&lt;/js&gt; can be used to identify kilo, mega, and giga.<a name="line.768"></a>
-<span class="sourceLineNo">769</span>    *<a name="line.769"></a>
-<span class="sourceLineNo">770</span>    * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.770"></a>
-<span class="sourceLineNo">771</span>    * &lt;ul class='spaced-list'&gt;<a name="line.771"></a>
-<span class="sourceLineNo">772</span>    *    &lt;li&gt;<a name="line.772"></a>
-<span class="sourceLineNo">773</span>    *       &lt;code&gt;&lt;js&gt;"100K"&lt;/js&gt; =&gt; 1024000&lt;/code&gt;<a name="line.773"></a>
-<span class="sourceLineNo">774</span>    *    &lt;li&gt;<a name="line.774"></a>
-<span class="sourceLineNo">775</span>    *       &lt;code&gt;&lt;js&gt;"100M"&lt;/js&gt; =&gt; 104857600&lt;/code&gt;<a name="line.775"></a>
-<span class="sourceLineNo">776</span>    * &lt;/ul&gt;<a name="line.776"></a>
-<span class="sourceLineNo">777</span>    *<a name="line.777"></a>
-<span class="sourceLineNo">778</span>    * &lt;p&gt;<a name="line.778"></a>
-<span class="sourceLineNo">779</span>    * Uses {@link Integer#decode(String)} underneath, so any of the following integer formats are supported:<a name="line.779"></a>
-<span class="sourceLineNo">780</span>    * &lt;ul&gt;<a name="line.780"></a>
-<span class="sourceLineNo">781</span>    *    &lt;li&gt;&lt;js&gt;"0x..."&lt;/js&gt;<a name="line.781"></a>
-<span class="sourceLineNo">782</span>    *    &lt;li&gt;&lt;js&gt;"0X..."&lt;/js&gt;<a name="line.782"></a>
-<span class="sourceLineNo">783</span>    *    &lt;li&gt;&lt;js&gt;"#..."&lt;/js&gt;<a name="line.783"></a>
-<span class="sourceLineNo">784</span>    *    &lt;li&gt;&lt;js&gt;"0..."&lt;/js&gt;<a name="line.784"></a>
-<span class="sourceLineNo">785</span>    * &lt;/ul&gt;<a name="line.785"></a>
-<span class="sourceLineNo">786</span>    *<a name="line.786"></a>
-<span class="sourceLineNo">787</span>    * @param key The key.<a name="line.787"></a>
-<span class="sourceLineNo">788</span>    * @return The value, or &lt;code&gt;0&lt;/code&gt; if the value does not exist or the value is empty.<a name="line.788"></a>
-<span class="sourceLineNo">789</span>    */<a name="line.789"></a>
-<span class="sourceLineNo">790</span>   public int getInt(String key) {<a name="line.790"></a>
-<span class="sourceLineNo">791</span>      return getInt(key, 0);<a name="line.791"></a>
-<span class="sourceLineNo">792</span>   }<a name="line.792"></a>
-<span class="sourceLineNo">793</span><a name="line.793"></a>
-<span class="sourceLineNo">794</span>   /**<a name="line.794"></a>
-<span class="sourceLineNo">795</span>    * Same as {@link #getInt(String)} but returns a default value if not set.<a name="line.795"></a>
-<span class="sourceLineNo">796</span>    *<a name="line.796"></a>
-<span class="sourceLineNo">797</span>    * @param key The key.<a name="line.797"></a>
-<span class="sourceLineNo">798</span>    * @param def The default value if the value does not exist.<a name="line.798"></a>
-<span class="sourceLineNo">799</span>    * @return The value, or the default value if the value does not exist or the value is empty.<a name="line.799"></a>
-<span class="sourceLineNo">800</span>    */<a name="line.800"></a>
-<span class="sourceLineNo">801</span>   public int getInt(String key, int def) {<a name="line.801"></a>
-<span class="sourceLineNo">802</span>      String s = getString(key);<a name="line.802"></a>
-<span class="sourceLineNo">803</span>      if (isEmpty(s))<a name="line.803"></a>
-<span class="sourceLineNo">804</span>         return def;<a name="line.804"></a>
-<span class="sourceLineNo">805</span>      return parseIntWithSuffix(s);<a name="line.805"></a>
-<span class="sourceLineNo">806</span>   }<a name="line.806"></a>
-<span class="sourceLineNo">807</span><a name="line.807"></a>
-<span class="sourceLineNo">808</span>   /**<a name="line.808"></a>
-<span class="sourceLineNo">809</span>    * Convenience method for getting boolean config values.<a name="line.809"></a>
-<span class="sourceLineNo">810</span>    *<a name="line.810"></a>
-<span class="sourceLineNo">811</span>    * @param key The key.<a name="line.811"></a>
-<span class="sourceLineNo">812</span>    * @return The value, or &lt;jk&gt;false&lt;/jk&gt; if the section or key does not exist or cannot be parsed as a boolean.<a name="line.812"></a>
-<span class="sourceLineNo">813</span>    */<a name="line.813"></a>
-<span class="sourceLineNo">814</span>   public boolean getBoolean(String key) {<a name="line.814"></a>
-<span class="sourceLineNo">815</span>      return getBoolean(key, false);<a name="line.815"></a>
-<span class="sourceLineNo">816</span>   }<a name="line.816"></a>
-<span class="sourceLineNo">817</span><a name="line.817"></a>
-<span class="sourceLineNo">818</span>   /**<a name="line.818"></a>
-<span class="sourceLineNo">819</span>    * Convenience method for getting boolean config values.<a name="line.819"></a>
-<span class="sourceLineNo">820</span>    *<a name="line.820"></a>
-<span class="sourceLineNo">821</span>    * @param key The key.<a name="line.821"></a>
-<span class="sourceLineNo">822</span>    * @param def The default value if the value does not exist.<a name="line.822"></a>
-<span class="sourceLineNo">823</span>    * @return The value, or the default value if the section or key does not exist or cannot be parsed as a boolean.<a name="line.823"></a>
-<span class="sourceLineNo">824</span>    */<a name="line.824"></a>
-<span class="sourceLineNo">825</span>   public boolean getBoolean(String key, boolean def) {<a name="line.825"></a>
-<span class="sourceLineNo">826</span>      String s = getString(key);<a name="line.826"></a>
-<span class="sourceLineNo">827</span>      return isEmpty(s) ? def : Boolean.parseBoolean(s);<a name="line.827"></a>
-<span class="sourceLineNo">828</span>   }<a name="line.828"></a>
-<span class="sourceLineNo">829</span><a name="line.829"></a>
-<span class="sourceLineNo">830</span>   /**<a name="line.830"></a>
-<span class="sourceLineNo">831</span>    * Convenience method for getting long config values.<a name="line.831"></a>
-<span class="sourceLineNo">832</span>    *<a name="line.832"></a>
-<span class="sourceLineNo">833</span>    * &lt;p&gt;<a name="line.833"></a>
-<span class="sourceLineNo">834</span>    * &lt;js&gt;"K"&lt;/js&gt;, &lt;js&gt;"M"&lt;/js&gt;, and &lt;js&gt;"G"&lt;/js&gt; can be used to identify kilo, mega, and giga.<a name="line.834"></a>
-<span class="sourceLineNo">835</span>    *<a name="line.835"></a>
-<span class="sourceLineNo">836</span>    * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.836"></a>
-<span class="sourceLineNo">837</span>    * &lt;ul class='spaced-list'&gt;<a name="line.837"></a>
-<span class="sourceLineNo">838</span>    *    &lt;li&gt;<a name="line.838"></a>
-<span class="sourceLineNo">839</span>    *       &lt;code&gt;&lt;js&gt;"100K"&lt;/js&gt; =&gt; 1024000&lt;/code&gt;<a name="line.839"></a>
-<span class="sourceLineNo">840</span>    *    &lt;li&gt;<a name="line.840"></a>
-<span class="sourceLineNo">841</span>    *       &lt;code&gt;&lt;js&gt;"100M"&lt;/js&gt; =&gt; 104857600&lt;/code&gt;<a name="line.841"></a>
-<span class="sourceLineNo">842</span>    * &lt;/ul&gt;<a name="line.842"></a>
-<span class="sourceLineNo">843</span>    *<a name="line.843"></a>
-<span class="sourceLineNo">844</span>    * &lt;p&gt;<a name="line.844"></a>
-<span class="sourceLineNo">845</span>    * Uses {@link Long#decode(String)} underneath, so any of the following number formats are supported:<a name="line.845"></a>
-<span class="sourceLineNo">846</span>    * &lt;ul&gt;<a name="line.846"></a>
-<span class="sourceLineNo">847</span>    *    &lt;li&gt;&lt;js&gt;"0x..."&lt;/js&gt;<a name="line.847"></a>
-<span class="sourceLineNo">848</span>    *    &lt;li&gt;&lt;js&gt;"0X..."&lt;/js&gt;<a name="line.848"></a>
-<span class="sourceLineNo">849</span>    *    &lt;li&gt;&lt;js&gt;"#..."&lt;/js&gt;<a name="line.849"></a>
-<span class="sourceLineNo">850</span>    *    &lt;li&gt;&lt;js&gt;"0..."&lt;/js&gt;<a name="line.850"></a>
-<span class="sourceLineNo">851</span>    * &lt;/ul&gt;<a name="line.851"></a>
-<span class="sourceLineNo">852</span>    *<a name="line.852"></a>
-<span class="sourceLineNo">853</span>    * @param key The key.<a name="line.853"></a>
-<span class="sourceLineNo">854</span>    * @return The value, or &lt;code&gt;0&lt;/code&gt; if the value does not exist or the value is empty.<a name="line.854"></a>
-<span class="sourceLineNo">855</span>    */<a name="line.855"></a>
-<span class="sourceLineNo">856</span>   public long getLong(String key) {<a name="line.856"></a>
-<span class="sourceLineNo">857</span>      return getLong(key, 0);<a name="line.857"></a>
-<span class="sourceLineNo">858</span>   }<a name="line.858"></a>
-<span class="sourceLineNo">859</span><a name="line.859"></a>
-<span class="sourceLineNo">860</span>   /**<a name="line.860"></a>
-<span class="sourceLineNo">861</span>    * Same as {@link #getLong(String)} but returns a default value if not set.<a name="line.861"></a>
-<span class="sourceLineNo">862</span>    *<a name="line.862"></a>
-<span class="sourceLineNo">863</span>    * @param key The key.<a name="line.863"></a>
-<span class="sourceLineNo">864</span>    * @param def The default value if the value does not exist.<a name="line.864"></a>
-<span class="sourceLineNo">865</span>    * @return The value, or the default value if the value does not exist or the value is empty.<a name="line.865"></a>
-<span class="sourceLineNo">866</span>    */<a name="line.866"></a>
-<span class="sourceLineNo">867</span>   public long getLong(String key, long def) {<a name="line.867"></a>
-<span class="sourceLineNo">868</span>      String s = getString(key);<a name="line.868"></a>
-<span class="sourceLineNo">869</span>      if (isEmpty(s))<a name="line.869"></a>
-<span class="sourceLineNo">870</span>         return def;<a name="line.870"></a>
-<span class="sourceLineNo">871</span>      return parseLongWithSuffix(s);<a name="line.871"></a>
-<span class="sourceLineNo">872</span>   }<a name="line.872"></a>
-<span class="sourceLineNo">873</span><a name="line.873"></a>
-<span class="sourceLineNo">874</span>   /**<a name="line.874"></a>
-<span class="sourceLineNo">875</span>    * Convenience method for getting double config values.<a name="line.875"></a>
-<span class="sourceLineNo">876</span>    *<a name="line.876"></a>
-<span class="sourceLineNo">877</span>    * &lt;p&gt;<a name="line.877"></a>
-<span class="sourceLineNo">878</span>    * Uses {@link Double#valueOf(String)} underneath, so any of the following number formats are supported:<a name="line.878"></a>
-<span class="sourceLineNo">879</span>    * &lt;ul&gt;<a name="line.879"></a>
-<span class="sourceLineNo">880</span>    *    &lt;li&gt;&lt;js&gt;"0x..."&lt;/js&gt;<a name="line.880"></a>
-<span class="sourceLineNo">881</span>    *    &lt;li&gt;&lt;js&gt;"0X..."&lt;/js&gt;<a name="line.881"></a>
-<span class="sourceLineNo">882</span>    *    &lt;li&gt;&lt;js&gt;"#..."&lt;/js&gt;<a name="line.882"></a>
-<span class="sourceLineNo">883</span>    *    &lt;li&gt;&lt;js&gt;"0..."&lt;/js&gt;<a name="line.883"></a>
-<span class="sourceLineNo">884</span>    * &lt;/ul&gt;<a name="line.884"></a>
-<span class="sourceLineNo">885</span>    *<a name="line.885"></a>
-<span class="sourceLineNo">886</span>    * @param key The key.<a name="line.886"></a>
-<span class="sourceLineNo">887</span>    * @return The value, or &lt;code&gt;0&lt;/code&gt; if the value does not exist or the value is empty.<a name="line.887"></a>
-<span class="sourceLineNo">888</span>    */<a name="line.888"></a>
-<span class="sourceLineNo">889</span>   public double getDouble(String key) {<a name="line.889"></a>
-<span class="sourceLineNo">890</span>      return getDouble(key, 0);<a name="line.890"></a>
-<span class="sourceLineNo">891</span>   }<a name="line.891"></a>
-<span class="sourceLineNo">892</span><a name="line.892"></a>
-<span class="sourceLineNo">893</span>   /**<a name="line.893"></a>
-<span class="sourceLineNo">894</span>    * Same as {@link #getDouble(String)} but returns a default value if not set.<a name="line.894"></a>
-<span class="sourceLineNo">895</span>    *<a name="line.895"></a>
-<span class="sourceLineNo">896</span>    * @param key The key.<a name="line.896"></a>
-<span class="sourceLineNo">897</span>    * @param def The default value if the value does not exist.<a name="line.897"></a>
-<span class="sourceLineNo">898</span>    * @return The value, or the default value if the value does not exist or the value is empty.<a name="line.898"></a>
-<span class="sourceLineNo">899</span>    */<a name="line.899"></a>
-<span class="sourceLineNo">900</span>   public double getDouble(String key, double def) {<a name="line.900"></a>
-<span class="sourceLineNo">901</span>      String s = getString(key);<a name="line.901"></a>
-<span class="sourceLineNo">902</span>      if (isEmpty(s))<a name="line.902"></a>
-<span class="sourceLineNo">903</span>         return def;<a name="line.903"></a>
-<span class="sourceLineNo">904</span>      return Double.valueOf(s);<a name="line.904"></a>
-<span class="sourceLineNo">905</span>   }<a name="line.905"></a>
-<span class="sourceLineNo">906</span><a name="line.906"></a>
-<span class="sourceLineNo">907</span>   /**<a name="line.907"></a>
-<span class="sourceLineNo">908</span>    * Convenience method for getting float config values.<a name="line.908"></a>
-<span class="sourceLineNo">909</span>    *<a name="line.909"></a>
-<span class="sourceLineNo">910</span>    * &lt;p&gt;<a name="line.910"></a>
-<span class="sourceLineNo">911</span>    * Uses {@link Float#valueOf(String)} underneath, so any of the following number formats are supported:<a name="line.911"></a>
-<span class="sourceLineNo">912</span>    * &lt;ul&gt;<a name="line.912"></a>
-<span class="sourceLineNo">913</span>    *    &lt;li&gt;&lt;js&gt;"0x..."&lt;/js&gt;<a name="line.913"></a>
-<span class="sourceLineNo">914</span>    *    &lt;li&gt;&lt;js&gt;"0X..."&lt;/js&gt;<a name="line.914"></a>
-<span class="sourceLineNo">915</span>    *    &lt;li&gt;&lt;js&gt;"#..."&lt;/js&gt;<a name="line.915"></a>
-<span class="sourceLineNo">916</span>    *    &lt;li&gt;&lt;js&gt;"0..."&lt;/js&gt;<a name="line.916"></a>
-<span class="sourceLineNo">917</span>    * &lt;/ul&gt;<a name="line.917"></a>
-<span class="sourceLineNo">918</span>    *<a name="line.918"></a>
-<span class="sourceLineNo">919</span>    * @param key The key.<a name="line.919"></a>
-<span class="sourceLineNo">920</span>    * @return The value, or &lt;code&gt;0&lt;/code&gt; if the value does not exist or the value is empty.<a name="line.920"></a>
-<span class="sourceLineNo">921</span>    */<a name="line.921"></a>
-<span class="sourceLineNo">922</span>   public float getFloat(String key) {<a name="line.922"></a>
-<span class="sourceLineNo">923</span>      return getFloat(key, 0);<a name="line.923"></a>
-<span class="sourceLineNo">924</span>   }<a name="line.924"></a>
-<span class="sourceLineNo">925</span><a name="line.925"></a>
-<span class="sourceLineNo">926</span>   /**<a name="line.926"></a>
-<span class="sourceLineNo">927</span>    * Same as {@link #getFloat(String)} but returns a default value if not set.<a name="line.927"></a>
-<span class="sourceLineNo">928</span>    *<a name="line.928"></a>
-<span class="sourceLineNo">929</span>    * @param key The key.<a name="line.929"></a>
-<span class="sourceLineNo">930</span>    * @param def The default value if the value does not exist.<a name="line.930"></a>
-<span class="sourceLineNo">931</span>    * @return The value, or the default value if the value does not exist or the value is empty.<a name="line.931"></a>
-<span class="sourceLineNo">932</span>    */<a name="line.932"></a>
-<span class="sourceLineNo">933</span>   public float getFloat(String key, float def) {<a name="line.933"></a>
-<span class="sourceLineNo">934</span>      String s = getString(key);<a name="line.934"></a>
-<span class="sourceLineNo">935</span>      if (isEmpty(s))<a name="line.935"></a>
-<span class="sourceLineNo">936</span>         return def;<a name="line.936"></a>
-<span class="sourceLineNo">937</span>      return Float.valueOf(s);<a name="line.937"></a>
-<span class="sourceLineNo">938</span>   }<a name="line.938"></a>
-<span class="sourceLineNo">939</span><a name="line.939"></a>
-<span class="sourceLineNo">940</span>   /**<a name="line.940"></a>
-<span class="sourceLineNo">941</span>    * Convenience method for getting byte array config values.<a name="line.941"></a>
-<span class="sourceLineNo">942</span>    *<a name="line.942"></a>
-<span class="sourceLineNo">943</span>    * &lt;p&gt;<a name="line.943"></a>
-<span class="sourceLineNo">944</span>    * This is equivalent to calling the following:<a name="line.944"></a>
-<span class="sourceLineNo">945</span>    * &lt;p class='bcode w800'&gt;<a name="line.945"></a>
-<span class="sourceLineNo">946</span>    *    &lt;jk&gt;byte&lt;/jk&gt;[] b = config.getObject(key, &lt;jk&gt;byte&lt;/jk&gt;[].&lt;jk&gt;class&lt;/jk&gt;);<a name="line.946"></a>
-<span class="sourceLineNo">947</span>    * &lt;/p&gt;<a name="line.947"></a>
-<span class="sourceLineNo">948</span>    *<a name="line.948"></a>
-<span class="sourceLineNo">949</span>    * Byte arrays are stored as encoded strings, typically BASE64, but dependent on the {@link #CONFIG_binaryFormat} setting.<a name="line.949"></a>
-<span class="sourceLineNo">950</span>    *<a name="line.950"></a>
-<span class="sourceLineNo">951</span>    * @param key The key.<a name="line.951"></a>
-<span class="sourceLineNo">952</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.952"></a>
-<span class="sourceLineNo">953</span>    * @throws ParseException If value could not be converted to a byte array.<a name="line.953"></a>
-<span class="sourceLineNo">954</span>    */<a name="line.954"></a>
-<span class="sourceLineNo">955</span>   public byte[] getBytes(String key) throws ParseException {<a name="line.955"></a>
-<span class="sourceLineNo">956</span>      String s = get(key);<a name="line.956"></a>
-<span class="sourceLineNo">957</span>      if (s == null)<a name="line.957"></a>
-<span class="sourceLineNo">958</span>         return null;<a name="line.958"></a>
-<span class="sourceLineNo">959</span>      if (s.isEmpty())<a name="line.959"></a>
-<span class="sourceLineNo">960</span>         return new byte[0];<a name="line.960"></a>
-<span class="sourceLineNo">961</span>      return getObject(key, byte[].class);<a name="line.961"></a>
-<span class="sourceLineNo">962</span>   }<a name="line.962"></a>
-<span class="sourceLineNo">963</span><a name="line.963"></a>
-<span class="sourceLineNo">964</span>   /**<a name="line.964"></a>
-<span class="sourceLineNo">965</span>    * Same as {@link #getBytes(String)} but with a default value if the entry doesn't exist.<a name="line.965"></a>
-<span class="sourceLineNo">966</span>    *<a name="line.966"></a>
-<span class="sourceLineNo">967</span>    * @param key The key.<a name="line.967"></a>
-<span class="sourceLineNo">968</span>    * @param def The default value if the value does not exist.<a name="line.968"></a>
-<span class="sourceLineNo">969</span>    * @return The value, or the default value if the section or key does not exist.<a name="line.969"></a>
-<span class="sourceLineNo">970</span>    * @throws ParseException If value could not be converted to a byte array.<a name="line.970"></a>
-<span class="sourceLineNo">971</span>    */<a name="line.971"></a>
-<span class="sourceLineNo">972</span>   public byte[] getBytes(String key, byte[] def) throws ParseException {<a name="line.972"></a>
-<span class="sourceLineNo">973</span>      String s = get(key);<a name="line.973"></a>
-<span class="sourceLineNo">974</span>      if (s == null)<a name="line.974"></a>
-<span class="sourceLineNo">975</span>         return def;<a name="line.975"></a>
-<span class="sourceLineNo">976</span>      if (s.isEmpty())<a name="line.976"></a>
-<span class="sourceLineNo">977</span>         return def;<a name="line.977"></a>
-<span class="sourceLineNo">978</span>      return getObjectWithDefault(key, def, byte[].class);<a name="line.978"></a>
-<span class="sourceLineNo">979</span>   }<a name="line.979"></a>
-<span class="sourceLineNo">980</span><a name="line.980"></a>
-<span class="sourceLineNo">981</span>   /**<a name="line.981"></a>
-<span class="sourceLineNo">982</span>    * Gets the entry with the specified key and converts it to the specified value.<a name="line.982"></a>
-<span class="sourceLineNo">983</span>    *<a name="line.983"></a>
-<span class="sourceLineNo">984</span>    * &lt;p&gt;<a name="line.984"></a>
-<span class="sourceLineNo">985</span>    * The key can be in one of the following formats...<a name="line.985"></a>
-<span class="sourceLineNo">986</span>    * &lt;ul class='spaced-list'&gt;<a name="line.986"></a>
-<span class="sourceLineNo">987</span>    *    &lt;li&gt;<a name="line.987"></a>
-<span class="sourceLineNo">988</span>    *       &lt;js&gt;"key"&lt;/js&gt; - A value in the default section (i.e. defined above any &lt;code&gt;[section]&lt;/code&gt; header).<a name="line.988"></a>
-<span class="sourceLineNo">989</span>    *    &lt;li&gt;<a name="line.989"></a>
-<span class="sourceLineNo">990</span>    *       &lt;js&gt;"section/key"&lt;/js&gt; - A value from the specified section.<a name="line.990"></a>
-<span class="sourceLineNo">991</span>    * &lt;/ul&gt;<a name="line.991"></a>
-<span class="sourceLineNo">992</span>    *<a name="line.992"></a>
-<span class="sourceLineNo">993</span>    * &lt;p&gt;<a name="line.993"></a>
-<span class="sourceLineNo">994</span>    * The type can be a simple type (e.g. beans, strings, numbers) or parameterized type (collections/maps).<a name="line.994"></a>
-<span class="sourceLineNo">995</span>    *<a name="line.995"></a>
-<span class="sourceLineNo">996</span>    * &lt;h5 class='section'&gt;Examples:&lt;/h5&gt;<a name="line.996"></a>
-<span class="sourceLineNo">997</span>    * &lt;p class='bcode w800'&gt;<a name="line.997"></a>
-<span class="sourceLineNo">998</span>    *    Config cf = Config.&lt;jsm&gt;create&lt;/jsm&gt;().name(&lt;js&gt;"MyConfig.cfg"&lt;/js&gt;).build();<a name="line.998"></a>
-<span class="sourceLineNo">999</span>    *<a name="line.999"></a>
-<span class="sourceLineNo">1000</span>    *    &lt;jc&gt;// Parse into a linked-list of strings.&lt;/jc&gt;<a name="line.1000"></a>
-<span class="sourceLineNo">1001</span>    *    List l = cf.getObject(&lt;js&gt;"MySection/myListOfStrings"&lt;/js&gt;, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1001"></a>
-<span class="sourceLineNo">1002</span>    *<a name="line.1002"></a>
-<span class="sourceLineNo">1003</span>    *    &lt;jc&gt;// Parse into a linked-list of beans.&lt;/jc&gt;<a name="line.1003"></a>
-<span class="sourceLineNo">1004</span>    *    List l = cf.getObject(&lt;js&gt;"MySection/myListOfBeans"&lt;/js&gt;, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, MyBean.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1004"></a>
-<span class="sourceLineNo">1005</span>    *<a name="line.1005"></a>
-<span class="sourceLineNo">1006</span>    *    &lt;jc&gt;// Parse into a linked-list of linked-lists of strings.&lt;/jc&gt;<a name="line.1006"></a>
-<span class="sourceLineNo">1007</span>    *    List l = cf.getObject(&lt;js&gt;"MySection/my2dListOfStrings"&lt;/js&gt;, LinkedList.&lt;jk&gt;class&lt;/jk&gt;,<a name="line.1007"></a>
-<span class="sourceLineNo">1008</span>    *       LinkedList.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1008"></a>
-<span class="sourceLineNo">1009</span>    *<a name="line.1009"></a>
-<span class="sourceLineNo">1010</span>    *    &lt;jc&gt;// Parse into a map of string keys/values.&lt;/jc&gt;<a name="line.1010"></a>
-<span class="sourceLineNo">1011</span>    *    Map m = cf.getObject(&lt;js&gt;"MySection/myMap"&lt;/js&gt;, TreeMap.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;,<a name="line.1011"></a>
-<span class="sourceLineNo">1012</span>    *       String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1012"></a>
-<span class="sourceLineNo">1013</span>    *<a name="line.1013"></a>
-<span class="sourceLineNo">1014</span>    *    &lt;jc&gt;// Parse into a map containing string keys and values of lists containing beans.&lt;/jc&gt;<a name="line.1014"></a>
-<span class="sourceLineNo">1015</span>    *    Map m = cf.getObject(&lt;js&gt;"MySection/myMapOfListsOfBeans"&lt;/js&gt;, TreeMap.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;,<a name="line.1015"></a>
-<span class="sourceLineNo">1016</span>    *       List.&lt;jk&gt;class&lt;/jk&gt;, MyBean.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1016"></a>
-<span class="sourceLineNo">1017</span>    * &lt;/p&gt;<a name="line.1017"></a>
-<span class="sourceLineNo">1018</span>    *<a name="line.1018"></a>
-<span class="sourceLineNo">1019</span>    * &lt;p&gt;<a name="line.1019"></a>
-<span class="sourceLineNo">1020</span>    * &lt;code&gt;Collection&lt;/code&gt; classes are assumed to be followed by zero or one objects indicating the element type.<a name="line.1020"></a>
-<span class="sourceLineNo">1021</span>    *<a name="line.1021"></a>
-<span class="sourceLineNo">1022</span>    * &lt;p&gt;<a name="line.1022"></a>
-<span class="sourceLineNo">1023</span>    * &lt;code&gt;Map&lt;/code&gt; classes are assumed to be followed by zero or two meta objects indicating the key and value<a name="line.1023"></a>
-<span class="sourceLineNo">1024</span>    * types.<a name="line.1024"></a>
-<span class="sourceLineNo">1025</span>    *<a name="line.1025"></a>
-<span class="sourceLineNo">1026</span>    * &lt;p&gt;<a name="line.1026"></a>
-<span class="sourceLineNo">1027</span>    * The array can be arbitrarily long to indicate arbitrarily complex data structures.<a name="line.1027"></a>
-<span class="sourceLineNo">1028</span>    *<a name="line.1028"></a>
-<span class="sourceLineNo">1029</span>    * &lt;h5 class='section'&gt;Notes:&lt;/h5&gt;<a name="line.1029"></a>
-<span class="sourceLineNo">1030</span>    * &lt;ul class='spaced-list'&gt;<a name="line.1030"></a>
-<span class="sourceLineNo">1031</span>    *    &lt;li&gt;<a name="line.1031"></a>
-<span class="sourceLineNo">1032</span>    *       Use the {@link #getObject(String, Class)} method instead if you don't need a parameterized map/collection.<a name="line.1032"></a>
-<span class="sourceLineNo">1033</span>    * &lt;/ul&gt;<a name="line.1033"></a>
-<span class="sourceLineNo">1034</span>    *<a name="line.1034"></a>
-<span class="sourceLineNo">1035</span>    * @param key The key.<a name="line.1035"></a>
-<span class="sourceLineNo">1036</span>    * @param type<a name="line.1036"></a>
-<span class="sourceLineNo">1037</span>    *    The object type to create.<a name="line.1037"></a>
-<span class="sourceLineNo">1038</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1038"></a>
-<span class="sourceLineNo">1039</span>    * @param args<a name="line.1039"></a>
-<span class="sourceLineNo">1040</span>    *    The type arguments of the class if it's a collection or map.<a name="line.1040"></a>
-<span class="sourceLineNo">1041</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1041"></a>
-<span class="sourceLineNo">1042</span>    *    &lt;br&gt;Ignored if the main type is not a map or collection.<a name="line.1042"></a>
-<span class="sourceLineNo">1043</span>    * @throws ParseException If parser could not parse the value or if a parser is not registered with this config file.<a name="line.1043"></a>
-<span class="sourceLineNo">1044</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1044"></a>
-<span class="sourceLineNo">1045</span>    */<a name="line.1045"></a>
-<span class="sourceLineNo">1046</span>   public &lt;T&gt; T getObject(String key, Type type, Type...args) throws ParseException {<a name="line.1046"></a>
-<span class="sourceLineNo">1047</span>      return getObject(key, (Parser)null, type, args);<a name="line.1047"></a>
-<span class="sourceLineNo">1048</span>   }<a name="line.1048"></a>
-<span class="sourceLineNo">1049</span><a name="line.1049"></a>
-<span class="sourceLineNo">1050</span>   /**<a name="line.1050"></a>
-<span class="sourceLineNo">1051</span>    * Same as {@link #getObject(String, Type, Type...)} but allows you to specify the parser to use to parse the value.<a name="line.1051"></a>
-<span class="sourceLineNo">1052</span>    *<a name="line.1052"></a>
-<span class="sourceLineNo">1053</span>    * @param key The key.<a name="line.1053"></a>
-<span class="sourceLineNo">1054</span>    * @param parser<a name="line.1054"></a>
-<span class="sourceLineNo">1055</span>    *    The parser to use for parsing the object.<a name="line.1055"></a>
-<span class="sourceLineNo">1056</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then uses the predefined parser on the config file.<a name="line.1056"></a>
-<span class="sourceLineNo">1057</span>    * @param type<a name="line.1057"></a>
-<span class="sourceLineNo">1058</span>    *    The object type to create.<a name="line.1058"></a>
-<span class="sourceLineNo">1059</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1059"></a>
-<span class="sourceLineNo">1060</span>    * @param args<a name="line.1060"></a>
-<span class="sourceLineNo">1061</span>    *    The type arguments of the class if it's a collection or map.<a name="line.1061"></a>
-<span class="sourceLineNo">1062</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1062"></a>
-<span class="sourceLineNo">1063</span>    *    &lt;br&gt;Ignored if the main type is not a map or collection.<a name="line.1063"></a>
-<span class="sourceLineNo">1064</span>    * @throws ParseException If parser could not parse the value or if a parser is not registered with this config file.<a name="line.1064"></a>
-<span class="sourceLineNo">1065</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1065"></a>
-<span class="sourceLineNo">1066</span>    */<a name="line.1066"></a>
-<span class="sourceLineNo">1067</span>   public &lt;T&gt; T getObject(String key, Parser parser, Type type, Type...args) throws ParseException {<a name="line.1067"></a>
-<span class="sourceLineNo">1068</span>      assertFieldNotNull(type, "type");<a name="line.1068"></a>
-<span class="sourceLineNo">1069</span>      return parse(getString(key), parser, type, args);<a name="line.1069"></a>
-<span class="sourceLineNo">1070</span>   }<a name="line.1070"></a>
-<span class="sourceLineNo">1071</span><a name="line.1071"></a>
-<span class="sourceLineNo">1072</span>   /**<a name="line.1072"></a>
-<span class="sourceLineNo">1073</span>    * Same as {@link #getObject(String, Type, Type...)} except optimized for a non-parameterized class.<a name="line.1073"></a>
-<span class="sourceLineNo">1074</span>    *<a name="line.1074"></a>
-<span class="sourceLineNo">1075</span>    * &lt;p&gt;<a name="line.1075"></a>
-<span class="sourceLineNo">1076</span>    * This is the preferred parse method for simple types since you don't need to cast the results.<a name="line.1076"></a>
-<span class="sourceLineNo">1077</span>    *<a name="line.1077"></a>
-<span class="sourceLineNo">1078</span>    * &lt;h5 class='section'&gt;Examples:&lt;/h5&gt;<a name="line.1078"></a>
-<span class="sourceLineNo">1079</span>    * &lt;p class='bcode w800'&gt;<a name="line.1079"></a>
-<span class="sourceLineNo">1080</span>    *    Config cf = Config.&lt;jsm&gt;create&lt;/jsm&gt;().name(&lt;js&gt;"MyConfig.cfg"&lt;/js&gt;).build();<a name="line.1080"></a>
-<span class="sourceLineNo">1081</span>    *<a name="line.1081"></a>
-<span class="sourceLineNo">1082</span>    *    &lt;jc&gt;// Parse into a string.&lt;/jc&gt;<a name="line.1082"></a>
-<span class="sourceLineNo">1083</span>    *    String s = cf.getObject(&lt;js&gt;"MySection/mySimpleString"&lt;/js&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1083"></a>
-<span class="sourceLineNo">1084</span>    *<a name="line.1084"></a>
-<span class="sourceLineNo">1085</span>    *    &lt;jc&gt;// Parse into a bean.&lt;/jc&gt;<a name="line.1085"></a>
-<span class="sourceLineNo">1086</span>    *    MyBean b = cf.getObject(&lt;js&gt;"MySection/myBean"&lt;/js&gt;, MyBean.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1086"></a>
-<span class="sourceLineNo">1087</span>    *<a name="line.1087"></a>
-<span class="sourceLineNo">1088</span>    *    &lt;jc&gt;// Parse into a bean array.&lt;/jc&gt;<a name="line.1088"></a>
-<span class="sourceLineNo">1089</span>    *    MyBean[] b = cf.getObject(&lt;js&gt;"MySection/myBeanArray"&lt;/js&gt;, MyBean[].&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1089"></a>
-<span class="sourceLineNo">1090</span>    *<a name="line.1090"></a>
-<span class="sourceLineNo">1091</span>    *    &lt;jc&gt;// Parse into a linked-list of objects.&lt;/jc&gt;<a name="line.1091"></a>
-<span class="sourceLineNo">1092</span>    *    List l = cf.getObject(&lt;js&gt;"MySection/myList"&lt;/js&gt;, LinkedList.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1092"></a>
-<span class="sourceLineNo">1093</span>    *<a name="line.1093"></a>
-<span class="sourceLineNo">1094</span>    *    &lt;jc&gt;// Parse into a map of object keys/values.&lt;/jc&gt;<a name="line.1094"></a>
-<span class="sourceLineNo">1095</span>    *    Map m = cf.getObject(&lt;js&gt;"MySection/myMap"&lt;/js&gt;, TreeMap.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1095"></a>
-<span class="sourceLineNo">1096</span>    * &lt;/p&gt;<a name="line.1096"></a>
-<span class="sourceLineNo">1097</span>    *<a name="line.1097"></a>
-<span class="sourceLineNo">1098</span>    * @param &lt;T&gt; The class type of the object being created.<a name="line.1098"></a>
-<span class="sourceLineNo">1099</span>    * @param key The key.<a name="line.1099"></a>
-<span class="sourceLineNo">1100</span>    * @param type The object type to create.<a name="line.1100"></a>
-<span class="sourceLineNo">1101</span>    * @return The parsed object.<a name="line.1101"></a>
-<span class="sourceLineNo">1102</span>    * @throws ParseException<a name="line.1102"></a>
-<span class="sourceLineNo">1103</span>    *    If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.1103"></a>
-<span class="sourceLineNo">1104</span>    * @see BeanSession#getClassMeta(Type,Type...) for argument syntax for maps and collections.<a name="line.1104"></a>
-<span class="sourceLineNo">1105</span>    */<a name="line.1105"></a>
-<span class="sourceLineNo">1106</span>   public &lt;T&gt; T getObject(String key, Class&lt;T&gt; type) throws ParseException {<a name="line.1106"></a>
-<span class="sourceLineNo">1107</span>      return getObject(key, (Parser)null, type);<a name="line.1107"></a>
-<span class="sourceLineNo">1108</span>   }<a name="line.1108"></a>
-<span class="sourceLineNo">1109</span><a name="line.1109"></a>
-<span class="sourceLineNo">1110</span>   /**<a name="line.1110"></a>
-<span class="sourceLineNo">1111</span>    * Same as {@link #getObject(String, Class)} but allows you to specify the parser to use to parse the value.<a name="line.1111"></a>
-<span class="sourceLineNo">1112</span>    *<a name="line.1112"></a>
-<span class="sourceLineNo">1113</span>    * @param &lt;T&gt; The class type of the object being created.<a name="line.1113"></a>
-<span class="sourceLineNo">1114</span>    * @param key The key.<a name="line.1114"></a>
-<span class="sourceLineNo">1115</span>    * @param parser<a name="line.1115"></a>
-<span class="sourceLineNo">1116</span>    *    The parser to use for parsing the object.<a name="line.1116"></a>
-<span class="sourceLineNo">1117</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then uses the predefined parser on the config file.<a name="line.1117"></a>
-<span class="sourceLineNo">1118</span>    * @param type The object type to create.<a name="line.1118"></a>
-<span class="sourceLineNo">1119</span>    * @return The parsed object.<a name="line.1119"></a>
-<span class="sourceLineNo">1120</span>    * @throws ParseException<a name="line.1120"></a>
-<span class="sourceLineNo">1121</span>    *    If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.1121"></a>
-<span class="sourceLineNo">1122</span>    * @see BeanSession#getClassMeta(Type,Type...) for argument syntax for maps and collections.<a name="line.1122"></a>
-<span class="sourceLineNo">1123</span>    */<a name="line.1123"></a>
-<span class="sourceLineNo">1124</span>   public &lt;T&gt; T getObject(String key, Parser parser, Class&lt;T&gt; type) throws ParseException {<a name="line.1124"></a>
-<span class="sourceLineNo">1125</span>      assertFieldNotNull(type, "c");<a name="line.1125"></a>
-<span class="sourceLineNo">1126</span>      return parse(getString(key), parser, type);<a name="line.1126"></a>
-<span class="sourceLineNo">1127</span>   }<a name="line.1127"></a>
-<span class="sourceLineNo">1128</span><a name="line.1128"></a>
-<span class="sourceLineNo">1129</span>   /**<a name="line.1129"></a>
-<span class="sourceLineNo">1130</span>    * Gets the entry with the specified key and converts it to the specified value.<a name="line.1130"></a>
-<span class="sourceLineNo">1131</span>    *<a name="line.1131"></a>
-<span class="sourceLineNo">1132</span>    * &lt;p&gt;<a name="line.1132"></a>
-<span class="sourceLineNo">1133</span>    * Same as {@link #getObject(String, Class)}, but with a default value.<a name="line.1133"></a>
-<span class="sourceLineNo">1134</span>    *<a name="line.1134"></a>
-<span class="sourceLineNo">1135</span>    * @param key The key.<a name="line.1135"></a>
-<span class="sourceLineNo">1136</span>    * @param def The default value if the value does not exist.<a name="line.1136"></a>
-<span class="sourceLineNo">1137</span>    * @param type The class to convert the value to.<a name="line.1137"></a>
-<span class="sourceLineNo">1138</span>    * @throws ParseException If parser could not parse the value or if a parser is not registered with this config file.<a name="line.1138"></a>
-<span class="sourceLineNo">1139</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1139"></a>
-<span class="sourceLineNo">1140</span>    */<a name="line.1140"></a>
-<span class="sourceLineNo">1141</span>   public &lt;T&gt; T getObjectWithDefault(String key, T def, Class&lt;T&gt; type) throws ParseException {<a name="line.1141"></a>
-<span class="sourceLineNo">1142</span>      return getObjectWithDefault(key, null, def, type);<a name="line.1142"></a>
-<span class="sourceLineNo">1143</span>   }<a name="line.1143"></a>
-<span class="sourceLineNo">1144</span><a name="line.1144"></a>
-<span class="sourceLineNo">1145</span>   /**<a name="line.1145"></a>
-<span class="sourceLineNo">1146</span>    * Same as {@link #getObjectWithDefault(String, Object, Class)} but allows you to specify the parser to use to parse<a name="line.1146"></a>
-<span class="sourceLineNo">1147</span>    * the value.<a name="line.1147"></a>
-<span class="sourceLineNo">1148</span>    *<a name="line.1148"></a>
-<span class="sourceLineNo">1149</span>    * @param key The key.<a name="line.1149"></a>
-<span class="sourceLineNo">1150</span>    * @param parser<a name="line.1150"></a>
-<span class="sourceLineNo">1151</span>    *    The parser to use for parsing the object.<a name="line.1151"></a>
-<span class="sourceLineNo">1152</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then uses the predefined parser on the config file.<a name="line.1152"></a>
-<span class="sourceLineNo">1153</span>    * @param def The default value if the value does not exist.<a name="line.1153"></a>
-<span class="sourceLineNo">1154</span>    * @param type The class to convert the value to.<a name="line.1154"></a>
-<span class="sourceLineNo">1155</span>    * @throws ParseException If parser could not parse the value or if a parser is not registered with this config file.<a name="line.1155"></a>
-<span class="sourceLineNo">1156</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1156"></a>
-<span class="sourceLineNo">1157</span>    */<a name="line.1157"></a>
-<span class="sourceLineNo">1158</span>   public &lt;T&gt; T getObjectWithDefault(String key, Parser parser, T def, Class&lt;T&gt; type) throws ParseException {<a name="line.1158"></a>
-<span class="sourceLineNo">1159</span>      assertFieldNotNull(type, "c");<a name="line.1159"></a>
-<span class="sourceLineNo">1160</span>      T t = parse(getString(key), parser, type);<a name="line.1160"></a>
-<span class="sourceLineNo">1161</span>      return (t == null ? def : t);<a name="line.1161"></a>
-<span class="sourceLineNo">1162</span>   }<a name="line.1162"></a>
-<span class="sourceLineNo">1163</span><a name="line.1163"></a>
-<span class="sourceLineNo">1164</span>   /**<a name="line.1164"></a>
-<span class="sourceLineNo">1165</span>    * Gets the entry with the specified key and converts it to the specified value.<a name="line.1165"></a>
-<span class="sourceLineNo">1166</span>    *<a name="line.1166"></a>
-<span class="sourceLineNo">1167</span>    * &lt;p&gt;<a name="line.1167"></a>
-<span class="sourceLineNo">1168</span>    * Same as {@link #getObject(String, Type, Type...)}, but with a default value.<a name="line.1168"></a>
-<span class="sourceLineNo">1169</span>    *<a name="line.1169"></a>
-<span class="sourceLineNo">1170</span>    * @param key The key.<a name="line.1170"></a>
-<span class="sourceLineNo">1171</span>    * @param def The default value if the value does not exist.<a name="line.1171"></a>
-<span class="sourceLineNo">1172</span>    * @param type<a name="line.1172"></a>
-<span class="sourceLineNo">1173</span>    *    The object type to create.<a name="line.1173"></a>
-<span class="sourceLineNo">1174</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1174"></a>
-<span class="sourceLineNo">1175</span>    * @param args<a name="line.1175"></a>
-<span class="sourceLineNo">1176</span>    *    The type arguments of the class if it's a collection or map.<a name="line.1176"></a>
-<span class="sourceLineNo">1177</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1177"></a>
-<span class="sourceLineNo">1178</span>    *    &lt;br&gt;Ignored if the main type is not a map or collection.<a name="line.1178"></a>
-<span class="sourceLineNo">1179</span>    * @throws ParseException If parser could not parse the value or if a parser is not registered with this config file.<a name="line.1179"></a>
-<span class="sourceLineNo">1180</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1180"></a>
-<span class="sourceLineNo">1181</span>    */<a name="line.1181"></a>
-<span class="sourceLineNo">1182</span>   public &lt;T&gt; T getObjectWithDefault(String key, T def, Type type, Type...args) throws ParseException {<a name="line.1182"></a>
-<span class="sourceLineNo">1183</span>      return getObjectWithDefault(key, null, def, type, args);<a name="line.1183"></a>
-<span class="sourceLineNo">1184</span>   }<a name="line.1184"></a>
-<span class="sourceLineNo">1185</span><a name="line.1185"></a>
-<span class="sourceLineNo">1186</span>   /**<a name="line.1186"></a>
-<span class="sourceLineNo">1187</span>    * Same as {@link #getObjectWithDefault(String, Object, Type, Type...)} but allows you to specify the parser to use<a name="line.1187"></a>
-<span class="sourceLineNo">1188</span>    * to parse the value.<a name="line.1188"></a>
-<span class="sourceLineNo">1189</span>    *<a name="line.1189"></a>
-<span class="sourceLineNo">1190</span>    * @param key The key.<a name="line.1190"></a>
-<span class="sourceLineNo">1191</span>    * @param parser<a name="line.1191"></a>
-<span class="sourceLineNo">1192</span>    *    The parser to use for parsing the object.<a name="line.1192"></a>
-<span class="sourceLineNo">1193</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then uses the predefined parser on the config file.<a name="line.1193"></a>
-<span class="sourceLineNo">1194</span>    * @param def The default value if the value does not exist.<a name="line.1194"></a>
-<span class="sourceLineNo">1195</span>    * @param type<a name="line.1195"></a>
-<span class="sourceLineNo">1196</span>    *    The object type to create.<a name="line.1196"></a>
-<span class="sourceLineNo">1197</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1197"></a>
-<span class="sourceLineNo">1198</span>    * @param args<a name="line.1198"></a>
-<span class="sourceLineNo">1199</span>    *    The type arguments of the class if it's a collection or map.<a name="line.1199"></a>
-<span class="sourceLineNo">1200</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1200"></a>
-<span class="sourceLineNo">1201</span>    *    &lt;br&gt;Ignored if the main type is not a map or collection.<a name="line.1201"></a>
-<span class="sourceLineNo">1202</span>    * @throws ParseException If parser could not parse the value or if a parser is not registered with this config file.<a name="line.1202"></a>
-<span class="sourceLineNo">1203</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1203"></a>
-<span class="sourceLineNo">1204</span>    */<a name="line.1204"></a>
-<span class="sourceLineNo">1205</span>   public &lt;T&gt; T getObjectWithDefault(String key, Parser parser, T def, Type type, Type...args) throws ParseException {<a name="line.1205"></a>
-<span class="sourceLineNo">1206</span>      assertFieldNotNull(type, "type");<a name="line.1206"></a>
-<span class="sourceLineNo">1207</span>      T t = parse(getString(key), parser, type, args);<a name="line.1207"></a>
-<span class="sourceLineNo">1208</span>      return (t == null ? def : t);<a name="line.1208"></a>
-<span class="sourceLineNo">1209</span>   }<a name="line.1209"></a>
-<span class="sourceLineNo">1210</span><a name="line.1210"></a>
-<span class="sourceLineNo">1211</span>   /**<a name="line.1211"></a>
-<span class="sourceLineNo">1212</span>    * Convenience method for returning a config entry as an {@link ObjectMap}.<a name="line.1212"></a>
-<span class="sourceLineNo">1213</span>    *<a name="line.1213"></a>
-<span class="sourceLineNo">1214</span>    * @param key The key.<a name="line.1214"></a>
-<span class="sourceLineNo">1215</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1215"></a>
-<span class="sourceLineNo">1216</span>    * @throws ParseException<a name="line.1216"></a>
-<span class="sourceLineNo">1217</span>    */<a name="line.1217"></a>
-<span class="sourceLineNo">1218</span>   public ObjectMap getObjectMap(String key) throws ParseException {<a name="line.1218"></a>
-<span class="sourceLineNo">1219</span>      return getObject(key, ObjectMap.class);<a name="line.1219"></a>
-<span class="sourceLineNo">1220</span>   }<a name="line.1220"></a>
-<span class="sourceLineNo">1221</span><a name="line.1221"></a>
-<span class="sourceLineNo">1222</span>   /**<a name="line.1222"></a>
-<span class="sourceLineNo">1223</span>    * Convenience method for returning a config entry as an {@link ObjectMap}.<a name="line.1223"></a>
-<span class="sourceLineNo">1224</span>    *<a name="line.1224"></a>
-<span class="sourceLineNo">1225</span>    * @param key The key.<a name="line.1225"></a>
-<span class="sourceLineNo">1226</span>    * @param def The default value.<a name="line.1226"></a>
-<span class="sourceLineNo">1227</span>    * @return The value, or the default value if the section or key does not exist.<a name="line.1227"></a>
-<span class="sourceLineNo">1228</span>    * @throws ParseException<a name="line.1228"></a>
-<span class="sourceLineNo">1229</span>    */<a name="line.1229"></a>
-<span class="sourceLineNo">1230</span>   public ObjectMap getObjectMap(String key, ObjectMap def) throws ParseException {<a name="line.1230"></a>
-<span class="sourceLineNo">1231</span>      return getObjectWithDefault(key, def, ObjectMap.class);<a name="line.1231"></a>
-<span class="sourceLineNo">1232</span>   }<a name="line.1232"></a>
-<span class="sourceLineNo">1233</span><a name="line.1233"></a>
-<span class="sourceLineNo">1234</span>   /**<a name="line.1234"></a>
-<span class="sourceLineNo">1235</span>    * Convenience method for returning a config entry as an {@link ObjectList}.<a name="line.1235"></a>
-<span class="sourceLineNo">1236</span>    *<a name="line.1236"></a>
-<span class="sourceLineNo">1237</span>    * @param key The key.<a name="line.1237"></a>
-<span class="sourceLineNo">1238</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1238"></a>
-<span class="sourceLineNo">1239</span>    * @throws ParseException<a name="line.1239"></a>
-<span class="sourceLineNo">1240</span>    */<a name="line.1240"></a>
-<span class="sourceLineNo">1241</span>   public ObjectList getObjectList(String key) throws ParseException {<a name="line.1241"></a>
-<span class="sourceLineNo">1242</span>      return getObject(key, ObjectList.class);<a name="line.1242"></a>
-<span class="sourceLineNo">1243</span>   }<a name="line.1243"></a>
-<span class="sourceLineNo">1244</span><a name="line.1244"></a>
-<span class="sourceLineNo">1245</span>   /**<a name="line.1245"></a>
-<span class="sourceLineNo">1246</span>    * Convenience method for returning a config entry as an {@link ObjectList}.<a name="line.1246"></a>
-<span class="sourceLineNo">1247</span>    *<a name="line.1247"></a>
-<span class="sourceLineNo">1248</span>    * @param key The key.<a name="line.1248"></a>
-<span class="sourceLineNo">1249</span>    * @param def The default value.<a name="line.1249"></a>
-<span class="sourceLineNo">1250</span>    * @return The value, or the default value if the section or key does not exist.<a name="line.1250"></a>
-<span class="sourceLineNo">1251</span>    * @throws ParseException<a name="line.1251"></a>
-<span class="sourceLineNo">1252</span>    */<a name="line.1252"></a>
-<span class="sourceLineNo">1253</span>   public ObjectList getObjectList(String key, ObjectList def) throws ParseException {<a name="line.1253"></a>
-<span class="sourceLineNo">1254</span>      return getObjectWithDefault(key, def, ObjectList.class);<a name="line.1254"></a>
-<span class="sourceLineNo">1255</span>   }<a name="line.1255"></a>
-<span class="sourceLineNo">1256</span><a name="line.1256"></a>
-<span class="sourceLineNo">1257</span>   /**<a name="line.1257"></a>
-<span class="sourceLineNo">1258</span>    * Returns the keys of the entries in the specified section.<a name="line.1258"></a>
-<span class="sourceLineNo">1259</span>    *<a name="line.1259"></a>
-<span class="sourceLineNo">1260</span>    * @param section<a name="line.1260"></a>
-<span class="sourceLineNo">1261</span>    *    The section name to write from.<a name="line.1261"></a>
-<span class="sourceLineNo">1262</span>    *    &lt;br&gt;If empty, refers to the default section.<a name="line.1262"></a>
-<span class="sourceLineNo">1263</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1263"></a>
-<span class="sourceLineNo">1264</span>    * @return<a name="line.1264"></a>
-<span class="sourceLineNo">1265</span>    *    An unmodifiable set of keys, or an empty set if the section doesn't exist.<a name="line.1265"></a>
-<span class="sourceLineNo">1266</span>    */<a name="line.1266"></a>
-<span class="sourceLineNo">1267</span>   public Set&lt;String&gt; getKeys(String section) {<a name="line.1267"></a>
-<span class="sourceLineNo">1268</span>      return configMap.getKeys(section(section));<a name="line.1268"></a>
-<span class="sourceLineNo">1269</span>   }<a name="line.1269"></a>
-<span class="sourceLineNo">1270</span><a name="line.1270"></a>
-<span class="sourceLineNo">1271</span>   /**<a name="line.1271"></a>
-<span class="sourceLineNo">1272</span>    * Copies the entries in a section to the specified bean by calling the public setters on that bean.<a name="line.1272"></a>
-<span class="sourceLineNo">1273</span>    *<a name="line.1273"></a>
-<span class="sourceLineNo">1274</span>    * @param section<a name="line.1274"></a>
-<span class="sourceLineNo">1275</span>    *    The section name to write from.<a name="line.1275"></a>
-<span class="sourceLineNo">1276</span>    *    &lt;br&gt;If empty, refers to the default section.<a name="line.1276"></a>
-<span class="sourceLineNo">1277</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1277"></a>
-<span class="sourceLineNo">1278</span>    * @param bean The bean to set the properties on.<a name="line.1278"></a>
-<span class="sourceLineNo">1279</span>    * @param ignoreUnknownProperties<a name="line.1279"></a>
-<span class="sourceLineNo">1280</span>    *    If &lt;jk&gt;true&lt;/jk&gt;, don't throw an {@link IllegalArgumentException} if this section contains a key that doesn't<a name="line.1280"></a>
-<span class="sourceLineNo">1281</span>    *    correspond to a setter method.<a name="line.1281"></a>
-<span class="sourceLineNo">1282</span>    * @return An object map of the changes made to the bean.<a name="line.1282"></a>
-<span class="sourceLineNo">1283</span>    * @throws ParseException If parser was not set on this config file or invalid properties were found in the section.<a name="line.1283"></a>
-<span class="sourceLineNo">1284</span>    * @throws IllegalArgumentException<a name="line.1284"></a>
-<span class="sourceLineNo">1285</span>    * @throws IllegalAccessException<a name="line.1285"></a>
-<span class="sourceLineNo">1286</span>    * @throws InvocationTargetException<a name="line.1286"></a>
-<span class="sourceLineNo">1287</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1287"></a>
-<span class="sourceLineNo">1288</span>    */<a name="line.1288"></a>
-<span class="sourceLineNo">1289</span>   public Config writeProperties(String section, Object bean, boolean ignoreUnknownProperties) throws ParseException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {<a name="line.1289"></a>
-<span class="sourceLineNo">1290</span>      checkWrite();<a name="line.1290"></a>
-<span class="sourceLineNo">1291</span>      assertFieldNotNull(bean, "bean");<a name="line.1291"></a>
-<span class="sourceLineNo">1292</span>      section = section(section);<a name="line.1292"></a>
-<span class="sourceLineNo">1293</span><a name="line.1293"></a>
-<span class="sourceLineNo">1294</span>      Set&lt;String&gt; keys = configMap.getKeys(section);<a name="line.1294"></a>
-<span class="sourceLineNo">1295</span>      if (keys == null)<a name="line.1295"></a>
-<span class="sourceLineNo">1296</span>         throw new IllegalArgumentException("Section '"+section+"' not found in configuration.");<a name="line.1296"></a>
-<span class="sourceLineNo">1297</span><a name="line.1297"></a>
-<span class="sourceLineNo">1298</span>      BeanMap&lt;?&gt; bm = beanSession.toBeanMap(bean);<a name="line.1298"></a>
-<span class="sourceLineNo">1299</span>      for (String k : keys) {<a name="line.1299"></a>
-<span class="sourceLineNo">1300</span>         BeanPropertyMeta bpm = bm.getPropertyMeta(k);<a name="line.1300"></a>
-<span class="sourceLineNo">1301</span>         if (bpm == null) {<a name="line.1301"></a>
-<span class="sourceLineNo">1302</span>            if (! ignoreUnknownProperties)<a name="line.1302"></a>
-<span class="sourceLineNo">1303</span>               throw new ParseException("Unknown property ''{0}'' encountered in configuration section ''{1}''.", k, section);<a name="line.1303"></a>
-<span class="sourceLineNo">1304</span>         } else {<a name="line.1304"></a>
-<span class="sourceLineNo">1305</span>            bm.put(k, getObject(section + '/' + k, bpm.getClassMeta().getInnerClass()));<a name="line.1305"></a>
-<span class="sourceLineNo">1306</span>         }<a name="line.1306"></a>
-<span class="sourceLineNo">1307</span>      }<a name="line.1307"></a>
-<span class="sourceLineNo">1308</span><a name="line.1308"></a>
-<span class="sourceLineNo">1309</span>      return this;<a name="line.1309"></a>
-<span class="sourceLineNo">1310</span>   }<a name="line.1310"></a>
-<span class="sourceLineNo">1311</span><a name="line.1311"></a>
-<span class="sourceLineNo">1312</span>   /**<a name="line.1312"></a>
-<span class="sourceLineNo">1313</span>    * Shortcut for calling &lt;code&gt;getSectionAsBean(sectionName, c, &lt;jk&gt;false&lt;/jk&gt;)&lt;/code&gt;.<a name="line.1313"></a>
-<span class="sourceLineNo">1314</span>    *<a name="line.1314"></a>
-<span class="sourceLineNo">1315</span>    * @param section<a name="line.1315"></a>
-<span class="sourceLineNo">1316</span>    *    The section name to write from.<a name="line.1316"></a>
-<span class="sourceLineNo">1317</span>    *    &lt;br&gt;If empty, refers to the default section.<a name="line.1317"></a>
-<span class="sourceLineNo">1318</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1318"></a>
-<span class="sourceLineNo">1319</span>    * @param c The bean class to create.<a name="line.1319"></a>
-<span class="sourceLineNo">1320</span>    * @return A new bean instance.<a name="line.1320"></a>
-<span class="sourceLineNo">1321</span>    * @throws ParseException<a name="line.1321"></a>
-<span class="sourceLineNo">1322</span>    */<a name="line.1322"></a>
-<span class="sourceLineNo">1323</span>   public &lt;T&gt; T getSectionAsBean(String section, Class&lt;T&gt;c) throws ParseException {<a name="line.1323"></a>
-<span class="sourceLineNo">1324</span>      return getSectionAsBean(section, c, false);<a name="line.1324"></a>
-<span class="sourceLineNo">1325</span>   }<a name="line.1325"></a>
-<span class="sourceLineNo">1326</span><a name="line.1326"></a>
-<span class="sourceLineNo">1327</span>   /**<a name="line.1327"></a>
-<span class="sourceLineNo">1328</span>    * Converts this config file section to the specified bean instance.<a name="line.1328"></a>
-<span class="sourceLineNo">1329</span>    *<a name="line.1329"></a>
-<span class="sourceLineNo">1330</span>    * &lt;p&gt;<a name="line.1330"></a>
-<span class="sourceLineNo">1331</span>    * Key/value pairs in the config file section get copied as bean property values to the specified bean class.<a name="line.1331"></a>
-<span class="sourceLineNo">1332</span>    *<a name="line.1332"></a>
-<span class="sourceLineNo">1333</span>    * &lt;h5 class='figure'&gt;Example config file&lt;/h5&gt;<a name="line.1333"></a>
-<span class="sourceLineNo">1334</span>    * &lt;p class='bcode w800'&gt;<a name="line.1334"></a>
-<span class="sourceLineNo">1335</span>    *    &lt;cs&gt;[MyAddress]&lt;/cs&gt;<a name="line.1335"></a>
-<span class="sourceLineNo">1336</span>    *    &lt;ck&gt;name&lt;/ck&gt; = &lt;cv&gt;John Smith&lt;/cv&gt;<a name="line.1336"></a>
-<span class="sourceLineNo">1337</span>    *    &lt;ck&gt;street&lt;/ck&gt; = &lt;cv&gt;123 Main Street&lt;/cv&gt;<a name="line.1337"></a>
-<span class="sourceLineNo">1338</span>    *    &lt;ck&gt;city&lt;/ck&gt; = &lt;cv&gt;Anywhere&lt;/cv&gt;<a name="line.1338"></a>
-<span class="sourceLineNo">1339</span>    *    &lt;ck&gt;state&lt;/ck&gt; = &lt;cv&gt;NY&lt;/cv&gt;<a name="line.1339"></a>
-<span class="sourceLineNo">1340</span>    *    &lt;ck&gt;zip&lt;/ck&gt; = &lt;cv&gt;12345&lt;/cv&gt;<a name="line.1340"></a>
-<span class="sourceLineNo">1341</span>    * &lt;/p&gt;<a name="line.1341"></a>
-<span class="sourceLineNo">1342</span>    *<a name="line.1342"></a>
-<span class="sourceLineNo">1343</span>    * &lt;h5 class='figure'&gt;Example bean&lt;/h5&gt;<a name="line.1343"></a>
-<span class="sourceLineNo">1344</span>    * &lt;p class='bcode w800'&gt;<a name="line.1344"></a>
-<span class="sourceLineNo">1345</span>    *    &lt;jk&gt;public class&lt;/jk&gt; Address {<a name="line.1345"></a>
-<span class="sourceLineNo">1346</span>    *       public String name, street, city;<a name="line.1346"></a>
-<span class="sourceLineNo">1347</span>    *       public StateEnum state;<a name="line.1347"></a>
-<span class="sourceLineNo">1348</span>    *       public int zip;<a name="line.1348"></a>
-<span class="sourceLineNo">1349</span>    *    }<a name="line.1349"></a>
-<span class="sourceLineNo">1350</span>    * &lt;/p&gt;<a name="line.1350"></a>
-<span class="sourceLineNo">1351</span>    *<a name="line.1351"></a>
-<span class="sourceLineNo">1352</span>    * &lt;h5 class='figure'&gt;Example usage&lt;/h5&gt;<a name="line.1352"></a>
-<span class="sourceLineNo">1353</span>    * &lt;p class='bcode w800'&gt;<a name="line.1353"></a>
-<span class="sourceLineNo">1354</span>    *    Config cf = Config.&lt;jsm&gt;create&lt;/jsm&gt;().name(&lt;js&gt;"MyConfig.cfg"&lt;/js&gt;).build();<a name="line.1354"></a>
-<span class="sourceLineNo">1355</span>    *    Address myAddress = cf.getSectionAsBean(&lt;js&gt;"MySection"&lt;/js&gt;, Address.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1355"></a>
-<span class="sourceLineNo">1356</span>    * &lt;/p&gt;<a name="line.1356"></a>
-<span class="sourceLineNo">1357</span>    *<a name="line.1357"></a>
-<span class="sourceLineNo">1358</span>    * @param section<a name="line.1358"></a>
-<span class="sourceLineNo">1359</span>    *    The section name to write from.<a name="line.1359"></a>
-<span class="sourceLineNo">1360</span>    *    &lt;br&gt;If empty, refers to the default section.<a name="line.1360"></a>
-<span class="sourceLineNo">1361</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1361"></a>
-<span class="sourceLineNo">1362</span>    * @param c The bean class to create.<a name="line.1362"></a>
-<span class="sourceLineNo">1363</span>    * @param ignoreUnknownProperties<a name="line.1363"></a>
-<span class="sourceLineNo">1364</span>    *    If &lt;jk&gt;false&lt;/jk&gt;, throws a {@link ParseException} if the section contains an entry that isn't a bean property<a name="line.1364"></a>
-<span class="sourceLineNo">1365</span>    *    name.<a name="line.1365"></a>
-<span class="sourceLineNo">1366</span>    * @return A new bean instance, or &lt;jk&gt;null&lt;/jk&gt; if the section doesn't exist.<a name="line.1366"></a>
-<span class="sourceLineNo">1367</span>    * @throws ParseException<a name="line.1367"></a>
-<span class="sourceLineNo">1368</span>    */<a name="line.1368"></a>
-<span class="sourceLineNo">1369</span>   public &lt;T&gt; T getSectionAsBean(String section, Class&lt;T&gt; c, boolean ignoreUnknownProperties) throws ParseException {<a name="line.1369"></a>
-<span class="sourceLineNo">1370</span>      assertFieldNotNull(c, "c");<a name="line.1370"></a>
-<span class="sourceLineNo">1371</span>      section = section(section);<a name="line.1371"></a>
-<span class="sourceLineNo">1372</span><a name="line.1372"></a>
-<span class="sourceLineNo">1373</span>      if (! configMap.hasSection(section))<a name="line.1373"></a>
-<span class="sourceLineNo">1374</span>         return null;<a name="line.1374"></a>
-<span class="sourceLineNo">1375</span><a name="line.1375"></a>
-<span class="sourceLineNo">1376</span>      Set&lt;String&gt; keys = configMap.getKeys(section);<a name="line.1376"></a>
-<span class="sourceLineNo">1377</span><a name="line.1377"></a>
-<span class="sourceLineNo">1378</span>      BeanMap&lt;T&gt; bm = beanSession.newBeanMap(c);<a name="line.1378"></a>
-<span class="sourceLineNo">1379</span>      for (String k : keys) {<a name="line.1379"></a>
-<span class="sourceLineNo">1380</span>         BeanPropertyMeta bpm = bm.getPropertyMeta(k);<a name="line.1380"></a>
-<span class="sourceLineNo">1381</span>         if (bpm == null) {<a name="line.1381"></a>
-<span class="sourceLineNo">1382</span>            if (! ignoreUnknownProperties)<a name="line.1382"></a>
-<span class="sourceLineNo">1383</span>               throw new ParseException("Unknown property ''{0}'' encountered in configuration section ''{1}''.", k, section);<a name="line.1383"></a>
-<span class="sourceLineNo">1384</span>         } else {<a name="line.1384"></a>
-<span class="sourceLineNo">1385</span>            bm.put(k, getObject(section + '/' + k, bpm.getClassMeta().getInnerClass()));<a name="line.1385"></a>
-<span class="sourceLineNo">1386</span>         }<a name="line.1386"></a>
-<span class="sourceLineNo">1387</span>      }<a name="line.1387"></a>
-<span class="sourceLineNo">1388</span><a name="line.1388"></a>
-<span class="sourceLineNo">1389</span>      return bm.getBean();<a name="line.1389"></a>
-<span class="sourceLineNo">1390</span>   }<a name="line.1390"></a>
-<span class="sourceLineNo">1391</span><a name="line.1391"></a>
-<span class="sourceLineNo">1392</span>   /**<a name="line.1392"></a>
-<span class="sourceLineNo">1393</span>    * Returns a section of this config copied into an {@link ObjectMap}.<a name="line.1393"></a>
-<span class="sourceLineNo">1394</span>    *<a name="line.1394"></a>
-<span class="sourceLineNo">1395</span>    * @param section<a name="line.1395"></a>
-<span class="sourceLineNo">1396</span>    *    The section name to write from.<a name="line.1396"></a>
-<span class="sourceLineNo">1397</span>    *    &lt;br&gt;If empty, refers to the default section.<a name="line.1397"></a>
-<span class="sourceLineNo">1398</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1398"></a>
-<span class="sourceLineNo">1399</span>    * @return A new {@link ObjectMap}, or &lt;jk&gt;null&lt;/jk&gt; if the section doesn't exist.<a name="line.1399"></a>
-<span class="sourceLineNo">1400</span>    * @throws ParseException<a name="line.1400"></a>
-<span class="sourceLineNo">1401</span>    */<a name="line.1401"></a>
-<span class="sourceLineNo">1402</span>   public ObjectMap getSectionAsMap(String section) throws ParseException {<a name="line.1402"></a>
-<span class="sourceLineNo">1403</span>      section = section(section);<a name="line.1403"></a>
-<span class="sourceLineNo">1404</span><a name="line.1404"></a>
-<span class="sourceLineNo">1405</span>      if (! configMap.hasSection(section))<a name="line.1405"></a>
-<span class="sourceLineNo">1406</span>         return null;<a name="line.1406"></a>
-<span class="sourceLineNo">1407</span><a name="line.1407"></a>
-<span class="sourceLineNo">1408</span>      Set&lt;String&gt; keys = configMap.getKeys(section);<a name="line.1408"></a>
-<span class="sourceLineNo">1409</span><a name="line.1409"></a>
-<span class="sourceLineNo">1410</span>      ObjectMap om = new ObjectMap();<a name="line.1410"></a>
-<span class="sourceLineNo">1411</span>      for (String k : keys)<a name="line.1411"></a>
-<span class="sourceLineNo">1412</span>         om.put(k, getObject(section + '/' + k, Object.class));<a name="line.1412"></a>
-<span class="sourceLineNo">1413</span>      return om;<a name="line.1413"></a>
-<span class="sourceLineNo">1414</span>   }<a name="line.1414"></a>
-<span class="sourceLineNo">1415</span><a name="line.1415"></a>
+<span class="sourceLineNo">509</span><a name="line.509"></a>
+<span class="sourceLineNo">510</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.510"></a>
+<span class="sourceLineNo">511</span>   // Workhorse setters<a name="line.511"></a>
+<span class="sourceLineNo">512</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.512"></a>
+<span class="sourceLineNo">513</span><a name="line.513"></a>
+<span class="sourceLineNo">514</span>   /**<a name="line.514"></a>
+<span class="sourceLineNo">515</span>    * Sets a value in this config.<a name="line.515"></a>
+<span class="sourceLineNo">516</span>    *<a name="line.516"></a>
+<span class="sourceLineNo">517</span>    * @param key The key.<a name="line.517"></a>
+<span class="sourceLineNo">518</span>    * @param value The value.<a name="line.518"></a>
+<span class="sourceLineNo">519</span>    * @return This object (for method chaining).<a name="line.519"></a>
+<span class="sourceLineNo">520</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.520"></a>
+<span class="sourceLineNo">521</span>    */<a name="line.521"></a>
+<span class="sourceLineNo">522</span>   public Config set(String key, String value) {<a name="line.522"></a>
+<span class="sourceLineNo">523</span>      checkWrite();<a name="line.523"></a>
+<span class="sourceLineNo">524</span>      assertFieldNotNull(key, "key");<a name="line.524"></a>
+<span class="sourceLineNo">525</span>      String sname = sname(key);<a name="line.525"></a>
+<span class="sourceLineNo">526</span>      String skey = skey(key);<a name="line.526"></a>
+<span class="sourceLineNo">527</span><a name="line.527"></a>
+<span class="sourceLineNo">528</span>      ConfigEntry ce = configMap.getEntry(sname, skey);<a name="line.528"></a>
+<span class="sourceLineNo">529</span>      if (ce == null &amp;&amp; value == null)<a name="line.529"></a>
+<span class="sourceLineNo">530</span>         return this;<a name="line.530"></a>
+<span class="sourceLineNo">531</span><a name="line.531"></a>
+<span class="sourceLineNo">532</span>      String mod = ce == null ? "" : ce.getModifiers();<a name="line.532"></a>
+<span class="sourceLineNo">533</span><a name="line.533"></a>
+<span class="sourceLineNo">534</span>      String s = asString(value);<a name="line.534"></a>
+<span class="sourceLineNo">535</span>      for (ConfigMod m : ConfigMod.asModifiers(mod)) {<a name="line.535"></a>
+<span class="sourceLineNo">536</span>         if (m == ENCODED) {<a name="line.536"></a>
+<span class="sourceLineNo">537</span>            s = encoder.encode(key, s);<a name="line.537"></a>
+<span class="sourceLineNo">538</span>         }<a name="line.538"></a>
+<span class="sourceLineNo">539</span>      }<a name="line.539"></a>
+<span class="sourceLineNo">540</span><a name="line.540"></a>
+<span class="sourceLineNo">541</span>      configMap.setEntry(sname, skey, s, null, null, null);<a name="line.541"></a>
+<span class="sourceLineNo">542</span>      return this;<a name="line.542"></a>
+<span class="sourceLineNo">543</span>   }<a name="line.543"></a>
+<span class="sourceLineNo">544</span><a name="line.544"></a>
+<span class="sourceLineNo">545</span>   /**<a name="line.545"></a>
+<span class="sourceLineNo">546</span>    * Adds or replaces an entry with the specified key with a POJO serialized to a string using the registered<a name="line.546"></a>
+<span class="sourceLineNo">547</span>    * serializer.<a name="line.547"></a>
+<span class="sourceLineNo">548</span>    *<a name="line.548"></a>
+<span class="sourceLineNo">549</span>    * &lt;p&gt;<a name="line.549"></a>
+<span class="sourceLineNo">550</span>    * Equivalent to calling &lt;code&gt;put(key, value, isEncoded(key))&lt;/code&gt;.<a name="line.550"></a>
+<span class="sourceLineNo">551</span>    *<a name="line.551"></a>
+<span class="sourceLineNo">552</span>    * @param key The key.<a name="line.552"></a>
+<span class="sourceLineNo">553</span>    * @param value The new value POJO.<a name="line.553"></a>
+<span class="sourceLineNo">554</span>    * @return The previous value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key did not previously exist.<a name="line.554"></a>
+<span class="sourceLineNo">555</span>    * @throws SerializeException<a name="line.555"></a>
+<span class="sourceLineNo">556</span>    *    If serializer could not serialize the value or if a serializer is not registered with this config file.<a name="line.556"></a>
+<span class="sourceLineNo">557</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.557"></a>
+<span class="sourceLineNo">558</span>    */<a name="line.558"></a>
+<span class="sourceLineNo">559</span>   public Config set(String key, Object value) throws SerializeException {<a name="line.559"></a>
+<span class="sourceLineNo">560</span>      return set(key, value, null);<a name="line.560"></a>
+<span class="sourceLineNo">561</span>   }<a name="line.561"></a>
+<span class="sourceLineNo">562</span><a name="line.562"></a>
+<span class="sourceLineNo">563</span>   /**<a name="line.563"></a>
+<span class="sourceLineNo">564</span>    * Same as {@link #set(String, Object)} but allows you to specify the serializer to use to serialize the<a name="line.564"></a>
+<span class="sourceLineNo">565</span>    * value.<a name="line.565"></a>
+<span class="sourceLineNo">566</span>    *<a name="line.566"></a>
+<span class="sourceLineNo">567</span>    * @param key The key.<a name="line.567"></a>
+<span class="sourceLineNo">568</span>    * @param value The new value.<a name="line.568"></a>
+<span class="sourceLineNo">569</span>    * @param serializer<a name="line.569"></a>
+<span class="sourceLineNo">570</span>    *    The serializer to use for serializing the object.<a name="line.570"></a>
+<span class="sourceLineNo">571</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then uses the predefined serializer on the config file.<a name="line.571"></a>
+<span class="sourceLineNo">572</span>    * @return The previous value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key did not previously exist.<a name="line.572"></a>
+<span class="sourceLineNo">573</span>    * @throws SerializeException<a name="line.573"></a>
+<span class="sourceLineNo">574</span>    *    If serializer could not serialize the value or if a serializer is not registered with this config file.<a name="line.574"></a>
+<span class="sourceLineNo">575</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.575"></a>
+<span class="sourceLineNo">576</span>    */<a name="line.576"></a>
+<span class="sourceLineNo">577</span>   public Config set(String key, Object value, Serializer serializer) throws SerializeException {<a name="line.577"></a>
+<span class="sourceLineNo">578</span>      return set(key, serialize(value, serializer));<a name="line.578"></a>
+<span class="sourceLineNo">579</span>   }<a name="line.579"></a>
+<span class="sourceLineNo">580</span><a name="line.580"></a>
+<span class="sourceLineNo">581</span>   /**<a name="line.581"></a>
+<span class="sourceLineNo">582</span>    * Same as {@link #set(String, Object)} but allows you to specify all aspects of a value.<a name="line.582"></a>
+<span class="sourceLineNo">583</span>    *<a name="line.583"></a>
+<span class="sourceLineNo">584</span>    * @param key The key.<a name="line.584"></a>
+<span class="sourceLineNo">585</span>    * @param value The new value.<a name="line.585"></a>
+<span class="sourceLineNo">586</span>    * @param serializer<a name="line.586"></a>
+<span class="sourceLineNo">587</span>    *    The serializer to use for serializing the object.<a name="line.587"></a>
+<span class="sourceLineNo">588</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then uses the predefined serializer on the config file.<a name="line.588"></a>
+<span class="sourceLineNo">589</span>    * @param modifier<a name="line.589"></a>
+<span class="sourceLineNo">590</span>    *    Optional modifier to apply to the value.<a name="line.590"></a>
+<span class="sourceLineNo">591</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, then previous value will not be replaced.<a name="line.591"></a>
+<span class="sourceLineNo">592</span>    * @param comment<a name="line.592"></a>
+<span class="sourceLineNo">593</span>    *    Optional same-line comment to add to this value.<a name="line.593"></a>
+<span class="sourceLineNo">594</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, then previous value will not be replaced.<a name="line.594"></a>
+<span class="sourceLineNo">595</span>    * @param preLines<a name="line.595"></a>
+<span class="sourceLineNo">596</span>    *    Optional comment or blank lines to add before this entry.<a name="line.596"></a>
+<span class="sourceLineNo">597</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, then previous value will not be replaced.<a name="line.597"></a>
+<span class="sourceLineNo">598</span>    * @return The previous value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key did not previously exist.<a name="line.598"></a>
+<span class="sourceLineNo">599</span>    * @throws SerializeException<a name="line.599"></a>
+<span class="sourceLineNo">600</span>    *    If serializer could not serialize the value or if a serializer is not registered with this config file.<a name="line.600"></a>
+<span class="sourceLineNo">601</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.601"></a>
+<span class="sourceLineNo">602</span>    */<a name="line.602"></a>
+<span class="sourceLineNo">603</span>   public Config set(String key, Object value, Serializer serializer, ConfigMod modifier, String comment, List&lt;String&gt; preLines) throws SerializeException {<a name="line.603"></a>
+<span class="sourceLineNo">604</span>      return set(key, value, serializer, modifier == null ? null : new ConfigMod[]{modifier}, comment, preLines);<a name="line.604"></a>
+<span class="sourceLineNo">605</span>   }<a name="line.605"></a>
+<span class="sourceLineNo">606</span><a name="line.606"></a>
+<span class="sourceLineNo">607</span>   /**<a name="line.607"></a>
+<span class="sourceLineNo">608</span>    * Same as {@link #set(String, Object)} but allows you to specify all aspects of a value.<a name="line.608"></a>
+<span class="sourceLineNo">609</span>    *<a name="line.609"></a>
+<span class="sourceLineNo">610</span>    * @param key The key.<a name="line.610"></a>
+<span class="sourceLineNo">611</span>    * @param value The new value.<a name="line.611"></a>
+<span class="sourceLineNo">612</span>    * @param serializer<a name="line.612"></a>
+<span class="sourceLineNo">613</span>    *    The serializer to use for serializing the object.<a name="line.613"></a>
+<span class="sourceLineNo">614</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then uses the predefined serializer on the config file.<a name="line.614"></a>
+<span class="sourceLineNo">615</span>    * @param modifiers<a name="line.615"></a>
+<span class="sourceLineNo">616</span>    *    Optional modifiers to apply to the value.<a name="line.616"></a>
+<span class="sourceLineNo">617</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, then previous value will not be replaced.<a name="line.617"></a>
+<span class="sourceLineNo">618</span>    * @param comment<a name="line.618"></a>
+<span class="sourceLineNo">619</span>    *    Optional same-line comment to add to this value.<a name="line.619"></a>
+<span class="sourceLineNo">620</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, then previous value will not be replaced.<a name="line.620"></a>
+<span class="sourceLineNo">621</span>    * @param preLines<a name="line.621"></a>
+<span class="sourceLineNo">622</span>    *    Optional comment or blank lines to add before this entry.<a name="line.622"></a>
+<span class="sourceLineNo">623</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, then previous value will not be replaced.<a name="line.623"></a>
+<span class="sourceLineNo">624</span>    * @return The previous value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key did not previously exist.<a name="line.624"></a>
+<span class="sourceLineNo">625</span>    * @throws SerializeException<a name="line.625"></a>
+<span class="sourceLineNo">626</span>    *    If serializer could not serialize the value or if a serializer is not registered with this config file.<a name="line.626"></a>
+<span class="sourceLineNo">627</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.627"></a>
+<span class="sourceLineNo">628</span>    */<a name="line.628"></a>
+<span class="sourceLineNo">629</span>   public Config set(String key, Object value, Serializer serializer, ConfigMod[] modifiers, String comment, List&lt;String&gt; preLines) throws SerializeException {<a name="line.629"></a>
+<span class="sourceLineNo">630</span>      checkWrite();<a name="line.630"></a>
+<span class="sourceLineNo">631</span>      assertFieldNotNull(key, "key");<a name="line.631"></a>
+<span class="sourceLineNo">632</span>      String sname = sname(key);<a name="line.632"></a>
+<span class="sourceLineNo">633</span>      String skey = skey(key);<a name="line.633"></a>
+<span class="sourceLineNo">634</span><a name="line.634"></a>
+<span class="sourceLineNo">635</span>      String s = serialize(value, serializer);<a name="line.635"></a>
+<span class="sourceLineNo">636</span>      if (modifiers != null) {<a name="line.636"></a>
+<span class="sourceLineNo">637</span>         for (ConfigMod m : modifiers) {<a name="line.637"></a>
+<span class="sourceLineNo">638</span>            if (m == ENCODED) {<a name="line.638"></a>
+<span class="sourceLineNo">639</span>               s = encoder.encode(key, s);<a name="line.639"></a>
+<span class="sourceLineNo">640</span>            }<a name="line.640"></a>
+<span class="sourceLineNo">641</span>         }<a name="line.641"></a>
+<span class="sourceLineNo">642</span>      }<a name="line.642"></a>
+<span class="sourceLineNo">643</span><a name="line.643"></a>
+<span class="sourceLineNo">644</span>      configMap.setEntry(sname, skey, s, modifiers == null ? null : ConfigMod.asString(modifiers), comment, preLines);<a name="line.644"></a>
+<span class="sourceLineNo">645</span>      return this;<a name="line.645"></a>
+<span class="sourceLineNo">646</span>   }<a name="line.646"></a>
+<span class="sourceLineNo">647</span><a name="line.647"></a>
+<span class="sourceLineNo">648</span>   /**<a name="line.648"></a>
+<span class="sourceLineNo">649</span>    * Removes an entry with the specified key.<a name="line.649"></a>
+<span class="sourceLineNo">650</span>    *<a name="line.650"></a>
+<span class="sourceLineNo">651</span>    * @param key The key.<a name="line.651"></a>
+<span class="sourceLineNo">652</span>    * @return The previous value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key did not previously exist.<a name="line.652"></a>
+<span class="sourceLineNo">653</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.653"></a>
+<span class="sourceLineNo">654</span>    */<a name="line.654"></a>
+<span class="sourceLineNo">655</span>   public Config remove(String key) {<a name="line.655"></a>
+<span class="sourceLineNo">656</span>      checkWrite();<a name="line.656"></a>
+<span class="sourceLineNo">657</span>      String sname = sname(key);<a name="line.657"></a>
+<span class="sourceLineNo">658</span>      String skey = skey(key);<a name="line.658"></a>
+<span class="sourceLineNo">659</span>      configMap.removeEntry(sname, skey);<a name="line.659"></a>
+<span class="sourceLineNo">660</span>      return this;<a name="line.660"></a>
+<span class="sourceLineNo">661</span>   }<a name="line.661"></a>
+<span class="sourceLineNo">662</span><a name="line.662"></a>
+<span class="sourceLineNo">663</span>   /**<a name="line.663"></a>
+<span class="sourceLineNo">664</span>    * Encodes and unencoded entries in this config.<a name="line.664"></a>
+<span class="sourceLineNo">665</span>    *<a name="line.665"></a>
+<span class="sourceLineNo">666</span>    * &lt;p&gt;<a name="line.666"></a>
+<span class="sourceLineNo">667</span>    * If any entries in the config are marked as encoded but not actually encoded,<a name="line.667"></a>
+<span class="sourceLineNo">668</span>    * this will encode them.<a name="line.668"></a>
+<span class="sourceLineNo">669</span>    *<a name="line.669"></a>
+<span class="sourceLineNo">670</span>    * @return This object (for method chaining).<a name="line.670"></a>
+<span class="sourceLineNo">671</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.671"></a>
+<span class="sourceLineNo">672</span>    */<a name="line.672"></a>
+<span class="sourceLineNo">673</span>   public Config encodeEntries() {<a name="line.673"></a>
+<span class="sourceLineNo">674</span>      checkWrite();<a name="line.674"></a>
+<span class="sourceLineNo">675</span>      for (String section : configMap.getSections()) {<a name="line.675"></a>
+<span class="sourceLineNo">676</span>         for (String key : configMap.getKeys(section)) {<a name="line.676"></a>
+<span class="sourceLineNo">677</span>            ConfigEntry ce = configMap.getEntry(section, key);<a name="line.677"></a>
+<span class="sourceLineNo">678</span>            if (ce != null &amp;&amp; ce.hasModifier('*') &amp;&amp; ! encoder.isEncoded(ce.getValue())) {<a name="line.678"></a>
+<span class="sourceLineNo">679</span>               configMap.setEntry(section, key, encoder.encode(section + '/' + key, ce.getValue()), null, null, null);<a name="line.679"></a>
+<span class="sourceLineNo">680</span>            }<a name="line.680"></a>
+<span class="sourceLineNo">681</span>         }<a name="line.681"></a>
+<span class="sourceLineNo">682</span>      }<a name="line.682"></a>
+<span class="sourceLineNo">683</span><a name="line.683"></a>
+<span class="sourceLineNo">684</span>      return this;<a name="line.684"></a>
+<span class="sourceLineNo">685</span>   }<a name="line.685"></a>
+<span class="sourceLineNo">686</span><a name="line.686"></a>
+<span class="sourceLineNo">687</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.687"></a>
+<span class="sourceLineNo">688</span>   // API methods<a name="line.688"></a>
+<span class="sourceLineNo">689</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.689"></a>
+<span class="sourceLineNo">690</span><a name="line.690"></a>
+<span class="sourceLineNo">691</span>   /**<a name="line.691"></a>
+<span class="sourceLineNo">692</span>    * Gets the entry with the specified key.<a name="line.692"></a>
+<span class="sourceLineNo">693</span>    *<a name="line.693"></a>
+<span class="sourceLineNo">694</span>    * &lt;p&gt;<a name="line.694"></a>
+<span class="sourceLineNo">695</span>    * The key can be in one of the following formats...<a name="line.695"></a>
+<span class="sourceLineNo">696</span>    * &lt;ul class='spaced-list'&gt;<a name="line.696"></a>
+<span class="sourceLineNo">697</span>    *    &lt;li&gt;<a name="line.697"></a>
+<span class="sourceLineNo">698</span>    *       &lt;js&gt;"key"&lt;/js&gt; - A value in the default section (i.e. defined above any &lt;code&gt;[section]&lt;/code&gt; header).<a name="line.698"></a>
+<span class="sourceLineNo">699</span>    *    &lt;li&gt;<a name="line.699"></a>
+<span class="sourceLineNo">700</span>    *       &lt;js&gt;"section/key"&lt;/js&gt; - A value from the specified section.<a name="line.700"></a>
+<span class="sourceLineNo">701</span>    * &lt;/ul&gt;<a name="line.701"></a>
+<span class="sourceLineNo">702</span>    *<a name="line.702"></a>
+<span class="sourceLineNo">703</span>    * @param key The key.<a name="line.703"></a>
+<span class="sourceLineNo">704</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.704"></a>
+<span class="sourceLineNo">705</span>    */<a name="line.705"></a>
+<span class="sourceLineNo">706</span>   public String getString(String key) {<a name="line.706"></a>
+<span class="sourceLineNo">707</span>      String s = get(key);<a name="line.707"></a>
+<span class="sourceLineNo">708</span>      if (s == null)<a name="line.708"></a>
+<span class="sourceLineNo">709</span>         return null;<a name="line.709"></a>
+<span class="sourceLineNo">710</span>      if (varSession != null)<a name="line.710"></a>
+<span class="sourceLineNo">711</span>         s = varSession.resolve(s);<a name="line.711"></a>
+<span class="sourceLineNo">712</span>      return s;<a name="line.712"></a>
+<span class="sourceLineNo">713</span>   }<a name="line.713"></a>
+<span class="sourceLineNo">714</span><a name="line.714"></a>
+<span class="sourceLineNo">715</span>   /**<a name="line.715"></a>
+<span class="sourceLineNo">716</span>    * Gets the entry with the specified key.<a name="line.716"></a>
+<span class="sourceLineNo">717</span>    *<a name="line.717"></a>
+<span class="sourceLineNo">718</span>    * &lt;p&gt;<a name="line.718"></a>
+<span class="sourceLineNo">719</span>    * The key can be in one of the following formats...<a name="line.719"></a>
+<span class="sourceLineNo">720</span>    * &lt;ul class='spaced-list'&gt;<a name="line.720"></a>
+<span class="sourceLineNo">721</span>    *    &lt;li&gt;<a name="line.721"></a>
+<span class="sourceLineNo">722</span>    *       &lt;js&gt;"key"&lt;/js&gt; - A value in the default section (i.e. defined above any &lt;code&gt;[section]&lt;/code&gt; header).<a name="line.722"></a>
+<span class="sourceLineNo">723</span>    *    &lt;li&gt;<a name="line.723"></a>
+<span class="sourceLineNo">724</span>    *       &lt;js&gt;"section/key"&lt;/js&gt; - A value from the specified section.<a name="line.724"></a>
+<span class="sourceLineNo">725</span>    * &lt;/ul&gt;<a name="line.725"></a>
+<span class="sourceLineNo">726</span>    *<a name="line.726"></a>
+<span class="sourceLineNo">727</span>    * @param key The key.<a name="line.727"></a>
+<span class="sourceLineNo">728</span>    * @param def The default value if the value does not exist.<a name="line.728"></a>
+<span class="sourceLineNo">729</span>    * @return The value, or the default value if the section or key does not exist.<a name="line.729"></a>
+<span class="sourceLineNo">730</span>    */<a name="line.730"></a>
+<span class="sourceLineNo">731</span>   public String getString(String key, String def) {<a name="line.731"></a>
+<span class="sourceLineNo">732</span>      String s = get(key);<a name="line.732"></a>
+<span class="sourceLineNo">733</span>      if (isEmpty(s))<a name="line.733"></a>
+<span class="sourceLineNo">734</span>         return def;<a name="line.734"></a>
+<span class="sourceLineNo">735</span>      if (varSession != null)<a name="line.735"></a>
+<span class="sourceLineNo">736</span>         s = varSession.resolve(s);<a name="line.736"></a>
+<span class="sourceLineNo">737</span>      return s;<a name="line.737"></a>
+<span class="sourceLineNo">738</span>   }<a name="line.738"></a>
+<span class="sourceLineNo">739</span><a name="line.739"></a>
+<span class="sourceLineNo">740</span>   /**<a name="line.740"></a>
+<span class="sourceLineNo">741</span>    * Gets the entry with the specified key, splits the value on commas, and returns the values as trimmed strings.<a name="line.741"></a>
+<span class="sourceLineNo">742</span>    *<a name="line.742"></a>
+<span class="sourceLineNo">743</span>    * @param key The key.<a name="line.743"></a>
+<span class="sourceLineNo">744</span>    * @return The value, or an empty array if the section or key does not exist.<a name="line.744"></a>
+<span class="sourceLineNo">745</span>    */<a name="line.745"></a>
+<span class="sourceLineNo">746</span>   public String[] getStringArray(String key) {<a name="line.746"></a>
+<span class="sourceLineNo">747</span>      return getStringArray(key, new String[0]);<a name="line.747"></a>
+<span class="sourceLineNo">748</span>   }<a name="line.748"></a>
+<span class="sourceLineNo">749</span><a name="line.749"></a>
+<span class="sourceLineNo">750</span>   /**<a name="line.750"></a>
+<span class="sourceLineNo">751</span>    * Same as {@link #getStringArray(String)} but returns a default value if the value cannot be found.<a name="line.751"></a>
+<span class="sourceLineNo">752</span>    *<a name="line.752"></a>
+<span class="sourceLineNo">753</span>    * @param key The key.<a name="line.753"></a>
+<span class="sourceLineNo">754</span>    * @param def The default value if the value does not exist.<a name="line.754"></a>
+<span class="sourceLineNo">755</span>    * @return The value, or the default value if the section or key does not exist or is blank.<a name="line.755"></a>
+<span class="sourceLineNo">756</span>    */<a name="line.756"></a>
+<span class="sourceLineNo">757</span>   public String[] getStringArray(String key, String[] def) {<a name="line.757"></a>
+<span class="sourceLineNo">758</span>      String s = getString(key);<a name="line.758"></a>
+<span class="sourceLineNo">759</span>      if (isEmpty(s))<a name="line.759"></a>
+<span class="sourceLineNo">760</span>         return def;<a name="line.760"></a>
+<span class="sourceLineNo">761</span>      String[] r = split(s);<a name="line.761"></a>
+<span class="sourceLineNo">762</span>      return r.length == 0 ? def : r;<a name="line.762"></a>
+<span class="sourceLineNo">763</span>   }<a name="line.763"></a>
+<span class="sourceLineNo">764</span><a name="line.764"></a>
+<span class="sourceLineNo">765</span>   /**<a name="line.765"></a>
+<span class="sourceLineNo">766</span>    * Convenience method for getting int config values.<a name="line.766"></a>
+<span class="sourceLineNo">767</span>    *<a name="line.767"></a>
+<span class="sourceLineNo">768</span>    * &lt;p&gt;<a name="line.768"></a>
+<span class="sourceLineNo">769</span>    * &lt;js&gt;"K"&lt;/js&gt;, &lt;js&gt;"M"&lt;/js&gt;, and &lt;js&gt;"G"&lt;/js&gt; can be used to identify kilo, mega, and giga.<a name="line.769"></a>
+<span class="sourceLineNo">770</span>    *<a name="line.770"></a>
+<span class="sourceLineNo">771</span>    * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.771"></a>
+<span class="sourceLineNo">772</span>    * &lt;ul class='spaced-list'&gt;<a name="line.772"></a>
+<span class="sourceLineNo">773</span>    *    &lt;li&gt;<a name="line.773"></a>
+<span class="sourceLineNo">774</span>    *       &lt;code&gt;&lt;js&gt;"100K"&lt;/js&gt; =&gt; 1024000&lt;/code&gt;<a name="line.774"></a>
+<span class="sourceLineNo">775</span>    *    &lt;li&gt;<a name="line.775"></a>
+<span class="sourceLineNo">776</span>    *       &lt;code&gt;&lt;js&gt;"100M"&lt;/js&gt; =&gt; 104857600&lt;/code&gt;<a name="line.776"></a>
+<span class="sourceLineNo">777</span>    * &lt;/ul&gt;<a name="line.777"></a>
+<span class="sourceLineNo">778</span>    *<a name="line.778"></a>
+<span class="sourceLineNo">779</span>    * &lt;p&gt;<a name="line.779"></a>
+<span class="sourceLineNo">780</span>    * Uses {@link Integer#decode(String)} underneath, so any of the following integer formats are supported:<a name="line.780"></a>
+<span class="sourceLineNo">781</span>    * &lt;ul&gt;<a name="line.781"></a>
+<span class="sourceLineNo">782</span>    *    &lt;li&gt;&lt;js&gt;"0x..."&lt;/js&gt;<a name="line.782"></a>
+<span class="sourceLineNo">783</span>    *    &lt;li&gt;&lt;js&gt;"0X..."&lt;/js&gt;<a name="line.783"></a>
+<span class="sourceLineNo">784</span>    *    &lt;li&gt;&lt;js&gt;"#..."&lt;/js&gt;<a name="line.784"></a>
+<span class="sourceLineNo">785</span>    *    &lt;li&gt;&lt;js&gt;"0..."&lt;/js&gt;<a name="line.785"></a>
+<span class="sourceLineNo">786</span>    * &lt;/ul&gt;<a name="line.786"></a>
+<span class="sourceLineNo">787</span>    *<a name="line.787"></a>
+<span class="sourceLineNo">788</span>    * @param key The key.<a name="line.788"></a>
+<span class="sourceLineNo">789</span>    * @return The value, or &lt;code&gt;0&lt;/code&gt; if the value does not exist or the value is empty.<a name="line.789"></a>
+<span class="sourceLineNo">790</span>    */<a name="line.790"></a>
+<span class="sourceLineNo">791</span>   public int getInt(String key) {<a name="line.791"></a>
+<span class="sourceLineNo">792</span>      return getInt(key, 0);<a name="line.792"></a>
+<span class="sourceLineNo">793</span>   }<a name="line.793"></a>
+<span class="sourceLineNo">794</span><a name="line.794"></a>
+<span class="sourceLineNo">795</span>   /**<a name="line.795"></a>
+<span class="sourceLineNo">796</span>    * Same as {@link #getInt(String)} but returns a default value if not set.<a name="line.796"></a>
+<span class="sourceLineNo">797</span>    *<a name="line.797"></a>
+<span class="sourceLineNo">798</span>    * @param key The key.<a name="line.798"></a>
+<span class="sourceLineNo">799</span>    * @param def The default value if the value does not exist.<a name="line.799"></a>
+<span class="sourceLineNo">800</span>    * @return The value, or the default value if the value does not exist or the value is empty.<a name="line.800"></a>
+<span class="sourceLineNo">801</span>    */<a name="line.801"></a>
+<span class="sourceLineNo">802</span>   public int getInt(String key, int def) {<a name="line.802"></a>
+<span class="sourceLineNo">803</span>      String s = getString(key);<a name="line.803"></a>
+<span class="sourceLineNo">804</span>      if (isEmpty(s))<a name="line.804"></a>
+<span class="sourceLineNo">805</span>         return def;<a name="line.805"></a>
+<span class="sourceLineNo">806</span>      return parseIntWithSuffix(s);<a name="line.806"></a>
+<span class="sourceLineNo">807</span>   }<a name="line.807"></a>
+<span class="sourceLineNo">808</span><a name="line.808"></a>
+<span class="sourceLineNo">809</span>   /**<a name="line.809"></a>
+<span class="sourceLineNo">810</span>    * Convenience method for getting boolean config values.<a name="line.810"></a>
+<span class="sourceLineNo">811</span>    *<a name="line.811"></a>
+<span class="sourceLineNo">812</span>    * @param key The key.<a name="line.812"></a>
+<span class="sourceLineNo">813</span>    * @return The value, or &lt;jk&gt;false&lt;/jk&gt; if the section or key does not exist or cannot be parsed as a boolean.<a name="line.813"></a>
+<span class="sourceLineNo">814</span>    */<a name="line.814"></a>
+<span class="sourceLineNo">815</span>   public boolean getBoolean(String key) {<a name="line.815"></a>
+<span class="sourceLineNo">816</span>      return getBoolean(key, false);<a name="line.816"></a>
+<span class="sourceLineNo">817</span>   }<a name="line.817"></a>
+<span class="sourceLineNo">818</span><a name="line.818"></a>
+<span class="sourceLineNo">819</span>   /**<a name="line.819"></a>
+<span class="sourceLineNo">820</span>    * Convenience method for getting boolean config values.<a name="line.820"></a>
+<span class="sourceLineNo">821</span>    *<a name="line.821"></a>
+<span class="sourceLineNo">822</span>    * @param key The key.<a name="line.822"></a>
+<span class="sourceLineNo">823</span>    * @param def The default value if the value does not exist.<a name="line.823"></a>
+<span class="sourceLineNo">824</span>    * @return The value, or the default value if the section or key does not exist or cannot be parsed as a boolean.<a name="line.824"></a>
+<span class="sourceLineNo">825</span>    */<a name="line.825"></a>
+<span class="sourceLineNo">826</span>   public boolean getBoolean(String key, boolean def) {<a name="line.826"></a>
+<span class="sourceLineNo">827</span>      String s = getString(key);<a name="line.827"></a>
+<span class="sourceLineNo">828</span>      return isEmpty(s) ? def : Boolean.parseBoolean(s);<a name="line.828"></a>
+<span class="sourceLineNo">829</span>   }<a name="line.829"></a>
+<span class="sourceLineNo">830</span><a name="line.830"></a>
+<span class="sourceLineNo">831</span>   /**<a name="line.831"></a>
+<span class="sourceLineNo">832</span>    * Convenience method for getting long config values.<a name="line.832"></a>
+<span class="sourceLineNo">833</span>    *<a name="line.833"></a>
+<span class="sourceLineNo">834</span>    * &lt;p&gt;<a name="line.834"></a>
+<span class="sourceLineNo">835</span>    * &lt;js&gt;"K"&lt;/js&gt;, &lt;js&gt;"M"&lt;/js&gt;, and &lt;js&gt;"G"&lt;/js&gt; can be used to identify kilo, mega, and giga.<a name="line.835"></a>
+<span class="sourceLineNo">836</span>    *<a name="line.836"></a>
+<span class="sourceLineNo">837</span>    * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.837"></a>
+<span class="sourceLineNo">838</span>    * &lt;ul class='spaced-list'&gt;<a name="line.838"></a>
+<span class="sourceLineNo">839</span>    *    &lt;li&gt;<a name="line.839"></a>
+<span class="sourceLineNo">840</span>    *       &lt;code&gt;&lt;js&gt;"100K"&lt;/js&gt; =&gt; 1024000&lt;/code&gt;<a name="line.840"></a>
+<span class="sourceLineNo">841</span>    *    &lt;li&gt;<a name="line.841"></a>
+<span class="sourceLineNo">842</span>    *       &lt;code&gt;&lt;js&gt;"100M"&lt;/js&gt; =&gt; 104857600&lt;/code&gt;<a name="line.842"></a>
+<span class="sourceLineNo">843</span>    * &lt;/ul&gt;<a name="line.843"></a>
+<span class="sourceLineNo">844</span>    *<a name="line.844"></a>
+<span class="sourceLineNo">845</span>    * &lt;p&gt;<a name="line.845"></a>
+<span class="sourceLineNo">846</span>    * Uses {@link Long#decode(String)} underneath, so any of the following number formats are supported:<a name="line.846"></a>
+<span class="sourceLineNo">847</span>    * &lt;ul&gt;<a name="line.847"></a>
+<span class="sourceLineNo">848</span>    *    &lt;li&gt;&lt;js&gt;"0x..."&lt;/js&gt;<a name="line.848"></a>
+<span class="sourceLineNo">849</span>    *    &lt;li&gt;&lt;js&gt;"0X..."&lt;/js&gt;<a name="line.849"></a>
+<span class="sourceLineNo">850</span>    *    &lt;li&gt;&lt;js&gt;"#..."&lt;/js&gt;<a name="line.850"></a>
+<span class="sourceLineNo">851</span>    *    &lt;li&gt;&lt;js&gt;"0..."&lt;/js&gt;<a name="line.851"></a>
+<span class="sourceLineNo">852</span>    * &lt;/ul&gt;<a name="line.852"></a>
+<span class="sourceLineNo">853</span>    *<a name="line.853"></a>
+<span class="sourceLineNo">854</span>    * @param key The key.<a name="line.854"></a>
+<span class="sourceLineNo">855</span>    * @return The value, or &lt;code&gt;0&lt;/code&gt; if the value does not exist or the value is empty.<a name="line.855"></a>
+<span class="sourceLineNo">856</span>    */<a name="line.856"></a>
+<span class="sourceLineNo">857</span>   public long getLong(String key) {<a name="line.857"></a>
+<span class="sourceLineNo">858</span>      return getLong(key, 0);<a name="line.858"></a>
+<span class="sourceLineNo">859</span>   }<a name="line.859"></a>
+<span class="sourceLineNo">860</span><a name="line.860"></a>
+<span class="sourceLineNo">861</span>   /**<a name="line.861"></a>
+<span class="sourceLineNo">862</span>    * Same as {@link #getLong(String)} but returns a default value if not set.<a name="line.862"></a>
+<span class="sourceLineNo">863</span>    *<a name="line.863"></a>
+<span class="sourceLineNo">864</span>    * @param key The key.<a name="line.864"></a>
+<span class="sourceLineNo">865</span>    * @param def The default value if the value does not exist.<a name="line.865"></a>
+<span class="sourceLineNo">866</span>    * @return The value, or the default value if the value does not exist or the value is empty.<a name="line.866"></a>
+<span class="sourceLineNo">867</span>    */<a name="line.867"></a>
+<span class="sourceLineNo">868</span>   public long getLong(String key, long def) {<a name="line.868"></a>
+<span class="sourceLineNo">869</span>      String s = getString(key);<a name="line.869"></a>
+<span class="sourceLineNo">870</span>      if (isEmpty(s))<a name="line.870"></a>
+<span class="sourceLineNo">871</span>         return def;<a name="line.871"></a>
+<span class="sourceLineNo">872</span>      return parseLongWithSuffix(s);<a name="line.872"></a>
+<span class="sourceLineNo">873</span>   }<a name="line.873"></a>
+<span class="sourceLineNo">874</span><a name="line.874"></a>
+<span class="sourceLineNo">875</span>   /**<a name="line.875"></a>
+<span class="sourceLineNo">876</span>    * Convenience method for getting double config values.<a name="line.876"></a>
+<span class="sourceLineNo">877</span>    *<a name="line.877"></a>
+<span class="sourceLineNo">878</span>    * &lt;p&gt;<a name="line.878"></a>
+<span class="sourceLineNo">879</span>    * Uses {@link Double#valueOf(String)} underneath, so any of the following number formats are supported:<a name="line.879"></a>
+<span class="sourceLineNo">880</span>    * &lt;ul&gt;<a name="line.880"></a>
+<span class="sourceLineNo">881</span>    *    &lt;li&gt;&lt;js&gt;"0x..."&lt;/js&gt;<a name="line.881"></a>
+<span class="sourceLineNo">882</span>    *    &lt;li&gt;&lt;js&gt;"0X..."&lt;/js&gt;<a name="line.882"></a>
+<span class="sourceLineNo">883</span>    *    &lt;li&gt;&lt;js&gt;"#..."&lt;/js&gt;<a name="line.883"></a>
+<span class="sourceLineNo">884</span>    *    &lt;li&gt;&lt;js&gt;"0..."&lt;/js&gt;<a name="line.884"></a>
+<span class="sourceLineNo">885</span>    * &lt;/ul&gt;<a name="line.885"></a>
+<span class="sourceLineNo">886</span>    *<a name="line.886"></a>
+<span class="sourceLineNo">887</span>    * @param key The key.<a name="line.887"></a>
+<span class="sourceLineNo">888</span>    * @return The value, or &lt;code&gt;0&lt;/code&gt; if the value does not exist or the value is empty.<a name="line.888"></a>
+<span class="sourceLineNo">889</span>    */<a name="line.889"></a>
+<span class="sourceLineNo">890</span>   public double getDouble(String key) {<a name="line.890"></a>
+<span class="sourceLineNo">891</span>      return getDouble(key, 0);<a name="line.891"></a>
+<span class="sourceLineNo">892</span>   }<a name="line.892"></a>
+<span class="sourceLineNo">893</span><a name="line.893"></a>
+<span class="sourceLineNo">894</span>   /**<a name="line.894"></a>
+<span class="sourceLineNo">895</span>    * Same as {@link #getDouble(String)} but returns a default value if not set.<a name="line.895"></a>
+<span class="sourceLineNo">896</span>    *<a name="line.896"></a>
+<span class="sourceLineNo">897</span>    * @param key The key.<a name="line.897"></a>
+<span class="sourceLineNo">898</span>    * @param def The default value if the value does not exist.<a name="line.898"></a>
+<span class="sourceLineNo">899</span>    * @return The value, or the default value if the value does not exist or the value is empty.<a name="line.899"></a>
+<span class="sourceLineNo">900</span>    */<a name="line.900"></a>
+<span class="sourceLineNo">901</span>   public double getDouble(String key, double def) {<a name="line.901"></a>
+<span class="sourceLineNo">902</span>      String s = getString(key);<a name="line.902"></a>
+<span class="sourceLineNo">903</span>      if (isEmpty(s))<a name="line.903"></a>
+<span class="sourceLineNo">904</span>         return def;<a name="line.904"></a>
+<span class="sourceLineNo">905</span>      return Double.valueOf(s);<a name="line.905"></a>
+<span class="sourceLineNo">906</span>   }<a name="line.906"></a>
+<span class="sourceLineNo">907</span><a name="line.907"></a>
+<span class="sourceLineNo">908</span>   /**<a name="line.908"></a>
+<span class="sourceLineNo">909</span>    * Convenience method for getting float config values.<a name="line.909"></a>
+<span class="sourceLineNo">910</span>    *<a name="line.910"></a>
+<span class="sourceLineNo">911</span>    * &lt;p&gt;<a name="line.911"></a>
+<span class="sourceLineNo">912</span>    * Uses {@link Float#valueOf(String)} underneath, so any of the following number formats are supported:<a name="line.912"></a>
+<span class="sourceLineNo">913</span>    * &lt;ul&gt;<a name="line.913"></a>
+<span class="sourceLineNo">914</span>    *    &lt;li&gt;&lt;js&gt;"0x..."&lt;/js&gt;<a name="line.914"></a>
+<span class="sourceLineNo">915</span>    *    &lt;li&gt;&lt;js&gt;"0X..."&lt;/js&gt;<a name="line.915"></a>
+<span class="sourceLineNo">916</span>    *    &lt;li&gt;&lt;js&gt;"#..."&lt;/js&gt;<a name="line.916"></a>
+<span class="sourceLineNo">917</span>    *    &lt;li&gt;&lt;js&gt;"0..."&lt;/js&gt;<a name="line.917"></a>
+<span class="sourceLineNo">918</span>    * &lt;/ul&gt;<a name="line.918"></a>
+<span class="sourceLineNo">919</span>    *<a name="line.919"></a>
+<span class="sourceLineNo">920</span>    * @param key The key.<a name="line.920"></a>
+<span class="sourceLineNo">921</span>    * @return The value, or &lt;code&gt;0&lt;/code&gt; if the value does not exist or the value is empty.<a name="line.921"></a>
+<span class="sourceLineNo">922</span>    */<a name="line.922"></a>
+<span class="sourceLineNo">923</span>   public float getFloat(String key) {<a name="line.923"></a>
+<span class="sourceLineNo">924</span>      return getFloat(key, 0);<a name="line.924"></a>
+<span class="sourceLineNo">925</span>   }<a name="line.925"></a>
+<span class="sourceLineNo">926</span><a name="line.926"></a>
+<span class="sourceLineNo">927</span>   /**<a name="line.927"></a>
+<span class="sourceLineNo">928</span>    * Same as {@link #getFloat(String)} but returns a default value if not set.<a name="line.928"></a>
+<span class="sourceLineNo">929</span>    *<a name="line.929"></a>
+<span class="sourceLineNo">930</span>    * @param key The key.<a name="line.930"></a>
+<span class="sourceLineNo">931</span>    * @param def The default value if the value does not exist.<a name="line.931"></a>
+<span class="sourceLineNo">932</span>    * @return The value, or the default value if the value does not exist or the value is empty.<a name="line.932"></a>
+<span class="sourceLineNo">933</span>    */<a name="line.933"></a>
+<span class="sourceLineNo">934</span>   public float getFloat(String key, float def) {<a name="line.934"></a>
+<span class="sourceLineNo">935</span>      String s = getString(key);<a name="line.935"></a>
+<span class="sourceLineNo">936</span>      if (isEmpty(s))<a name="line.936"></a>
+<span class="sourceLineNo">937</span>         return def;<a name="line.937"></a>
+<span class="sourceLineNo">938</span>      return Float.valueOf(s);<a name="line.938"></a>
+<span class="sourceLineNo">939</span>   }<a name="line.939"></a>
+<span class="sourceLineNo">940</span><a name="line.940"></a>
+<span class="sourceLineNo">941</span>   /**<a name="line.941"></a>
+<span class="sourceLineNo">942</span>    * Convenience method for getting byte array config values.<a name="line.942"></a>
+<span class="sourceLineNo">943</span>    *<a name="line.943"></a>
+<span class="sourceLineNo">944</span>    * &lt;p&gt;<a name="line.944"></a>
+<span class="sourceLineNo">945</span>    * This is equivalent to calling the following:<a name="line.945"></a>
+<span class="sourceLineNo">946</span>    * &lt;p class='bcode w800'&gt;<a name="line.946"></a>
+<span class="sourceLineNo">947</span>    *    &lt;jk&gt;byte&lt;/jk&gt;[] b = config.getObject(key, &lt;jk&gt;byte&lt;/jk&gt;[].&lt;jk&gt;class&lt;/jk&gt;);<a name="line.947"></a>
+<span class="sourceLineNo">948</span>    * &lt;/p&gt;<a name="line.948"></a>
+<span class="sourceLineNo">949</span>    *<a name="line.949"></a>
+<span class="sourceLineNo">950</span>    * Byte arrays are stored as encoded strings, typically BASE64, but dependent on the {@link #CONFIG_binaryFormat} setting.<a name="line.950"></a>
+<span class="sourceLineNo">951</span>    *<a name="line.951"></a>
+<span class="sourceLineNo">952</span>    * @param key The key.<a name="line.952"></a>
+<span class="sourceLineNo">953</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.953"></a>
+<span class="sourceLineNo">954</span>    * @throws ParseException If value could not be converted to a byte array.<a name="line.954"></a>
+<span class="sourceLineNo">955</span>    */<a name="line.955"></a>
+<span class="sourceLineNo">956</span>   public byte[] getBytes(String key) throws ParseException {<a name="line.956"></a>
+<span class="sourceLineNo">957</span>      String s = get(key);<a name="line.957"></a>
+<span class="sourceLineNo">958</span>      if (s == null)<a name="line.958"></a>
+<span class="sourceLineNo">959</span>         return null;<a name="line.959"></a>
+<span class="sourceLineNo">960</span>      if (s.isEmpty())<a name="line.960"></a>
+<span class="sourceLineNo">961</span>         return new byte[0];<a name="line.961"></a>
+<span class="sourceLineNo">962</span>      return getObject(key, byte[].class);<a name="line.962"></a>
+<span class="sourceLineNo">963</span>   }<a name="line.963"></a>
+<span class="sourceLineNo">964</span><a name="line.964"></a>
+<span class="sourceLineNo">965</span>   /**<a name="line.965"></a>
+<span class="sourceLineNo">966</span>    * Same as {@link #getBytes(String)} but with a default value if the entry doesn't exist.<a name="line.966"></a>
+<span class="sourceLineNo">967</span>    *<a name="line.967"></a>
+<span class="sourceLineNo">968</span>    * @param key The key.<a name="line.968"></a>
+<span class="sourceLineNo">969</span>    * @param def The default value if the value does not exist.<a name="line.969"></a>
+<span class="sourceLineNo">970</span>    * @return The value, or the default value if the section or key does not exist.<a name="line.970"></a>
+<span class="sourceLineNo">971</span>    * @throws ParseException If value could not be converted to a byte array.<a name="line.971"></a>
+<span class="sourceLineNo">972</span>    */<a name="line.972"></a>
+<span class="sourceLineNo">973</span>   public byte[] getBytes(String key, byte[] def) throws ParseException {<a name="line.973"></a>
+<span class="sourceLineNo">974</span>      String s = get(key);<a name="line.974"></a>
+<span class="sourceLineNo">975</span>      if (s == null)<a name="line.975"></a>
+<span class="sourceLineNo">976</span>         return def;<a name="line.976"></a>
+<span class="sourceLineNo">977</span>      if (s.isEmpty())<a name="line.977"></a>
+<span class="sourceLineNo">978</span>         return def;<a name="line.978"></a>
+<span class="sourceLineNo">979</span>      return getObjectWithDefault(key, def, byte[].class);<a name="line.979"></a>
+<span class="sourceLineNo">980</span>   }<a name="line.980"></a>
+<span class="sourceLineNo">981</span><a name="line.981"></a>
+<span class="sourceLineNo">982</span>   /**<a name="line.982"></a>
+<span class="sourceLineNo">983</span>    * Gets the entry with the specified key and converts it to the specified value.<a name="line.983"></a>
+<span class="sourceLineNo">984</span>    *<a name="line.984"></a>
+<span class="sourceLineNo">985</span>    * &lt;p&gt;<a name="line.985"></a>
+<span class="sourceLineNo">986</span>    * The key can be in one of the following formats...<a name="line.986"></a>
+<span class="sourceLineNo">987</span>    * &lt;ul class='spaced-list'&gt;<a name="line.987"></a>
+<span class="sourceLineNo">988</span>    *    &lt;li&gt;<a name="line.988"></a>
+<span class="sourceLineNo">989</span>    *       &lt;js&gt;"key"&lt;/js&gt; - A value in the default section (i.e. defined above any &lt;code&gt;[section]&lt;/code&gt; header).<a name="line.989"></a>
+<span class="sourceLineNo">990</span>    *    &lt;li&gt;<a name="line.990"></a>
+<span class="sourceLineNo">991</span>    *       &lt;js&gt;"section/key"&lt;/js&gt; - A value from the specified section.<a name="line.991"></a>
+<span class="sourceLineNo">992</span>    * &lt;/ul&gt;<a name="line.992"></a>
+<span class="sourceLineNo">993</span>    *<a name="line.993"></a>
+<span class="sourceLineNo">994</span>    * &lt;p&gt;<a name="line.994"></a>
+<span class="sourceLineNo">995</span>    * The type can be a simple type (e.g. beans, strings, numbers) or parameterized type (collections/maps).<a name="line.995"></a>
+<span class="sourceLineNo">996</span>    *<a name="line.996"></a>
+<span class="sourceLineNo">997</span>    * &lt;h5 class='section'&gt;Examples:&lt;/h5&gt;<a name="line.997"></a>
+<span class="sourceLineNo">998</span>    * &lt;p class='bcode w800'&gt;<a name="line.998"></a>
+<span class="sourceLineNo">999</span>    *    Config cf = Config.&lt;jsm&gt;create&lt;/jsm&gt;().name(&lt;js&gt;"MyConfig.cfg"&lt;/js&gt;).build();<a name="line.999"></a>
+<span class="sourceLineNo">1000</span>    *<a name="line.1000"></a>
+<span class="sourceLineNo">1001</span>    *    &lt;jc&gt;// Parse into a linked-list of strings.&lt;/jc&gt;<a name="line.1001"></a>
+<span class="sourceLineNo">1002</span>    *    List l = cf.getObject(&lt;js&gt;"MySection/myListOfStrings"&lt;/js&gt;, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1002"></a>
+<span class="sourceLineNo">1003</span>    *<a name="line.1003"></a>
+<span class="sourceLineNo">1004</span>    *    &lt;jc&gt;// Parse into a linked-list of beans.&lt;/jc&gt;<a name="line.1004"></a>
+<span class="sourceLineNo">1005</span>    *    List l = cf.getObject(&lt;js&gt;"MySection/myListOfBeans"&lt;/js&gt;, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, MyBean.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1005"></a>
+<span class="sourceLineNo">1006</span>    *<a name="line.1006"></a>
+<span class="sourceLineNo">1007</span>    *    &lt;jc&gt;// Parse into a linked-list of linked-lists of strings.&lt;/jc&gt;<a name="line.1007"></a>
+<span class="sourceLineNo">1008</span>    *    List l = cf.getObject(&lt;js&gt;"MySection/my2dListOfStrings"&lt;/js&gt;, LinkedList.&lt;jk&gt;class&lt;/jk&gt;,<a name="line.1008"></a>
+<span class="sourceLineNo">1009</span>    *       LinkedList.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1009"></a>
+<span class="sourceLineNo">1010</span>    *<a name="line.1010"></a>
+<span class="sourceLineNo">1011</span>    *    &lt;jc&gt;// Parse into a map of string keys/values.&lt;/jc&gt;<a name="line.1011"></a>
+<span class="sourceLineNo">1012</span>    *    Map m = cf.getObject(&lt;js&gt;"MySection/myMap"&lt;/js&gt;, TreeMap.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;,<a name="line.1012"></a>
+<span class="sourceLineNo">1013</span>    *       String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1013"></a>
+<span class="sourceLineNo">1014</span>    *<a name="line.1014"></a>
+<span class="sourceLineNo">1015</span>    *    &lt;jc&gt;// Parse into a map containing string keys and values of lists containing beans.&lt;/jc&gt;<a name="line.1015"></a>
+<span class="sourceLineNo">1016</span>    *    Map m = cf.getObject(&lt;js&gt;"MySection/myMapOfListsOfBeans"&lt;/js&gt;, TreeMap.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;,<a name="line.1016"></a>
+<span class="sourceLineNo">1017</span>    *       List.&lt;jk&gt;class&lt;/jk&gt;, MyBean.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1017"></a>
+<span class="sourceLineNo">1018</span>    * &lt;/p&gt;<a name="line.1018"></a>
+<span class="sourceLineNo">1019</span>    *<a name="line.1019"></a>
+<span class="sourceLineNo">1020</span>    * &lt;p&gt;<a name="line.1020"></a>
+<span class="sourceLineNo">1021</span>    * &lt;code&gt;Collection&lt;/code&gt; classes are assumed to be followed by zero or one objects indicating the element type.<a name="line.1021"></a>
+<span class="sourceLineNo">1022</span>    *<a name="line.1022"></a>
+<span class="sourceLineNo">1023</span>    * &lt;p&gt;<a name="line.1023"></a>
+<span class="sourceLineNo">1024</span>    * &lt;code&gt;Map&lt;/code&gt; classes are assumed to be followed by zero or two meta objects indicating the key and value<a name="line.1024"></a>
+<span class="sourceLineNo">1025</span>    * types.<a name="line.1025"></a>
+<span class="sourceLineNo">1026</span>    *<a name="line.1026"></a>
+<span class="sourceLineNo">1027</span>    * &lt;p&gt;<a name="line.1027"></a>
+<span class="sourceLineNo">1028</span>    * The array can be arbitrarily long to indicate arbitrarily complex data structures.<a name="line.1028"></a>
+<span class="sourceLineNo">1029</span>    *<a name="line.1029"></a>
+<span class="sourceLineNo">1030</span>    * &lt;h5 class='section'&gt;Notes:&lt;/h5&gt;<a name="line.1030"></a>
+<span class="sourceLineNo">1031</span>    * &lt;ul class='spaced-list'&gt;<a name="line.1031"></a>
+<span class="sourceLineNo">1032</span>    *    &lt;li&gt;<a name="line.1032"></a>
+<span class="sourceLineNo">1033</span>    *       Use the {@link #getObject(String, Class)} method instead if you don't need a parameterized map/collection.<a name="line.1033"></a>
+<span class="sourceLineNo">1034</span>    * &lt;/ul&gt;<a name="line.1034"></a>
+<span class="sourceLineNo">1035</span>    *<a name="line.1035"></a>
+<span class="sourceLineNo">1036</span>    * @param key The key.<a name="line.1036"></a>
+<span class="sourceLineNo">1037</span>    * @param type<a name="line.1037"></a>
+<span class="sourceLineNo">1038</span>    *    The object type to create.<a name="line.1038"></a>
+<span class="sourceLineNo">1039</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1039"></a>
+<span class="sourceLineNo">1040</span>    * @param args<a name="line.1040"></a>
+<span class="sourceLineNo">1041</span>    *    The type arguments of the class if it's a collection or map.<a name="line.1041"></a>
+<span class="sourceLineNo">1042</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1042"></a>
+<span class="sourceLineNo">1043</span>    *    &lt;br&gt;Ignored if the main type is not a map or collection.<a name="line.1043"></a>
+<span class="sourceLineNo">1044</span>    * @throws ParseException If parser could not parse the value or if a parser is not registered with this config file.<a name="line.1044"></a>
+<span class="sourceLineNo">1045</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1045"></a>
+<span class="sourceLineNo">1046</span>    */<a name="line.1046"></a>
+<span class="sourceLineNo">1047</span>   public &lt;T&gt; T getObject(String key, Type type, Type...args) throws ParseException {<a name="line.1047"></a>
+<span class="sourceLineNo">1048</span>      return getObject(key, (Parser)null, type, args);<a name="line.1048"></a>
+<span class="sourceLineNo">1049</span>   }<a name="line.1049"></a>
+<span class="sourceLineNo">1050</span><a name="line.1050"></a>
+<span class="sourceLineNo">1051</span>   /**<a name="line.1051"></a>
+<span class="sourceLineNo">1052</span>    * Same as {@link #getObject(String, Type, Type...)} but allows you to specify the parser to use to parse the value.<a name="line.1052"></a>
+<span class="sourceLineNo">1053</span>    *<a name="line.1053"></a>
+<span class="sourceLineNo">1054</span>    * @param key The key.<a name="line.1054"></a>
+<span class="sourceLineNo">1055</span>    * @param parser<a name="line.1055"></a>
+<span class="sourceLineNo">1056</span>    *    The parser to use for parsing the object.<a name="line.1056"></a>
+<span class="sourceLineNo">1057</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then uses the predefined parser on the config file.<a name="line.1057"></a>
+<span class="sourceLineNo">1058</span>    * @param type<a name="line.1058"></a>
+<span class="sourceLineNo">1059</span>    *    The object type to create.<a name="line.1059"></a>
+<span class="sourceLineNo">1060</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1060"></a>
+<span class="sourceLineNo">1061</span>    * @param args<a name="line.1061"></a>
+<span class="sourceLineNo">1062</span>    *    The type arguments of the class if it's a collection or map.<a name="line.1062"></a>
+<span class="sourceLineNo">1063</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1063"></a>
+<span class="sourceLineNo">1064</span>    *    &lt;br&gt;Ignored if the main type is not a map or collection.<a name="line.1064"></a>
+<span class="sourceLineNo">1065</span>    * @throws ParseException If parser could not parse the value or if a parser is not registered with this config file.<a name="line.1065"></a>
+<span class="sourceLineNo">1066</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1066"></a>
+<span class="sourceLineNo">1067</span>    */<a name="line.1067"></a>
+<span class="sourceLineNo">1068</span>   public &lt;T&gt; T getObject(String key, Parser parser, Type type, Type...args) throws ParseException {<a name="line.1068"></a>
+<span class="sourceLineNo">1069</span>      assertFieldNotNull(type, "type");<a name="line.1069"></a>
+<span class="sourceLineNo">1070</span>      return parse(getString(key), parser, type, args);<a name="line.1070"></a>
+<span class="sourceLineNo">1071</span>   }<a name="line.1071"></a>
+<span class="sourceLineNo">1072</span><a name="line.1072"></a>
+<span class="sourceLineNo">1073</span>   /**<a name="line.1073"></a>
+<span class="sourceLineNo">1074</span>    * Same as {@link #getObject(String, Type, Type...)} except optimized for a non-parameterized class.<a name="line.1074"></a>
+<span class="sourceLineNo">1075</span>    *<a name="line.1075"></a>
+<span class="sourceLineNo">1076</span>    * &lt;p&gt;<a name="line.1076"></a>
+<span class="sourceLineNo">1077</span>    * This is the preferred parse method for simple types since you don't need to cast the results.<a name="line.1077"></a>
+<span class="sourceLineNo">1078</span>    *<a name="line.1078"></a>
+<span class="sourceLineNo">1079</span>    * &lt;h5 class='section'&gt;Examples:&lt;/h5&gt;<a name="line.1079"></a>
+<span class="sourceLineNo">1080</span>    * &lt;p class='bcode w800'&gt;<a name="line.1080"></a>
+<span class="sourceLineNo">1081</span>    *    Config cf = Config.&lt;jsm&gt;create&lt;/jsm&gt;().name(&lt;js&gt;"MyConfig.cfg"&lt;/js&gt;).build();<a name="line.1081"></a>
+<span class="sourceLineNo">1082</span>    *<a name="line.1082"></a>
+<span class="sourceLineNo">1083</span>    *    &lt;jc&gt;// Parse into a string.&lt;/jc&gt;<a name="line.1083"></a>
+<span class="sourceLineNo">1084</span>    *    String s = cf.getObject(&lt;js&gt;"MySection/mySimpleString"&lt;/js&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1084"></a>
+<span class="sourceLineNo">1085</span>    *<a name="line.1085"></a>
+<span class="sourceLineNo">1086</span>    *    &lt;jc&gt;// Parse into a bean.&lt;/jc&gt;<a name="line.1086"></a>
+<span class="sourceLineNo">1087</span>    *    MyBean b = cf.getObject(&lt;js&gt;"MySection/myBean"&lt;/js&gt;, MyBean.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1087"></a>
+<span class="sourceLineNo">1088</span>    *<a name="line.1088"></a>
+<span class="sourceLineNo">1089</span>    *    &lt;jc&gt;// Parse into a bean array.&lt;/jc&gt;<a name="line.1089"></a>
+<span class="sourceLineNo">1090</span>    *    MyBean[] b = cf.getObject(&lt;js&gt;"MySection/myBeanArray"&lt;/js&gt;, MyBean[].&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1090"></a>
+<span class="sourceLineNo">1091</span>    *<a name="line.1091"></a>
+<span class="sourceLineNo">1092</span>    *    &lt;jc&gt;// Parse into a linked-list of objects.&lt;/jc&gt;<a name="line.1092"></a>
+<span class="sourceLineNo">1093</span>    *    List l = cf.getObject(&lt;js&gt;"MySection/myList"&lt;/js&gt;, LinkedList.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1093"></a>
+<span class="sourceLineNo">1094</span>    *<a name="line.1094"></a>
+<span class="sourceLineNo">1095</span>    *    &lt;jc&gt;// Parse into a map of object keys/values.&lt;/jc&gt;<a name="line.1095"></a>
+<span class="sourceLineNo">1096</span>    *    Map m = cf.getObject(&lt;js&gt;"MySection/myMap"&lt;/js&gt;, TreeMap.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1096"></a>
+<span class="sourceLineNo">1097</span>    * &lt;/p&gt;<a name="line.1097"></a>
+<span class="sourceLineNo">1098</span>    *<a name="line.1098"></a>
+<span class="sourceLineNo">1099</span>    * @param &lt;T&gt; The class type of the object being created.<a name="line.1099"></a>
+<span class="sourceLineNo">1100</span>    * @param key The key.<a name="line.1100"></a>
+<span class="sourceLineNo">1101</span>    * @param type The object type to create.<a name="line.1101"></a>
+<span class="sourceLineNo">1102</span>    * @return The parsed object.<a name="line.1102"></a>
+<span class="sourceLineNo">1103</span>    * @throws ParseException<a name="line.1103"></a>
+<span class="sourceLineNo">1104</span>    *    If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.1104"></a>
+<span class="sourceLineNo">1105</span>    * @see BeanSession#getClassMeta(Type,Type...) for argument syntax for maps and collections.<a name="line.1105"></a>
+<span class="sourceLineNo">1106</span>    */<a name="line.1106"></a>
+<span class="sourceLineNo">1107</span>   public &lt;T&gt; T getObject(String key, Class&lt;T&gt; type) throws ParseException {<a name="line.1107"></a>
+<span class="sourceLineNo">1108</span>      return getObject(key, (Parser)null, type);<a name="line.1108"></a>
+<span class="sourceLineNo">1109</span>   }<a name="line.1109"></a>
+<span class="sourceLineNo">1110</span><a name="line.1110"></a>
+<span class="sourceLineNo">1111</span>   /**<a name="line.1111"></a>
+<span class="sourceLineNo">1112</span>    * Same as {@link #getObject(String, Class)} but allows you to specify the parser to use to parse the value.<a name="line.1112"></a>
+<span class="sourceLineNo">1113</span>    *<a name="line.1113"></a>
+<span class="sourceLineNo">1114</span>    * @param &lt;T&gt; The class type of the object being created.<a name="line.1114"></a>
+<span class="sourceLineNo">1115</span>    * @param key The key.<a name="line.1115"></a>
+<span class="sourceLineNo">1116</span>    * @param parser<a name="line.1116"></a>
+<span class="sourceLineNo">1117</span>    *    The parser to use for parsing the object.<a name="line.1117"></a>
+<span class="sourceLineNo">1118</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then uses the predefined parser on the config file.<a name="line.1118"></a>
+<span class="sourceLineNo">1119</span>    * @param type The object type to create.<a name="line.1119"></a>
+<span class="sourceLineNo">1120</span>    * @return The parsed object.<a name="line.1120"></a>
+<span class="sourceLineNo">1121</span>    * @throws ParseException<a name="line.1121"></a>
+<span class="sourceLineNo">1122</span>    *    If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.1122"></a>
+<span class="sourceLineNo">1123</span>    * @see BeanSession#getClassMeta(Type,Type...) for argument syntax for maps and collections.<a name="line.1123"></a>
+<span class="sourceLineNo">1124</span>    */<a name="line.1124"></a>
+<span class="sourceLineNo">1125</span>   public &lt;T&gt; T getObject(String key, Parser parser, Class&lt;T&gt; type) throws ParseException {<a name="line.1125"></a>
+<span class="sourceLineNo">1126</span>      assertFieldNotNull(type, "c");<a name="line.1126"></a>
+<span class="sourceLineNo">1127</span>      return parse(getString(key), parser, type);<a name="line.1127"></a>
+<span class="sourceLineNo">1128</span>   }<a name="line.1128"></a>
+<span class="sourceLineNo">1129</span><a name="line.1129"></a>
+<span class="sourceLineNo">1130</span>   /**<a name="line.1130"></a>
+<span class="sourceLineNo">1131</span>    * Gets the entry with the specified key and converts it to the specified value.<a name="line.1131"></a>
+<span class="sourceLineNo">1132</span>    *<a name="line.1132"></a>
+<span class="sourceLineNo">1133</span>    * &lt;p&gt;<a name="line.1133"></a>
+<span class="sourceLineNo">1134</span>    * Same as {@link #getObject(String, Class)}, but with a default value.<a name="line.1134"></a>
+<span class="sourceLineNo">1135</span>    *<a name="line.1135"></a>
+<span class="sourceLineNo">1136</span>    * @param key The key.<a name="line.1136"></a>
+<span class="sourceLineNo">1137</span>    * @param def The default value if the value does not exist.<a name="line.1137"></a>
+<span class="sourceLineNo">1138</span>    * @param type The class to convert the value to.<a name="line.1138"></a>
+<span class="sourceLineNo">1139</span>    * @throws ParseException If parser could not parse the value or if a parser is not registered with this config file.<a name="line.1139"></a>
+<span class="sourceLineNo">1140</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1140"></a>
+<span class="sourceLineNo">1141</span>    */<a name="line.1141"></a>
+<span class="sourceLineNo">1142</span>   public &lt;T&gt; T getObjectWithDefault(String key, T def, Class&lt;T&gt; type) throws ParseException {<a name="line.1142"></a>
+<span class="sourceLineNo">1143</span>      return getObjectWithDefault(key, null, def, type);<a name="line.1143"></a>
+<span class="sourceLineNo">1144</span>   }<a name="line.1144"></a>
+<span class="sourceLineNo">1145</span><a name="line.1145"></a>
+<span class="sourceLineNo">1146</span>   /**<a name="line.1146"></a>
+<span class="sourceLineNo">1147</span>    * Same as {@link #getObjectWithDefault(String, Object, Class)} but allows you to specify the parser to use to parse<a name="line.1147"></a>
+<span class="sourceLineNo">1148</span>    * the value.<a name="line.1148"></a>
+<span class="sourceLineNo">1149</span>    *<a name="line.1149"></a>
+<span class="sourceLineNo">1150</span>    * @param key The key.<a name="line.1150"></a>
+<span class="sourceLineNo">1151</span>    * @param parser<a name="line.1151"></a>
+<span class="sourceLineNo">1152</span>    *    The parser to use for parsing the object.<a name="line.1152"></a>
+<span class="sourceLineNo">1153</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then uses the predefined parser on the config file.<a name="line.1153"></a>
+<span class="sourceLineNo">1154</span>    * @param def The default value if the value does not exist.<a name="line.1154"></a>
+<span class="sourceLineNo">1155</span>    * @param type The class to convert the value to.<a name="line.1155"></a>
+<span class="sourceLineNo">1156</span>    * @throws ParseException If parser could not parse the value or if a parser is not registered with this config file.<a name="line.1156"></a>
+<span class="sourceLineNo">1157</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1157"></a>
+<span class="sourceLineNo">1158</span>    */<a name="line.1158"></a>
+<span class="sourceLineNo">1159</span>   public &lt;T&gt; T getObjectWithDefault(String key, Parser parser, T def, Class&lt;T&gt; type) throws ParseException {<a name="line.1159"></a>
+<span class="sourceLineNo">1160</span>      assertFieldNotNull(type, "c");<a name="line.1160"></a>
+<span class="sourceLineNo">1161</span>      T t = parse(getString(key), parser, type);<a name="line.1161"></a>
+<span class="sourceLineNo">1162</span>      return (t == null ? def : t);<a name="line.1162"></a>
+<span class="sourceLineNo">1163</span>   }<a name="line.1163"></a>
+<span class="sourceLineNo">1164</span><a name="line.1164"></a>
+<span class="sourceLineNo">1165</span>   /**<a name="line.1165"></a>
+<span class="sourceLineNo">1166</span>    * Gets the entry with the specified key and converts it to the specified value.<a name="line.1166"></a>
+<span class="sourceLineNo">1167</span>    *<a name="line.1167"></a>
+<span class="sourceLineNo">1168</span>    * &lt;p&gt;<a name="line.1168"></a>
+<span class="sourceLineNo">1169</span>    * Same as {@link #getObject(String, Type, Type...)}, but with a default value.<a name="line.1169"></a>
+<span class="sourceLineNo">1170</span>    *<a name="line.1170"></a>
+<span class="sourceLineNo">1171</span>    * @param key The key.<a name="line.1171"></a>
+<span class="sourceLineNo">1172</span>    * @param def The default value if the value does not exist.<a name="line.1172"></a>
+<span class="sourceLineNo">1173</span>    * @param type<a name="line.1173"></a>
+<span class="sourceLineNo">1174</span>    *    The object type to create.<a name="line.1174"></a>
+<span class="sourceLineNo">1175</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1175"></a>
+<span class="sourceLineNo">1176</span>    * @param args<a name="line.1176"></a>
+<span class="sourceLineNo">1177</span>    *    The type arguments of the class if it's a collection or map.<a name="line.1177"></a>
+<span class="sourceLineNo">1178</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1178"></a>
+<span class="sourceLineNo">1179</span>    *    &lt;br&gt;Ignored if the main type is not a map or collection.<a name="line.1179"></a>
+<span class="sourceLineNo">1180</span>    * @throws ParseException If parser could not parse the value or if a parser is not registered with this config file.<a name="line.1180"></a>
+<span class="sourceLineNo">1181</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1181"></a>
+<span class="sourceLineNo">1182</span>    */<a name="line.1182"></a>
+<span class="sourceLineNo">1183</span>   public &lt;T&gt; T getObjectWithDefault(String key, T def, Type type, Type...args) throws ParseException {<a name="line.1183"></a>
+<span class="sourceLineNo">1184</span>      return getObjectWithDefault(key, null, def, type, args);<a name="line.1184"></a>
+<span class="sourceLineNo">1185</span>   }<a name="line.1185"></a>
+<span class="sourceLineNo">1186</span><a name="line.1186"></a>
+<span class="sourceLineNo">1187</span>   /**<a name="line.1187"></a>
+<span class="sourceLineNo">1188</span>    * Same as {@link #getObjectWithDefault(String, Object, Type, Type...)} but allows you to specify the parser to use<a name="line.1188"></a>
+<span class="sourceLineNo">1189</span>    * to parse the value.<a name="line.1189"></a>
+<span class="sourceLineNo">1190</span>    *<a name="line.1190"></a>
+<span class="sourceLineNo">1191</span>    * @param key The key.<a name="line.1191"></a>
+<span class="sourceLineNo">1192</span>    * @param parser<a name="line.1192"></a>
+<span class="sourceLineNo">1193</span>    *    The parser to use for parsing the object.<a name="line.1193"></a>
+<span class="sourceLineNo">1194</span>    *    If &lt;jk&gt;null&lt;/jk&gt;, then uses the predefined parser on the config file.<a name="line.1194"></a>
+<span class="sourceLineNo">1195</span>    * @param def The default value if the value does not exist.<a name="line.1195"></a>
+<span class="sourceLineNo">1196</span>    * @param type<a name="line.1196"></a>
+<span class="sourceLineNo">1197</span>    *    The object type to create.<a name="line.1197"></a>
+<span class="sourceLineNo">1198</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1198"></a>
+<span class="sourceLineNo">1199</span>    * @param args<a name="line.1199"></a>
+<span class="sourceLineNo">1200</span>    *    The type arguments of the class if it's a collection or map.<a name="line.1200"></a>
+<span class="sourceLineNo">1201</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1201"></a>
+<span class="sourceLineNo">1202</span>    *    &lt;br&gt;Ignored if the main type is not a map or collection.<a name="line.1202"></a>
+<span class="sourceLineNo">1203</span>    * @throws ParseException If parser could not parse the value or if a parser is not registered with this config file.<a name="line.1203"></a>
+<span class="sourceLineNo">1204</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1204"></a>
+<span class="sourceLineNo">1205</span>    */<a name="line.1205"></a>
+<span class="sourceLineNo">1206</span>   public &lt;T&gt; T getObjectWithDefault(String key, Parser parser, T def, Type type, Type...args) throws ParseException {<a name="line.1206"></a>
+<span class="sourceLineNo">1207</span>      assertFieldNotNull(type, "type");<a name="line.1207"></a>
+<span class="sourceLineNo">1208</span>      T t = parse(getString(key), parser, type, args);<a name="line.1208"></a>
+<span class="sourceLineNo">1209</span>      return (t == null ? def : t);<a name="line.1209"></a>
+<span class="sourceLineNo">1210</span>   }<a name="line.1210"></a>
+<span class="sourceLineNo">1211</span><a name="line.1211"></a>
+<span class="sourceLineNo">1212</span>   /**<a name="line.1212"></a>
+<span class="sourceLineNo">1213</span>    * Convenience method for returning a config entry as an {@link ObjectMap}.<a name="line.1213"></a>
+<span class="sourceLineNo">1214</span>    *<a name="line.1214"></a>
+<span class="sourceLineNo">1215</span>    * @param key The key.<a name="line.1215"></a>
+<span class="sourceLineNo">1216</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1216"></a>
+<span class="sourceLineNo">1217</span>    * @throws ParseException<a name="line.1217"></a>
+<span class="sourceLineNo">1218</span>    */<a name="line.1218"></a>
+<span class="sourceLineNo">1219</span>   public ObjectMap getObjectMap(String key) throws ParseException {<a name="line.1219"></a>
+<span class="sourceLineNo">1220</span>      return getObject(key, ObjectMap.class);<a name="line.1220"></a>
+<span class="sourceLineNo">1221</span>   }<a name="line.1221"></a>
+<span class="sourceLineNo">1222</span><a name="line.1222"></a>
+<span class="sourceLineNo">1223</span>   /**<a name="line.1223"></a>
+<span class="sourceLineNo">1224</span>    * Convenience method for returning a config entry as an {@link ObjectMap}.<a name="line.1224"></a>
+<span class="sourceLineNo">1225</span>    *<a name="line.1225"></a>
+<span class="sourceLineNo">1226</span>    * @param key The key.<a name="line.1226"></a>
+<span class="sourceLineNo">1227</span>    * @param def The default value.<a name="line.1227"></a>
+<span class="sourceLineNo">1228</span>    * @return The value, or the default value if the section or key does not exist.<a name="line.1228"></a>
+<span class="sourceLineNo">1229</span>    * @throws ParseException<a name="line.1229"></a>
+<span class="sourceLineNo">1230</span>    */<a name="line.1230"></a>
+<span class="sourceLineNo">1231</span>   public ObjectMap getObjectMap(String key, ObjectMap def) throws ParseException {<a name="line.1231"></a>
+<span class="sourceLineNo">1232</span>      return getObjectWithDefault(key, def, ObjectMap.class);<a name="line.1232"></a>
+<span class="sourceLineNo">1233</span>   }<a name="line.1233"></a>
+<span class="sourceLineNo">1234</span><a name="line.1234"></a>
+<span class="sourceLineNo">1235</span>   /**<a name="line.1235"></a>
+<span class="sourceLineNo">1236</span>    * Convenience method for returning a config entry as an {@link ObjectList}.<a name="line.1236"></a>
+<span class="sourceLineNo">1237</span>    *<a name="line.1237"></a>
+<span class="sourceLineNo">1238</span>    * @param key The key.<a name="line.1238"></a>
+<span class="sourceLineNo">1239</span>    * @return The value, or &lt;jk&gt;null&lt;/jk&gt; if the section or key does not exist.<a name="line.1239"></a>
+<span class="sourceLineNo">1240</span>    * @throws ParseException<a name="line.1240"></a>
+<span class="sourceLineNo">1241</span>    */<a name="line.1241"></a>
+<span class="sourceLineNo">1242</span>   public ObjectList getObjectList(String key) throws ParseException {<a name="line.1242"></a>
+<span class="sourceLineNo">1243</span>      return getObject(key, ObjectList.class);<a name="line.1243"></a>
+<span class="sourceLineNo">1244</span>   }<a name="line.1244"></a>
+<span class="sourceLineNo">1245</span><a name="line.1245"></a>
+<span class="sourceLineNo">1246</span>   /**<a name="line.1246"></a>
+<span class="sourceLineNo">1247</span>    * Convenience method for returning a config entry as an {@link ObjectList}.<a name="line.1247"></a>
+<span class="sourceLineNo">1248</span>    *<a name="line.1248"></a>
+<span class="sourceLineNo">1249</span>    * @param key The key.<a name="line.1249"></a>
+<span class="sourceLineNo">1250</span>    * @param def The default value.<a name="line.1250"></a>
+<span class="sourceLineNo">1251</span>    * @return The value, or the default value if the section or key does not exist.<a name="line.1251"></a>
+<span class="sourceLineNo">1252</span>    * @throws ParseException<a name="line.1252"></a>
+<span class="sourceLineNo">1253</span>    */<a name="line.1253"></a>
+<span class="sourceLineNo">1254</span>   public ObjectList getObjectList(String key, ObjectList def) throws ParseException {<a name="line.1254"></a>
+<span class="sourceLineNo">1255</span>      return getObjectWithDefault(key, def, ObjectList.class);<a name="line.1255"></a>
+<span class="sourceLineNo">1256</span>   }<a name="line.1256"></a>
+<span class="sourceLineNo">1257</span><a name="line.1257"></a>
+<span class="sourceLineNo">1258</span>   /**<a name="line.1258"></a>
+<span class="sourceLineNo">1259</span>    * Returns the keys of the entries in the specified section.<a name="line.1259"></a>
+<span class="sourceLineNo">1260</span>    *<a name="line.1260"></a>
+<span class="sourceLineNo">1261</span>    * @param section<a name="line.1261"></a>
+<span class="sourceLineNo">1262</span>    *    The section name to write from.<a name="line.1262"></a>
+<span class="sourceLineNo">1263</span>    *    &lt;br&gt;If empty, refers to the default section.<a name="line.1263"></a>
+<span class="sourceLineNo">1264</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1264"></a>
+<span class="sourceLineNo">1265</span>    * @return<a name="line.1265"></a>
+<span class="sourceLineNo">1266</span>    *    An unmodifiable set of keys, or an empty set if the section doesn't exist.<a name="line.1266"></a>
+<span class="sourceLineNo">1267</span>    */<a name="line.1267"></a>
+<span class="sourceLineNo">1268</span>   public Set&lt;String&gt; getKeys(String section) {<a name="line.1268"></a>
+<span class="sourceLineNo">1269</span>      return configMap.getKeys(section(section));<a name="line.1269"></a>
+<span class="sourceLineNo">1270</span>   }<a name="line.1270"></a>
+<span class="sourceLineNo">1271</span><a name="line.1271"></a>
+<span class="sourceLineNo">1272</span>   /**<a name="line.1272"></a>
+<span class="sourceLineNo">1273</span>    * Copies the entries in a section to the specified bean by calling the public setters on that bean.<a name="line.1273"></a>
+<span class="sourceLineNo">1274</span>    *<a name="line.1274"></a>
+<span class="sourceLineNo">1275</span>    * @param section<a name="line.1275"></a>
+<span class="sourceLineNo">1276</span>    *    The section name to write from.<a name="line.1276"></a>
+<span class="sourceLineNo">1277</span>    *    &lt;br&gt;If empty, refers to the default section.<a name="line.1277"></a>
+<span class="sourceLineNo">1278</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1278"></a>
+<span class="sourceLineNo">1279</span>    * @param bean The bean to set the properties on.<a name="line.1279"></a>
+<span class="sourceLineNo">1280</span>    * @param ignoreUnknownProperties<a name="line.1280"></a>
+<span class="sourceLineNo">1281</span>    *    If &lt;jk&gt;true&lt;/jk&gt;, don't throw an {@link IllegalArgumentException} if this section contains a key that doesn't<a name="line.1281"></a>
+<span class="sourceLineNo">1282</span>    *    correspond to a setter method.<a name="line.1282"></a>
+<span class="sourceLineNo">1283</span>    * @return An object map of the changes made to the bean.<a name="line.1283"></a>
+<span class="sourceLineNo">1284</span>    * @throws ParseException If parser was not set on this config file or invalid properties were found in the section.<a name="line.1284"></a>
+<span class="sourceLineNo">1285</span>    * @throws IllegalArgumentException<a name="line.1285"></a>
+<span class="sourceLineNo">1286</span>    * @throws IllegalAccessException<a name="line.1286"></a>
+<span class="sourceLineNo">1287</span>    * @throws InvocationTargetException<a name="line.1287"></a>
+<span class="sourceLineNo">1288</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1288"></a>
+<span class="sourceLineNo">1289</span>    */<a name="line.1289"></a>
+<span class="sourceLineNo">1290</span>   public Config writeProperties(String section, Object bean, boolean ignoreUnknownProperties) throws ParseException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {<a name="line.1290"></a>
+<span class="sourceLineNo">1291</span>      checkWrite();<a name="line.1291"></a>
+<span class="sourceLineNo">1292</span>      assertFieldNotNull(bean, "bean");<a name="line.1292"></a>
+<span class="sourceLineNo">1293</span>      section = section(section);<a name="line.1293"></a>
+<span class="sourceLineNo">1294</span><a name="line.1294"></a>
+<span class="sourceLineNo">1295</span>      Set&lt;String&gt; keys = configMap.getKeys(section);<a name="line.1295"></a>
+<span class="sourceLineNo">1296</span>      if (keys == null)<a name="line.1296"></a>
+<span class="sourceLineNo">1297</span>         throw new IllegalArgumentException("Section '"+section+"' not found in configuration.");<a name="line.1297"></a>
+<span class="sourceLineNo">1298</span><a name="line.1298"></a>
+<span class="sourceLineNo">1299</span>      BeanMap&lt;?&gt; bm = beanSession.toBeanMap(bean);<a name="line.1299"></a>
+<span class="sourceLineNo">1300</span>      for (String k : keys) {<a name="line.1300"></a>
+<span class="sourceLineNo">1301</span>         BeanPropertyMeta bpm = bm.getPropertyMeta(k);<a name="line.1301"></a>
+<span class="sourceLineNo">1302</span>         if (bpm == null) {<a name="line.1302"></a>
+<span class="sourceLineNo">1303</span>            if (! ignoreUnknownProperties)<a name="line.1303"></a>
+<span class="sourceLineNo">1304</span>               throw new ParseException("Unknown property ''{0}'' encountered in configuration section ''{1}''.", k, section);<a name="line.1304"></a>
+<span class="sourceLineNo">1305</span>         } else {<a name="line.1305"></a>
+<span class="sourceLineNo">1306</span>            bm.put(k, getObject(section + '/' + k, bpm.getClassMeta().getInnerClass()));<a name="line.1306"></a>
+<span class="sourceLineNo">1307</span>         }<a name="line.1307"></a>
+<span class="sourceLineNo">1308</span>      }<a name="line.1308"></a>
+<span class="sourceLineNo">1309</span><a name="line.1309"></a>
+<span class="sourceLineNo">1310</span>      return this;<a name="line.1310"></a>
+<span class="sourceLineNo">1311</span>   }<a name="line.1311"></a>
+<span class="sourceLineNo">1312</span><a name="line.1312"></a>
+<span class="sourceLineNo">1313</span>   /**<a name="line.1313"></a>
+<span class="sourceLineNo">1314</span>    * Shortcut for calling &lt;code&gt;getSectionAsBean(sectionName, c, &lt;jk&gt;false&lt;/jk&gt;)&lt;/code&gt;.<a name="line.1314"></a>
+<span class="sourceLineNo">1315</span>    *<a name="line.1315"></a>
+<span class="sourceLineNo">1316</span>    * @param section<a name="line.1316"></a>
+<span class="sourceLineNo">1317</span>    *    The section name to write from.<a name="line.1317"></a>
+<span class="sourceLineNo">1318</span>    *    &lt;br&gt;If empty, refers to the default section.<a name="line.1318"></a>
+<span class="sourceLineNo">1319</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1319"></a>
+<span class="sourceLineNo">1320</span>    * @param c The bean class to create.<a name="line.1320"></a>
+<span class="sourceLineNo">1321</span>    * @return A new bean instance.<a name="line.1321"></a>
+<span class="sourceLineNo">1322</span>    * @throws ParseException<a name="line.1322"></a>
+<span class="sourceLineNo">1323</span>    */<a name="line.1323"></a>
+<span class="sourceLineNo">1324</span>   public &lt;T&gt; T getSectionAsBean(String section, Class&lt;T&gt;c) throws ParseException {<a name="line.1324"></a>
+<span class="sourceLineNo">1325</span>      return getSectionAsBean(section, c, false);<a name="line.1325"></a>
+<span class="sourceLineNo">1326</span>   }<a name="line.1326"></a>
+<span class="sourceLineNo">1327</span><a name="line.1327"></a>
+<span class="sourceLineNo">1328</span>   /**<a name="line.1328"></a>
+<span class="sourceLineNo">1329</span>    * Converts this config file section to the specified bean instance.<a name="line.1329"></a>
+<span class="sourceLineNo">1330</span>    *<a name="line.1330"></a>
+<span class="sourceLineNo">1331</span>    * &lt;p&gt;<a name="line.1331"></a>
+<span class="sourceLineNo">1332</span>    * Key/value pairs in the config file section get copied as bean property values to the specified bean class.<a name="line.1332"></a>
+<span class="sourceLineNo">1333</span>    *<a name="line.1333"></a>
+<span class="sourceLineNo">1334</span>    * &lt;h5 class='figure'&gt;Example config file&lt;/h5&gt;<a name="line.1334"></a>
+<span class="sourceLineNo">1335</span>    * &lt;p class='bcode w800'&gt;<a name="line.1335"></a>
+<span class="sourceLineNo">1336</span>    *    &lt;cs&gt;[MyAddress]&lt;/cs&gt;<a name="line.1336"></a>
+<span class="sourceLineNo">1337</span>    *    &lt;ck&gt;name&lt;/ck&gt; = &lt;cv&gt;John Smith&lt;/cv&gt;<a name="line.1337"></a>
+<span class="sourceLineNo">1338</span>    *    &lt;ck&gt;street&lt;/ck&gt; = &lt;cv&gt;123 Main Street&lt;/cv&gt;<a name="line.1338"></a>
+<span class="sourceLineNo">1339</span>    *    &lt;ck&gt;city&lt;/ck&gt; = &lt;cv&gt;Anywhere&lt;/cv&gt;<a name="line.1339"></a>
+<span class="sourceLineNo">1340</span>    *    &lt;ck&gt;state&lt;/ck&gt; = &lt;cv&gt;NY&lt;/cv&gt;<a name="line.1340"></a>
+<span class="sourceLineNo">1341</span>    *    &lt;ck&gt;zip&lt;/ck&gt; = &lt;cv&gt;12345&lt;/cv&gt;<a name="line.1341"></a>
+<span class="sourceLineNo">1342</span>    * &lt;/p&gt;<a name="line.1342"></a>
+<span class="sourceLineNo">1343</span>    *<a name="line.1343"></a>
+<span class="sourceLineNo">1344</span>    * &lt;h5 class='figure'&gt;Example bean&lt;/h5&gt;<a name="line.1344"></a>
+<span class="sourceLineNo">1345</span>    * &lt;p class='bcode w800'&gt;<a name="line.1345"></a>
+<span class="sourceLineNo">1346</span>    *    &lt;jk&gt;public class&lt;/jk&gt; Address {<a name="line.1346"></a>
+<span class="sourceLineNo">1347</span>    *       public String name, street, city;<a name="line.1347"></a>
+<span class="sourceLineNo">1348</span>    *       public StateEnum state;<a name="line.1348"></a>
+<span class="sourceLineNo">1349</span>    *       public int zip;<a name="line.1349"></a>
+<span class="sourceLineNo">1350</span>    *    }<a name="line.1350"></a>
+<span class="sourceLineNo">1351</span>    * &lt;/p&gt;<a name="line.1351"></a>
+<span class="sourceLineNo">1352</span>    *<a name="line.1352"></a>
+<span class="sourceLineNo">1353</span>    * &lt;h5 class='figure'&gt;Example usage&lt;/h5&gt;<a name="line.1353"></a>
+<span class="sourceLineNo">1354</span>    * &lt;p class='bcode w800'&gt;<a name="line.1354"></a>
+<span class="sourceLineNo">1355</span>    *    Config cf = Config.&lt;jsm&gt;create&lt;/jsm&gt;().name(&lt;js&gt;"MyConfig.cfg"&lt;/js&gt;).build();<a name="line.1355"></a>
+<span class="sourceLineNo">1356</span>    *    Address myAddress = cf.getSectionAsBean(&lt;js&gt;"MySection"&lt;/js&gt;, Address.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1356"></a>
+<span class="sourceLineNo">1357</span>    * &lt;/p&gt;<a name="line.1357"></a>
+<span class="sourceLineNo">1358</span>    *<a name="line.1358"></a>
+<span class="sourceLineNo">1359</span>    * @param section<a name="line.1359"></a>
+<span class="sourceLineNo">1360</span>    *    The section name to write from.<a name="line.1360"></a>
+<span class="sourceLineNo">1361</span>    *    &lt;br&gt;If empty, refers to the default section.<a name="line.1361"></a>
+<span class="sourceLineNo">1362</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1362"></a>
+<span class="sourceLineNo">1363</span>    * @param c The bean class to create.<a name="line.1363"></a>
+<span class="sourceLineNo">1364</span>    * @param ignoreUnknownProperties<a name="line.1364"></a>
+<span class="sourceLineNo">1365</span>    *    If &lt;jk&gt;false&lt;/jk&gt;, throws a {@link ParseException} if the section contains an entry that isn't a bean property<a name="line.1365"></a>
+<span class="sourceLineNo">1366</span>    *    name.<a name="line.1366"></a>
+<span class="sourceLineNo">1367</span>    * @return A new bean instance, or &lt;jk&gt;null&lt;/jk&gt; if the section doesn't exist.<a name="line.1367"></a>
+<span class="sourceLineNo">1368</span>    * @throws ParseException<a name="line.1368"></a>
+<span class="sourceLineNo">1369</span>    */<a name="line.1369"></a>
+<span class="sourceLineNo">1370</span>   public &lt;T&gt; T getSectionAsBean(String section, Class&lt;T&gt; c, boolean ignoreUnknownProperties) throws ParseException {<a name="line.1370"></a>
+<span class="sourceLineNo">1371</span>      assertFieldNotNull(c, "c");<a name="line.1371"></a>
+<span class="sourceLineNo">1372</span>      section = section(section);<a name="line.1372"></a>
+<span class="sourceLineNo">1373</span><a name="line.1373"></a>
+<span class="sourceLineNo">1374</span>      if (! configMap.hasSection(section))<a name="line.1374"></a>
+<span class="sourceLineNo">1375</span>         return null;<a name="line.1375"></a>
+<span class="sourceLineNo">1376</span><a name="line.1376"></a>
+<span class="sourceLineNo">1377</span>      Set&lt;String&gt; keys = configMap.getKeys(section);<a name="line.1377"></a>
+<span class="sourceLineNo">1378</span><a name="line.1378"></a>
+<span class="sourceLineNo">1379</span>      BeanMap&lt;T&gt; bm = beanSession.newBeanMap(c);<a name="line.1379"></a>
+<span class="sourceLineNo">1380</span>      for (String k : keys) {<a name="line.1380"></a>
+<span class="sourceLineNo">1381</span>         BeanPropertyMeta bpm = bm.getPropertyMeta(k);<a name="line.1381"></a>
+<span class="sourceLineNo">1382</span>         if (bpm == null) {<a name="line.1382"></a>
+<span class="sourceLineNo">1383</span>            if (! ignoreUnknownProperties)<a name="line.1383"></a>
+<span class="sourceLineNo">1384</span>               throw new ParseException("Unknown property ''{0}'' encountered in configuration section ''{1}''.", k, section);<a name="line.1384"></a>
+<span class="sourceLineNo">1385</span>         } else {<a name="line.1385"></a>
+<span class="sourceLineNo">1386</span>            bm.put(k, getObject(section + '/' + k, bpm.getClassMeta().getInnerClass()));<a name="line.1386"></a>
+<span class="sourceLineNo">1387</span>         }<a name="line.1387"></a>
+<span class="sourceLineNo">1388</span>      }<a name="line.1388"></a>
+<span class="sourceLineNo">1389</span><a name="line.1389"></a>
+<span class="sourceLineNo">1390</span>      return bm.getBean();<a name="line.1390"></a>
+<span class="sourceLineNo">1391</span>   }<a name="line.1391"></a>
+<span class="sourceLineNo">1392</span><a name="line.1392"></a>
+<span class="sourceLineNo">1393</span>   /**<a name="line.1393"></a>
+<span class="sourceLineNo">1394</span>    * Returns a section of this config copied into an {@link ObjectMap}.<a name="line.1394"></a>
+<span class="sourceLineNo">1395</span>    *<a name="line.1395"></a>
+<span class="sourceLineNo">1396</span>    * @param section<a name="line.1396"></a>
+<span class="sourceLineNo">1397</span>    *    The section name to write from.<a name="line.1397"></a>
+<span class="sourceLineNo">1398</span>    *    &lt;br&gt;If empty, refers to the default section.<a name="line.1398"></a>
+<span class="sourceLineNo">1399</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1399"></a>
+<span class="sourceLineNo">1400</span>    * @return A new {@link ObjectMap}, or &lt;jk&gt;null&lt;/jk&gt; if the section doesn't exist.<a name="line.1400"></a>
+<span class="sourceLineNo">1401</span>    * @throws ParseException<a name="line.1401"></a>
+<span class="sourceLineNo">1402</span>    */<a name="line.1402"></a>
+<span class="sourceLineNo">1403</span>   public ObjectMap getSectionAsMap(String section) throws ParseException {<a name="line.1403"></a>
+<span class="sourceLineNo">1404</span>      section = section(section);<a name="line.1404"></a>
+<span class="sourceLineNo">1405</span><a name="line.1405"></a>
+<span class="sourceLineNo">1406</span>      if (! configMap.hasSection(section))<a name="line.1406"></a>
+<span class="sourceLineNo">1407</span>         return null;<a name="line.1407"></a>
+<span class="sourceLineNo">1408</span><a name="line.1408"></a>
+<span class="sourceLineNo">1409</span>      Set&lt;String&gt; keys = configMap.getKeys(section);<a name="line.1409"></a>
+<span class="sourceLineNo">1410</span><a name="line.1410"></a>
+<span class="sourceLineNo">1411</span>      ObjectMap om = new ObjectMap();<a name="line.1411"></a>
+<span class="sourceLineNo">1412</span>      for (String k : keys)<a name="line.1412"></a>
+<span class="sourceLineNo">1413</span>         om.put(k, getObject(section + '/' + k, Object.class));<a name="line.1413"></a>
+<span class="sourceLineNo">1414</span>      return om;<a name="line.1414"></a>
+<span class="sourceLineNo">1415</span>   }<a name="line.1415"></a>
 <span class="sourceLineNo">1416</span><a name="line.1416"></a>
-<span class="sourceLineNo">1417</span>   /**<a name="line.1417"></a>
-<span class="sourceLineNo">1418</span>    * Wraps a config file section inside a Java interface so that values in the section can be read and<a name="line.1418"></a>
-<span class="sourceLineNo">1419</span>    * write using getters and setters.<a name="line.1419"></a>
-<span class="sourceLineNo">1420</span>    *<a name="line.1420"></a>
-<span class="sourceLineNo">1421</span>    * &lt;h5 class='figure'&gt;Example config file&lt;/h5&gt;<a name="line.1421"></a>
-<span class="sourceLineNo">1422</span>    * &lt;p class='bcode w800'&gt;<a name="line.1422"></a>
-<span class="sourceLineNo">1423</span>    *    &lt;cs&gt;[MySection]&lt;/cs&gt;<a name="line.1423"></a>
-<span class="sourceLineNo">1424</span>    *    &lt;ck&gt;string&lt;/ck&gt; = &lt;cv&gt;foo&lt;/cv&gt;<a name="line.1424"></a>
-<span class="sourceLineNo">1425</span>    *    &lt;ck&gt;int&lt;/ck&gt; = &lt;cv&gt;123&lt;/cv&gt;<a name="line.1425"></a>
-<span class="sourceLineNo">1426</span>    *    &lt;ck&gt;enum&lt;/ck&gt; = &lt;cv&gt;ONE&lt;/cv&gt;<a name="line.1426"></a>
-<span class="sourceLineNo">1427</span>    *    &lt;ck&gt;bean&lt;/ck&gt; = &lt;cv&gt;{foo:'bar',baz:123}&lt;/cv&gt;<a name="line.1427"></a>
-<span class="sourceLineNo">1428</span>    *    &lt;ck&gt;int3dArray&lt;/ck&gt; = &lt;cv&gt;[[[123,null],null],null]&lt;/cv&gt;<a name="line.1428"></a>
-<span class="sourceLineNo">1429</span>    *    &lt;ck&gt;bean1d3dListMap&lt;/ck&gt; = &lt;cv&gt;{key:[[[[{foo:'bar',baz:123}]]]]}&lt;/cv&gt;<a name="line.1429"></a>
-<span class="sourceLineNo">1430</span>    * &lt;/p&gt;<a name="line.1430"></a>
-<span class="sourceLineNo">1431</span>    *<a name="line.1431"></a>
-<span class="sourceLineNo">1432</span>    * &lt;h5 class='figure'&gt;Example interface&lt;/h5&gt;<a name="line.1432"></a>
-<span class="sourceLineNo">1433</span>    * &lt;p class='bcode w800'&gt;<a name="line.1433"></a>
-<span class="sourceLineNo">1434</span>    *    &lt;jk&gt;public interface&lt;/jk&gt; MyConfigInterface {<a name="line.1434"></a>
-<span class="sourceLineNo">1435</span>    *<a name="line.1435"></a>
-<span class="sourceLineNo">1436</span>    *       String getString();<a name="line.1436"></a>
-<span class="sourceLineNo">1437</span>    *       &lt;jk&gt;void&lt;/jk&gt; setString(String x);<a name="line.1437"></a>
-<span class="sourceLineNo">1438</span>    *<a name="line.1438"></a>
-<span class="sourceLineNo">1439</span>    *       &lt;jk&gt;int&lt;/jk&gt; getInt();<a name="line.1439"></a>
-<span class="sourceLineNo">1440</span>    *       &lt;jk&gt;void&lt;/jk&gt; setInt(&lt;jk&gt;int&lt;/jk&gt; x);<a name="line.1440"></a>
-<span class="sourceLineNo">1441</span>    *<a name="line.1441"></a>
-<span class="sourceLineNo">1442</span>    *       MyEnum getEnum();<a name="line.1442"></a>
-<span class="sourceLineNo">1443</span>    *       &lt;jk&gt;void&lt;/jk&gt; setEnum(MyEnum x);<a name="line.1443"></a>
-<span class="sourceLineNo">1444</span>    *<a name="line.1444"></a>
-<span class="sourceLineNo">1445</span>    *       MyBean getBean();<a name="line.1445"></a>
-<span class="sourceLineNo">1446</span>    *       &lt;jk&gt;void&lt;/jk&gt; setBean(MyBean x);<a name="line.1446"></a>
-<span class="sourceLineNo">1447</span>    *<a name="line.1447"></a>
-<span class="sourceLineNo">1448</span>    *       &lt;jk&gt;int&lt;/jk&gt;[][][] getInt3dArray();<a name="line.1448"></a>
-<span class="sourceLineNo">1449</span>    *       &lt;jk&gt;void&lt;/jk&gt; setInt3dArray(&lt;jk&gt;int&lt;/jk&gt;[][][] x);<a name="line.1449"></a>
-<span class="sourceLineNo">1450</span>    *<a name="line.1450"></a>
-<span class="sourceLineNo">1451</span>    *       Map&amp;lt;String,List&amp;lt;MyBean[][][]&amp;gt;&amp;gt; getBean1d3dListMap();<a name="line.1451"></a>
-<span class="sourceLineNo">1452</span>    *       &lt;jk&gt;void&lt;/jk&gt; setBean1d3dListMap(Map&amp;lt;String,List&amp;lt;MyBean[][][]&amp;gt;&amp;gt; x);<a name="line.1452"></a>
-<span class="sourceLineNo">1453</span>    *    }<a name="line.1453"></a>
-<span class="sourceLineNo">1454</span>    * &lt;/p&gt;<a name="line.1454"></a>
-<span class="sourceLineNo">1455</span>    *<a name="line.1455"></a>
-<span class="sourceLineNo">1456</span>    * &lt;h5 class='figure'&gt;Example usage&lt;/h5&gt;<a name="line.1456"></a>
-<span class="sourceLineNo">1457</span>    * &lt;p class='bcode w800'&gt;<a name="line.1457"></a>
-<span class="sourceLineNo">1458</span>    *    Config cf = Config.&lt;jsm&gt;create&lt;/jsm&gt;().name(&lt;js&gt;"MyConfig.cfg"&lt;/js&gt;).build();<a name="line.1458"></a>
-<span class="sourceLineNo">1459</span>    *<a name="line.1459"></a>
-<span class="sourceLineNo">1460</span>    *    MyConfigInterface ci = cf.getSectionAsInterface(&lt;js&gt;"MySection"&lt;/js&gt;, MyConfigInterface.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1460"></a>
-<span class="sourceLineNo">1461</span>    *<a name="line.1461"></a>
-<span class="sourceLineNo">1462</span>    *    &lt;jk&gt;int&lt;/jk&gt; myInt = ci.getInt();<a name="line.1462"></a>
-<span class="sourceLineNo">1463</span>    *<a name="line.1463"></a>
-<span class="sourceLineNo">1464</span>    *    ci.setBean(&lt;jk&gt;new&lt;/jk&gt; MyBean());<a name="line.1464"></a>
-<span class="sourceLineNo">1465</span>    *<a name="line.1465"></a>
-<span class="sourceLineNo">1466</span>    *    cf.save();<a name="line.1466"></a>
-<span class="sourceLineNo">1467</span>    * &lt;/p&gt;<a name="line.1467"></a>
-<span class="sourceLineNo">1468</span>    *<a name="line.1468"></a>
-<span class="sourceLineNo">1469</span>    * &lt;h5 class='notes'&gt;<a name="line.1469"></a>
-<span class="sourceLineNo">1470</span>    * &lt;ul class='spaced-list'&gt;<a name="line.1470"></a>
-<span class="sourceLineNo">1471</span>    *    &lt;li&gt;Calls to setters when the configuration is read-only will cause {@link UnsupportedOperationException} to be thrown.<a name="line.1471"></a>
-<span class="sourceLineNo">1472</span>    * &lt;/ul&gt;<a name="line.1472"></a>
-<span class="sourceLineNo">1473</span>    *<a name="line.1473"></a>
-<span class="sourceLineNo">1474</span>    * @param section<a name="line.1474"></a>
-<span class="sourceLineNo">1475</span>    *    The section name to write from.<a name="line.1475"></a>
-<span class="sourceLineNo">1476</span>    *    &lt;br&gt;If empty, refers to the default section.<a name="line.1476"></a>
-<span class="sourceLineNo">1477</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1477"></a>
-<span class="sourceLineNo">1478</span>    * @param c The proxy interface class.<a name="line.1478"></a>
-<span class="sourceLineNo">1479</span>    * @return The proxy interface.<a name="line.1479"></a>
-<span class="sourceLineNo">1480</span>    */<a name="line.1480"></a>
-<span class="sourceLineNo">1481</span>   @SuppressWarnings("unchecked")<a name="line.1481"></a>
-<span class="sourceLineNo">1482</span>   public &lt;T&gt; T getSectionAsInterface(String section, final Class&lt;T&gt; c) {<a name="line.1482"></a>
-<span class="sourceLineNo">1483</span>      assertFieldNotNull(c, "c");<a name="line.1483"></a>
-<span class="sourceLineNo">1484</span>      final String section2 = section(section);<a name="line.1484"></a>
-<span class="sourceLineNo">1485</span><a name="line.1485"></a>
-<span class="sourceLineNo">1486</span>      if (! c.isInterface())<a name="line.1486"></a>
-<span class="sourceLineNo">1487</span>         throw new IllegalArgumentException("Class '"+c.getName()+"' passed to getSectionAsInterface() is not an interface.");<a name="line.1487"></a>
-<span class="sourceLineNo">1488</span><a name="line.1488"></a>
-<span class="sourceLineNo">1489</span>      InvocationHandler h = new InvocationHandler() {<a name="line.1489"></a>
-<span class="sourceLineNo">1490</span><a name="line.1490"></a>
-<span class="sourceLineNo">1491</span>         @Override<a name="line.1491"></a>
-<span class="sourceLineNo">1492</span>         public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {<a name="line.1492"></a>
-<span class="sourceLineNo">1493</span>            BeanInfo bi = Introspector.getBeanInfo(c, null);<a name="line.1493"></a>
-<span class="sourceLineNo">1494</span>            for (PropertyDescriptor pd : bi.getPropertyDescriptors()) {<a name="line.1494"></a>
-<span class="sourceLineNo">1495</span>               Method rm = pd.getReadMethod(), wm = pd.getWriteMethod();<a name="line.1495"></a>
-<span class="sourceLineNo">1496</span>               if (method.equals(rm))<a name="line.1496"></a>
-<span class="sourceLineNo">1497</span>                  return Config.this.getObject(section2 + '/' + pd.getName(), rm.getGenericReturnType());<a name="line.1497"></a>
-<span class="sourceLineNo">1498</span>               if (method.equals(wm))<a name="line.1498"></a>
-<span class="sourceLineNo">1499</span>                  return Config.this.set(section2 + '/' + pd.getName(), args[0]);<a name="line.1499"></a>
-<span class="sourceLineNo">1500</span>            }<a name="line.1500"></a>
-<span class="sourceLineNo">1501</span>            throw new UnsupportedOperationException("Unsupported interface method.  method='" + method + "'");<a name="line.1501"></a>
-<span class="sourceLineNo">1502</span>         }<a name="line.1502"></a>
-<span class="sourceLineNo">1503</span>      };<a name="line.1503"></a>
-<span class="sourceLineNo">1504</span><a name="line.1504"></a>
-<span class="sourceLineNo">1505</span>      return (T)Proxy.newProxyInstance(c.getClassLoader(), new Class[] { c }, h);<a name="line.1505"></a>
-<span class="sourceLineNo">1506</span>   }<a name="line.1506"></a>
-<span class="sourceLineNo">1507</span><a name="line.1507"></a>
-<span class="sourceLineNo">1508</span>   /**<a name="line.1508"></a>
-<span class="sourceLineNo">1509</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if this section contains the specified key and the key has a non-blank value.<a name="line.1509"></a>
-<span class="sourceLineNo">1510</span>    *<a name="line.1510"></a>
-<span class="sourceLineNo">1511</span>    * @param key The key.<a name="line.1511"></a>
-<span class="sourceLineNo">1512</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if this section contains the specified key and the key has a non-blank value.<a name="line.1512"></a>
-<span class="sourceLineNo">1513</span>    */<a name="line.1513"></a>
-<span class="sourceLineNo">1514</span>   public boolean exists(String key) {<a name="line.1514"></a>
-<span class="sourceLineNo">1515</span>      return isNotEmpty(getString(key, null));<a name="line.1515"></a>
-<span class="sourceLineNo">1516</span>   }<a name="line.1516"></a>
-<span class="sourceLineNo">1517</span><a name="line.1517"></a>
-<span class="sourceLineNo">1518</span>   /**<a name="line.1518"></a>
-<span class="sourceLineNo">1519</span>    * Creates the specified section if it doesn't exist.<a name="line.1519"></a>
-<span class="sourceLineNo">1520</span>    *<a name="line.1520"></a>
-<span class="sourceLineNo">1521</span>    * &lt;p&gt;<a name="line.1521"></a>
-<span class="sourceLineNo">1522</span>    * Returns the existing section if it already exists.<a name="line.1522"></a>
-<span class="sourceLineNo">1523</span>    *<a name="line.1523"></a>
-<span class="sourceLineNo">1524</span>    * @param name<a name="line.1524"></a>
-<span class="sourceLineNo">1525</span>    *    The section name.<a name="line.1525"></a>
-<span class="sourceLineNo">1526</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1526"></a>
-<span class="sourceLineNo">1527</span>    *    &lt;br&gt;Use blank for the default section.<a name="line.1527"></a>
-<span class="sourceLineNo">1528</span>    * @param preLines<a name="line.1528"></a>
-<span class="sourceLineNo">1529</span>    *    Optional comment and blank lines to add immediately before the section.<a name="line.1529"></a>
-<span class="sourceLineNo">1530</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, previous pre-lines will not be replaced.<a name="line.1530"></a>
-<span class="sourceLineNo">1531</span>    * @return The appended or existing section.<a name="line.1531"></a>
-<span class="sourceLineNo">1532</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1532"></a>
-<span class="sourceLineNo">1533</span>    */<a name="line.1533"></a>
-<span class="sourceLineNo">1534</span>   public Config setSection(String name, List&lt;String&gt; preLines) {<a name="line.1534"></a>
-<span class="sourceLineNo">1535</span>      try {<a name="line.1535"></a>
-<span class="sourceLineNo">1536</span>         return setSection(section(name), preLines, null);<a name="line.1536"></a>
-<span class="sourceLineNo">1537</span>      } catch (SerializeException e) {<a name="line.1537"></a>
-<span class="sourceLineNo">1538</span>         throw new RuntimeException(e);  // Impossible.<a name="line.1538"></a>
-<span class="sourceLineNo">1539</span>      }<a name="line.1539"></a>
-<span class="sourceLineNo">1540</span>   }<a name="line.1540"></a>
-<span class="sourceLineNo">1541</span><a name="line.1541"></a>
-<span class="sourceLineNo">1542</span>   /**<a name="line.1542"></a>
-<span class="sourceLineNo">1543</span>    * Creates the specified section if it doesn't exist.<a name="line.1543"></a>
-<span class="sourceLineNo">1544</span>    *<a name="line.1544"></a>
-<span class="sourceLineNo">1545</span>    * @param name<a name="line.1545"></a>
-<span class="sourceLineNo">1546</span>    *    The section name.<a name="line.1546"></a>
-<span class="sourceLineNo">1547</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1547"></a>
-<span class="sourceLineNo">1548</span>    *    &lt;br&gt;Use blank for the default section.<a name="line.1548"></a>
-<span class="sourceLineNo">1549</span>    * @param preLines<a name="line.1549"></a>
-<span class="sourceLineNo">1550</span>    *    Optional comment and blank lines to add immediately before the section.<a name="line.1550"></a>
-<span class="sourceLineNo">1551</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, previous pre-lines will not be replaced.<a name="line.1551"></a>
-<span class="sourceLineNo">1552</span>    * @param contents<a name="line.1552"></a>
-<span class="sourceLineNo">1553</span>    *    Values to set in the new section.<a name="line.1553"></a>
-<span class="sourceLineNo">1554</span>    *    &lt;br&gt;Can be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1554"></a>
-<span class="sourceLineNo">1555</span>    * @return The appended or existing section.<a name="line.1555"></a>
-<span class="sourceLineNo">1556</span>    * @throws SerializeException<a name="line.1556"></a>
-<span class="sourceLineNo">1557</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1557"></a>
-<span class="sourceLineNo">1558</span>    */<a name="line.1558"></a>
-<span class="sourceLineNo">1559</span>   public Config setSection(String name, List&lt;String&gt; preLines, Map&lt;String,Object&gt; contents) throws SerializeException {<a name="line.1559"></a>
-<span class="sourceLineNo">1560</span>      checkWrite();<a name="line.1560"></a>
-<span class="sourceLineNo">1561</span>      configMap.setSection(section(name), preLines);<a name="line.1561"></a>
-<span class="sourceLineNo">1562</span><a name="line.1562"></a>
-<span class="sourceLineNo">1563</span>      if (contents != null)<a name="line.1563"></a>
-<span class="sourceLineNo">1564</span>         for (Map.Entry&lt;String,Object&gt; e : contents.entrySet())<a name="line.1564"></a>
-<span class="sourceLineNo">1565</span>            set(section(name) + '/' + e.getKey(), e.getValue());<a name="line.1565"></a>
-<span class="sourceLineNo">1566</span><a name="line.1566"></a>
-<span class="sourceLineNo">1567</span>      return this;<a name="line.1567"></a>
-<span class="sourceLineNo">1568</span>   }<a name="line.1568"></a>
-<span class="sourceLineNo">1569</span><a name="line.1569"></a>
-<span class="sourceLineNo">1570</span>   /**<a name="line.1570"></a>
-<span class="sourceLineNo">1571</span>    * Removes the section with the specified name.<a name="line.1571"></a>
-<span class="sourceLineNo">1572</span>    *<a name="line.1572"></a>
-<span class="sourceLineNo">1573</span>    * @param name The name of the section to remove<a name="line.1573"></a>
-<span class="sourceLineNo">1574</span>    * @return This object (for method chaining).<a name="line.1574"></a>
-<span class="sourceLineNo">1575</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1575"></a>
-<span class="sourceLineNo">1576</span>    */<a name="line.1576"></a>
-<span class="sourceLineNo">1577</span>   public Config removeSection(String name) {<a name="line.1577"></a>
-<span class="sourceLineNo">1578</span>      checkWrite();<a name="line.1578"></a>
-<span class="sourceLineNo">1579</span>      configMap.removeSection(name);<a name="line.1579"></a>
-<span class="sourceLineNo">1580</span>      return this;<a name="line.1580"></a>
-<span class="sourceLineNo">1581</span>   }<a name="line.1581"></a>
-<span class="sourceLineNo">1582</span><a name="line.1582"></a>
-<span class="sourceLineNo">1583</span>   /**<a name="line.1583"></a>
-<span class="sourceLineNo">1584</span>    * Loads the contents of the specified map of maps into this config.<a name="line.1584"></a>
-<span class="sourceLineNo">1585</span>    *<a name="line.1585"></a>
-<span class="sourceLineNo">1586</span>    * @param m The maps to load.<a name="line.1586"></a>
-<span class="sourceLineNo">1587</span>    * @return This object (for method chaining).<a name="line.1587"></a>
-<span class="sourceLineNo">1588</span>    * @throws SerializeException<a name="line.1588"></a>
-<span class="sourceLineNo">1589</span>    */<a name="line.1589"></a>
-<span class="sourceLineNo">1590</span>   public Config load(Map&lt;String,Map&lt;String,Object&gt;&gt; m) throws SerializeException {<a name="line.1590"></a>
-<span class="sourceLineNo">1591</span>      if (m != null)<a name="line.1591"></a>
-<span class="sourceLineNo">1592</span>         for (Map.Entry&lt;String,Map&lt;String,Object&gt;&gt; e : m.entrySet()) {<a name="line.1592"></a>
-<span class="sourceLineNo">1593</span>            setSection(e.getKey(), null, e.getValue());<a name="line.1593"></a>
-<span class="sourceLineNo">1594</span>         }<a name="line.1594"></a>
-<span class="sourceLineNo">1595</span>      return this;<a name="line.1595"></a>
-<span class="sourceLineNo">1596</span>   }<a name="line.1596"></a>
-<span class="sourceLineNo">1597</span><a name="line.1597"></a>
-<span class="sourceLineNo">1598</span>   /**<a name="line.1598"></a>
-<span class="sourceLineNo">1599</span>    * Commit the changes in this config to the store.<a name="line.1599"></a>
-<span class="sourceLineNo">1600</span>    *<a name="line.1600"></a>
-<span class="sourceLineNo">1601</span>    * @return This object (for method chaining).<a name="line.1601"></a>
-<span class="sourceLineNo">1602</span>    * @throws IOException<a name="line.1602"></a>
-<span class="sourceLineNo">1603</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1603"></a>
-<span class="sourceLineNo">1604</span>    */<a name="line.1604"></a>
-<span class="sourceLineNo">1605</span>   public Config commit() throws IOException {<a name="line.1605"></a>
-<span class="sourceLineNo">1606</span>      checkWrite();<a name="line.1606"></a>
-<span class="sourceLineNo">1607</span>      configMap.commit();<a name="line.1607"></a>
-<span class="sourceLineNo">1608</span>      return this;<a name="line.1608"></a>
-<span class="sourceLineNo">1609</span>   }<a name="line.1609"></a>
-<span class="sourceLineNo">1610</span><a name="line.1610"></a>
-<span class="sourceLineNo">1611</span>   /**<a name="line.1611"></a>
-<span class="sourceLineNo">1612</span>    * Saves this config file to the specified writer as an INI file.<a name="line.1612"></a>
-<span class="sourceLineNo">1613</span>    *<a name="line.1613"></a>
-<span class="sourceLineNo">1614</span>    * &lt;p&gt;<a name="line.1614"></a>
-<span class="sourceLineNo">1615</span>    * The writer will automatically be closed.<a name="line.1615"></a>
-<span class="sourceLineNo">1616</span>    *<a name="line.1616"></a>
-<span class="sourceLineNo">1617</span>    * @param w The writer to send the output to.<a name="line.1617"></a>
-<span class="sourceLineNo">1618</span>    * @return This object (for method chaining).<a name="line.1618"></a>
-<span class="sourceLineNo">1619</span>    * @throws IOException If a problem occurred trying to send contents to the writer.<a name="line.1619"></a>
-<span class="sourceLineNo">1620</span>    */<a name="line.1620"></a>
-<span class="sourceLineNo">1621</span>   @Override /* Writable */<a name="line.1621"></a>
-<span class="sourceLineNo">1622</span>   public Writer writeTo(Writer w) throws IOException {<a name="line.1622"></a>
-<span class="sourceLineNo">1623</span>      return configMap.writeTo(w);<a name="line.1623"></a>
-<span class="sourceLineNo">1624</span>   }<a name="line.1624"></a>
-<span class="sourceLineNo">1625</span><a name="line.1625"></a>
-<span class="sourceLineNo">1626</span>   /**<a name="line.1626"></a>
-<span class="sourceLineNo">1627</span>    * Add a listener to this config to react to modification events.<a name="line.1627"></a>
-<span class="sourceLineNo">1628</span>    *<a name="line.1628"></a>
-<span class="sourceLineNo">1629</span>    * &lt;p&gt;<a name="line.1629"></a>
-<span class="sourceLineNo">1630</span>    * Listeners should be removed using {@link #removeListener(ConfigEventListener)}.<a name="line.1630"></a>
-<span class="sourceLineNo">1631</span>    *<a name="line.1631"></a>
-<span class="sourceLineNo">1632</span>    * @param listener The new listener to add.<a name="line.1632"></a>
-<span class="sourceLineNo">1633</span>    * @return This object (for method chaining).<a name="line.1633"></a>
-<span class="sourceLineNo">1634</span>    */<a name="line.1634"></a>
-<span class="sourceLineNo">1635</span>   public Config addListener(ConfigEventListener listener) {<a name="line.1635"></a>
-<span class="sourceLineNo">1636</span>      listeners.add(listener);<a name="line.1636"></a>
-<span class="sourceLineNo">1637</span>      return this;<a name="line.1637"></a>
-<span class="sourceLineNo">1638</span>   }<a name="line.1638"></a>
-<span class="sourceLineNo">1639</span><a name="line.1639"></a>
-<span class="sourceLineNo">1640</span>   /**<a name="line.1640"></a>
-<span class="sourceLineNo">1641</span>    * Removes a listener from this config.<a name="line.1641"></a>
-<span class="sourceLineNo">1642</span>    *<a name="line.1642"></a>
-<span class="sourceLineNo">1643</span>    * @param listener The listener to remove.<a name="line.1643"></a>
-<span class="sourceLineNo">1644</span>    * @return This object (for method chaining).<a name="line.1644"></a>
-<span class="sourceLineNo">1645</span>    */<a name="line.1645"></a>
-<span class="sourceLineNo">1646</span>   public Config removeListener(ConfigEventListener listener) {<a name="line.1646"></a>
-<span class="sourceLineNo">1647</span>      listeners.remove(listener);<a name="line.1647"></a>
-<span class="sourceLineNo">1648</span>      return this;<a name="line.1648"></a>
-<span class="sourceLineNo">1649</span>   }<a name="line.1649"></a>
-<span class="sourceLineNo">1650</span><a name="line.1650"></a>
-<span class="sourceLineNo">1651</span>   /**<a name="line.1651"></a>
-<span class="sourceLineNo">1652</span>    * Closes this configuration object by unregistering it from the underlying config map.<a name="line.1652"></a>
-<span class="sourceLineNo">1653</span>    *<a name="line.1653"></a>
-<span class="sourceLineNo">1654</span>    * @throws IOException<a name="line.1654"></a>
-<span class="sourceLineNo">1655</span>    */<a name="line.1655"></a>
-<span class="sourceLineNo">1656</span>   public void close() throws IOException {<a name="line.1656"></a>
-<span class="sourceLineNo">1657</span>      configMap.unregister(this);<a name="line.1657"></a>
-<span class="sourceLineNo">1658</span>   }<a name="line.1658"></a>
-<span class="sourceLineNo">1659</span><a name="line.1659"></a>
-<span class="sourceLineNo">1660</span>   /**<a name="line.1660"></a>
-<span class="sourceLineNo">1661</span>    * Overwrites the contents of the config file.<a name="line.1661"></a>
-<span class="sourceLineNo">1662</span>    *<a name="line.1662"></a>
-<span class="sourceLineNo">1663</span>    * @param contents The new contents of the config file.<a name="line.1663"></a>
-<span class="sourceLineNo">1664</span>    * @param synchronous Wait until the change has been persisted before returning this map.<a name="line.1664"></a>
-<span class="sourceLineNo">1665</span>    * @return This object (for method chaining).<a name="line.1665"></a>
-<span class="sourceLineNo">1666</span>    * @throws IOException<a name="line.1666"></a>
-<span class="sourceLineNo">1667</span>    * @throws InterruptedException<a name="line.1667"></a>
-<span class="sourceLineNo">1668</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1668"></a>
-<span class="sourceLineNo">1669</span>    */<a name="line.1669"></a>
-<span class="sourceLineNo">1670</span>   public Config load(Reader contents, boolean synchronous) throws IOException, InterruptedException {<a name="line.1670"></a>
-<span class="sourceLineNo">1671</span>      checkWrite();<a name="line.1671"></a>
-<span class="sourceLineNo">1672</span>      configMap.load(IOUtils.read(contents), synchronous);<a name="line.1672"></a>
-<span class="sourceLineNo">1673</span>      return this;<a name="line.1673"></a>
-<span class="sourceLineNo">1674</span>   }<a name="line.1674"></a>
-<span class="sourceLineNo">1675</span><a name="line.1675"></a>
-<span class="sourceLineNo">1676</span>   /**<a name="line.1676"></a>
-<span class="sourceLineNo">1677</span>    * Overwrites the contents of the config file.<a name="line.1677"></a>
-<span class="sourceLineNo">1678</span>    *<a name="line.1678"></a>
-<span class="sourceLineNo">1679</span>    * @param contents The new contents of the config file.<a name="line.1679"></a>
-<span class="sourceLineNo">1680</span>    * @param synchronous Wait until the change has been persisted before returning this map.<a name="line.1680"></a>
-<span class="sourceLineNo">1681</span>    * @return This object (for method chaining).<a name="line.1681"></a>
-<span class="sourceLineNo">1682</span>    * @throws IOException<a name="line.1682"></a>
-<span class="sourceLineNo">1683</span>    * @throws InterruptedException<a name="line.1683"></a>
-<span class="sourceLineNo">1684</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1684"></a>
-<span class="sourceLineNo">1685</span>    */<a name="line.1685"></a>
-<span class="sourceLineNo">1686</span>   public Config load(String contents, boolean synchronous) throws IOException, InterruptedException {<a name="line.1686"></a>
-<span class="sourceLineNo">1687</span>      checkWrite();<a name="line.1687"></a>
-<span class="sourceLineNo">1688</span>      configMap.load(contents, synchronous);<a name="line.1688"></a>
-<span class="sourceLineNo">1689</span>      return this;<a name="line.1689"></a>
-<span class="sourceLineNo">1690</span>   }<a name="line.1690"></a>
-<span class="sourceLineNo">1691</span><a name="line.1691"></a>
-<span class="sourceLineNo">1692</span>   /**<a name="line.1692"></a>
-<span class="sourceLineNo">1693</span>    * Does a rollback of any changes on this config currently in memory.<a name="line.1693"></a>
-<span class="sourceLineNo">1694</span>    *<a name="line.1694"></a>
-<span class="sourceLineNo">1695</span>    * @return This object (for method chaining).<a name="line.1695"></a>
-<span class="sourceLineNo">1696</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1696"></a>
-<span class="sourceLineNo">1697</span>    */<a name="line.1697"></a>
-<span class="sourceLineNo">1698</span>   public Config rollback() {<a name="line.1698"></a>
-<span class="sourceLineNo">1699</span>      checkWrite();<a name="line.1699"></a>
-<span class="sourceLineNo">1700</span>      configMap.rollback();<a name="line.1700"></a>
-<span class="sourceLineNo">1701</span>      return this;<a name="line.1701"></a>
-<span class="sourceLineNo">1702</span>   }<a name="line.1702"></a>
-<span class="sourceLineNo">1703</span><a name="line.1703"></a>
-<span class="sourceLineNo">1704</span>   /**<a name="line.1704"></a>
-<span class="sourceLineNo">1705</span>    * Returns the values in this config map as a map of maps.<a name="line.1705"></a>
-<span class="sourceLineNo">1706</span>    *<a name="line.1706"></a>
-<span class="sourceLineNo">1707</span>    * &lt;p&gt;<a name="line.1707"></a>
-<span class="sourceLineNo">1708</span>    * This is considered a snapshot copy of the config map.<a name="line.1708"></a>
-<span class="sourceLineNo">1709</span>    *<a name="line.1709"></a>
-<span class="sourceLineNo">1710</span>    * &lt;p&gt;<a name="line.1710"></a>
-<span class="sourceLineNo">1711</span>    * The returned map is modifiable, but modifications to the returned map are not reflected in the config map.<a name="line.1711"></a>
-<span class="sourceLineNo">1712</span>    *<a name="line.1712"></a>
-<span class="sourceLineNo">1713</span>    * @return A copy of this config as a map of maps.<a name="line.1713"></a>
-<span class="sourceLineNo">1714</span>    */<a name="line.1714"></a>
-<span class="sourceLineNo">1715</span>   @Override /* Context */<a name="line.1715"></a>
-<span class="sourceLineNo">1716</span>   public ObjectMap asMap() {<a name="line.1716"></a>
-<span class="sourceLineNo">1717</span>      return configMap.asMap();<a name="line.1717"></a>
-<span class="sourceLineNo">1718</span>   }<a name="line.1718"></a>
-<span class="sourceLineNo">1719</span><a name="line.1719"></a>
+<span class="sourceLineNo">1417</span><a name="line.1417"></a>
+<span class="sourceLineNo">1418</span>   /**<a name="line.1418"></a>
+<span class="sourceLineNo">1419</span>    * Wraps a config file section inside a Java interface so that values in the section can be read and<a name="line.1419"></a>
+<span class="sourceLineNo">1420</span>    * write using getters and setters.<a name="line.1420"></a>
+<span class="sourceLineNo">1421</span>    *<a name="line.1421"></a>
+<span class="sourceLineNo">1422</span>    * &lt;h5 class='figure'&gt;Example config file&lt;/h5&gt;<a name="line.1422"></a>
+<span class="sourceLineNo">1423</span>    * &lt;p class='bcode w800'&gt;<a name="line.1423"></a>
+<span class="sourceLineNo">1424</span>    *    &lt;cs&gt;[MySection]&lt;/cs&gt;<a name="line.1424"></a>
+<span class="sourceLineNo">1425</span>    *    &lt;ck&gt;string&lt;/ck&gt; = &lt;cv&gt;foo&lt;/cv&gt;<a name="line.1425"></a>
+<span class="sourceLineNo">1426</span>    *    &lt;ck&gt;int&lt;/ck&gt; = &lt;cv&gt;123&lt;/cv&gt;<a name="line.1426"></a>
+<span class="sourceLineNo">1427</span>    *    &lt;ck&gt;enum&lt;/ck&gt; = &lt;cv&gt;ONE&lt;/cv&gt;<a name="line.1427"></a>
+<span class="sourceLineNo">1428</span>    *    &lt;ck&gt;bean&lt;/ck&gt; = &lt;cv&gt;{foo:'bar',baz:123}&lt;/cv&gt;<a name="line.1428"></a>
+<span class="sourceLineNo">1429</span>    *    &lt;ck&gt;int3dArray&lt;/ck&gt; = &lt;cv&gt;[[[123,null],null],null]&lt;/cv&gt;<a name="line.1429"></a>
+<span class="sourceLineNo">1430</span>    *    &lt;ck&gt;bean1d3dListMap&lt;/ck&gt; = &lt;cv&gt;{key:[[[[{foo:'bar',baz:123}]]]]}&lt;/cv&gt;<a name="line.1430"></a>
+<span class="sourceLineNo">1431</span>    * &lt;/p&gt;<a name="line.1431"></a>
+<span class="sourceLineNo">1432</span>    *<a name="line.1432"></a>
+<span class="sourceLineNo">1433</span>    * &lt;h5 class='figure'&gt;Example interface&lt;/h5&gt;<a name="line.1433"></a>
+<span class="sourceLineNo">1434</span>    * &lt;p class='bcode w800'&gt;<a name="line.1434"></a>
+<span class="sourceLineNo">1435</span>    *    &lt;jk&gt;public interface&lt;/jk&gt; MyConfigInterface {<a name="line.1435"></a>
+<span class="sourceLineNo">1436</span>    *<a name="line.1436"></a>
+<span class="sourceLineNo">1437</span>    *       String getString();<a name="line.1437"></a>
+<span class="sourceLineNo">1438</span>    *       &lt;jk&gt;void&lt;/jk&gt; setString(String x);<a name="line.1438"></a>
+<span class="sourceLineNo">1439</span>    *<a name="line.1439"></a>
+<span class="sourceLineNo">1440</span>    *       &lt;jk&gt;int&lt;/jk&gt; getInt();<a name="line.1440"></a>
+<span class="sourceLineNo">1441</span>    *       &lt;jk&gt;void&lt;/jk&gt; setInt(&lt;jk&gt;int&lt;/jk&gt; x);<a name="line.1441"></a>
+<span class="sourceLineNo">1442</span>    *<a name="line.1442"></a>
+<span class="sourceLineNo">1443</span>    *       MyEnum getEnum();<a name="line.1443"></a>
+<span class="sourceLineNo">1444</span>    *       &lt;jk&gt;void&lt;/jk&gt; setEnum(MyEnum x);<a name="line.1444"></a>
+<span class="sourceLineNo">1445</span>    *<a name="line.1445"></a>
+<span class="sourceLineNo">1446</span>    *       MyBean getBean();<a name="line.1446"></a>
+<span class="sourceLineNo">1447</span>    *       &lt;jk&gt;void&lt;/jk&gt; setBean(MyBean x);<a name="line.1447"></a>
+<span class="sourceLineNo">1448</span>    *<a name="line.1448"></a>
+<span class="sourceLineNo">1449</span>    *       &lt;jk&gt;int&lt;/jk&gt;[][][] getInt3dArray();<a name="line.1449"></a>
+<span class="sourceLineNo">1450</span>    *       &lt;jk&gt;void&lt;/jk&gt; setInt3dArray(&lt;jk&gt;int&lt;/jk&gt;[][][] x);<a name="line.1450"></a>
+<span class="sourceLineNo">1451</span>    *<a name="line.1451"></a>
+<span class="sourceLineNo">1452</span>    *       Map&amp;lt;String,List&amp;lt;MyBean[][][]&amp;gt;&amp;gt; getBean1d3dListMap();<a name="line.1452"></a>
+<span class="sourceLineNo">1453</span>    *       &lt;jk&gt;void&lt;/jk&gt; setBean1d3dListMap(Map&amp;lt;String,List&amp;lt;MyBean[][][]&amp;gt;&amp;gt; x);<a name="line.1453"></a>
+<span class="sourceLineNo">1454</span>    *    }<a name="line.1454"></a>
+<span class="sourceLineNo">1455</span>    * &lt;/p&gt;<a name="line.1455"></a>
+<span class="sourceLineNo">1456</span>    *<a name="line.1456"></a>
+<span class="sourceLineNo">1457</span>    * &lt;h5 class='figure'&gt;Example usage&lt;/h5&gt;<a name="line.1457"></a>
+<span class="sourceLineNo">1458</span>    * &lt;p class='bcode w800'&gt;<a name="line.1458"></a>
+<span class="sourceLineNo">1459</span>    *    Config cf = Config.&lt;jsm&gt;create&lt;/jsm&gt;().name(&lt;js&gt;"MyConfig.cfg"&lt;/js&gt;).build();<a name="line.1459"></a>
+<span class="sourceLineNo">1460</span>    *<a name="line.1460"></a>
+<span class="sourceLineNo">1461</span>    *    MyConfigInterface ci = cf.getSectionAsInterface(&lt;js&gt;"MySection"&lt;/js&gt;, MyConfigInterface.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.1461"></a>
+<span class="sourceLineNo">1462</span>    *<a name="line.1462"></a>
+<span class="sourceLineNo">1463</span>    *    &lt;jk&gt;int&lt;/jk&gt; myInt = ci.getInt();<a name="line.1463"></a>
+<span class="sourceLineNo">1464</span>    *<a name="line.1464"></a>
+<span class="sourceLineNo">1465</span>    *    ci.setBean(&lt;jk&gt;new&lt;/jk&gt; MyBean());<a name="line.1465"></a>
+<span class="sourceLineNo">1466</span>    *<a name="line.1466"></a>
+<span class="sourceLineNo">1467</span>    *    cf.save();<a name="line.1467"></a>
+<span class="sourceLineNo">1468</span>    * &lt;/p&gt;<a name="line.1468"></a>
+<span class="sourceLineNo">1469</span>    *<a name="line.1469"></a>
+<span class="sourceLineNo">1470</span>    * &lt;h5 class='notes'&gt;<a name="line.1470"></a>
+<span class="sourceLineNo">1471</span>    * &lt;ul class='spaced-list'&gt;<a name="line.1471"></a>
+<span class="sourceLineNo">1472</span>    *    &lt;li&gt;Calls to setters when the configuration is read-only will cause {@link UnsupportedOperationException} to be thrown.<a name="line.1472"></a>
+<span class="sourceLineNo">1473</span>    * &lt;/ul&gt;<a name="line.1473"></a>
+<span class="sourceLineNo">1474</span>    *<a name="line.1474"></a>
+<span class="sourceLineNo">1475</span>    * @param section<a name="line.1475"></a>
+<span class="sourceLineNo">1476</span>    *    The section name to write from.<a name="line.1476"></a>
+<span class="sourceLineNo">1477</span>    *    &lt;br&gt;If empty, refers to the default section.<a name="line.1477"></a>
+<span class="sourceLineNo">1478</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1478"></a>
+<span class="sourceLineNo">1479</span>    * @param c The proxy interface class.<a name="line.1479"></a>
+<span class="sourceLineNo">1480</span>    * @return The proxy interface.<a name="line.1480"></a>
+<span class="sourceLineNo">1481</span>    */<a name="line.1481"></a>
+<span class="sourceLineNo">1482</span>   @SuppressWarnings("unchecked")<a name="line.1482"></a>
+<span class="sourceLineNo">1483</span>   public &lt;T&gt; T getSectionAsInterface(String section, final Class&lt;T&gt; c) {<a name="line.1483"></a>
+<span class="sourceLineNo">1484</span>      assertFieldNotNull(c, "c");<a name="line.1484"></a>
+<span class="sourceLineNo">1485</span>      final String section2 = section(section);<a name="line.1485"></a>
+<span class="sourceLineNo">1486</span><a name="line.1486"></a>
+<span class="sourceLineNo">1487</span>      if (! c.isInterface())<a name="line.1487"></a>
+<span class="sourceLineNo">1488</span>         throw new IllegalArgumentException("Class '"+c.getName()+"' passed to getSectionAsInterface() is not an interface.");<a name="line.1488"></a>
+<span class="sourceLineNo">1489</span><a name="line.1489"></a>
+<span class="sourceLineNo">1490</span>      InvocationHandler h = new InvocationHandler() {<a name="line.1490"></a>
+<span class="sourceLineNo">1491</span><a name="line.1491"></a>
+<span class="sourceLineNo">1492</span>         @Override<a name="line.1492"></a>
+<span class="sourceLineNo">1493</span>         public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {<a name="line.1493"></a>
+<span class="sourceLineNo">1494</span>            BeanInfo bi = Introspector.getBeanInfo(c, null);<a name="line.1494"></a>
+<span class="sourceLineNo">1495</span>            for (PropertyDescriptor pd : bi.getPropertyDescriptors()) {<a name="line.1495"></a>
+<span class="sourceLineNo">1496</span>               Method rm = pd.getReadMethod(), wm = pd.getWriteMethod();<a name="line.1496"></a>
+<span class="sourceLineNo">1497</span>               if (method.equals(rm))<a name="line.1497"></a>
+<span class="sourceLineNo">1498</span>                  return Config.this.getObject(section2 + '/' + pd.getName(), rm.getGenericReturnType());<a name="line.1498"></a>
+<span class="sourceLineNo">1499</span>               if (method.equals(wm))<a name="line.1499"></a>
+<span class="sourceLineNo">1500</span>                  return Config.this.set(section2 + '/' + pd.getName(), args[0]);<a name="line.1500"></a>
+<span class="sourceLineNo">1501</span>            }<a name="line.1501"></a>
+<span class="sourceLineNo">1502</span>            throw new UnsupportedOperationException("Unsupported interface method.  method='" + method + "'");<a name="line.1502"></a>
+<span class="sourceLineNo">1503</span>         }<a name="line.1503"></a>
+<span class="sourceLineNo">1504</span>      };<a name="line.1504"></a>
+<span class="sourceLineNo">1505</span><a name="line.1505"></a>
+<span class="sourceLineNo">1506</span>      return (T)Proxy.newProxyInstance(c.getClassLoader(), new Class[] { c }, h);<a name="line.1506"></a>
+<span class="sourceLineNo">1507</span>   }<a name="line.1507"></a>
+<span class="sourceLineNo">1508</span><a name="line.1508"></a>
+<span class="sourceLineNo">1509</span>   /**<a name="line.1509"></a>
+<span class="sourceLineNo">1510</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if this section contains the specified key and the key has a non-blank value.<a name="line.1510"></a>
+<span class="sourceLineNo">1511</span>    *<a name="line.1511"></a>
+<span class="sourceLineNo">1512</span>    * @param key The key.<a name="line.1512"></a>
+<span class="sourceLineNo">1513</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if this section contains the specified key and the key has a non-blank value.<a name="line.1513"></a>
+<span class="sourceLineNo">1514</span>    */<a name="line.1514"></a>
+<span class="sourceLineNo">1515</span>   public boolean exists(String key) {<a name="line.1515"></a>
+<span class="sourceLineNo">1516</span>      return isNotEmpty(getString(key, null));<a name="line.1516"></a>
+<span class="sourceLineNo">1517</span>   }<a name="line.1517"></a>
+<span class="sourceLineNo">1518</span><a name="line.1518"></a>
+<span class="sourceLineNo">1519</span>   /**<a name="line.1519"></a>
+<span class="sourceLineNo">1520</span>    * Creates the specified section if it doesn't exist.<a name="line.1520"></a>
+<span class="sourceLineNo">1521</span>    *<a name="line.1521"></a>
+<span class="sourceLineNo">1522</span>    * &lt;p&gt;<a name="line.1522"></a>
+<span class="sourceLineNo">1523</span>    * Returns the existing section if it already exists.<a name="line.1523"></a>
+<span class="sourceLineNo">1524</span>    *<a name="line.1524"></a>
+<span class="sourceLineNo">1525</span>    * @param name<a name="line.1525"></a>
+<span class="sourceLineNo">1526</span>    *    The section name.<a name="line.1526"></a>
+<span class="sourceLineNo">1527</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1527"></a>
+<span class="sourceLineNo">1528</span>    *    &lt;br&gt;Use blank for the default section.<a name="line.1528"></a>
+<span class="sourceLineNo">1529</span>    * @param preLines<a name="line.1529"></a>
+<span class="sourceLineNo">1530</span>    *    Optional comment and blank lines to add immediately before the section.<a name="line.1530"></a>
+<span class="sourceLineNo">1531</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, previous pre-lines will not be replaced.<a name="line.1531"></a>
+<span class="sourceLineNo">1532</span>    * @return The appended or existing section.<a name="line.1532"></a>
+<span class="sourceLineNo">1533</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1533"></a>
+<span class="sourceLineNo">1534</span>    */<a name="line.1534"></a>
+<span class="sourceLineNo">1535</span>   public Config setSection(String name, List&lt;String&gt; preLines) {<a name="line.1535"></a>
+<span class="sourceLineNo">1536</span>      try {<a name="line.1536"></a>
+<span class="sourceLineNo">1537</span>         return setSection(section(name), preLines, null);<a name="line.1537"></a>
+<span class="sourceLineNo">1538</span>      } catch (SerializeException e) {<a name="line.1538"></a>
+<span class="sourceLineNo">1539</span>         throw new RuntimeException(e);  // Impossible.<a name="line.1539"></a>
+<span class="sourceLineNo">1540</span>      }<a name="line.1540"></a>
+<span class="sourceLineNo">1541</span>   }<a name="line.1541"></a>
+<span class="sourceLineNo">1542</span><a name="line.1542"></a>
+<span class="sourceLineNo">1543</span>   /**<a name="line.1543"></a>
+<span class="sourceLineNo">1544</span>    * Creates the specified section if it doesn't exist.<a name="line.1544"></a>
+<span class="sourceLineNo">1545</span>    *<a name="line.1545"></a>
+<span class="sourceLineNo">1546</span>    * @param name<a name="line.1546"></a>
+<span class="sourceLineNo">1547</span>    *    The section name.<a name="line.1547"></a>
+<span class="sourceLineNo">1548</span>    *    &lt;br&gt;Must not be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1548"></a>
+<span class="sourceLineNo">1549</span>    *    &lt;br&gt;Use blank for the default section.<a name="line.1549"></a>
+<span class="sourceLineNo">1550</span>    * @param preLines<a name="line.1550"></a>
+<span class="sourceLineNo">1551</span>    *    Optional comment and blank lines to add immediately before the section.<a name="line.1551"></a>
+<span class="sourceLineNo">1552</span>    *    &lt;br&gt;If &lt;jk&gt;null&lt;/jk&gt;, previous pre-lines will not be replaced.<a name="line.1552"></a>
+<span class="sourceLineNo">1553</span>    * @param contents<a name="line.1553"></a>
+<span class="sourceLineNo">1554</span>    *    Values to set in the new section.<a name="line.1554"></a>
+<span class="sourceLineNo">1555</span>    *    &lt;br&gt;Can be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1555"></a>
+<span class="sourceLineNo">1556</span>    * @return The appended or existing section.<a name="line.1556"></a>
+<span class="sourceLineNo">1557</span>    * @throws SerializeException<a name="line.1557"></a>
+<span class="sourceLineNo">1558</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1558"></a>
+<span class="sourceLineNo">1559</span>    */<a name="line.1559"></a>
+<span class="sourceLineNo">1560</span>   public Config setSection(String name, List&lt;String&gt; preLines, Map&lt;String,Object&gt; contents) throws SerializeException {<a name="line.1560"></a>
+<span class="sourceLineNo">1561</span>      checkWrite();<a name="line.1561"></a>
+<span class="sourceLineNo">1562</span>      configMap.setSection(section(name), preLines);<a name="line.1562"></a>
+<span class="sourceLineNo">1563</span><a name="line.1563"></a>
+<span class="sourceLineNo">1564</span>      if (contents != null)<a name="line.1564"></a>
+<span class="sourceLineNo">1565</span>         for (Map.Entry&lt;String,Object&gt; e : contents.entrySet())<a name="line.1565"></a>
+<span class="sourceLineNo">1566</span>            set(section(name) + '/' + e.getKey(), e.getValue());<a name="line.1566"></a>
+<span class="sourceLineNo">1567</span><a name="line.1567"></a>
+<span class="sourceLineNo">1568</span>      return this;<a name="line.1568"></a>
+<span class="sourceLineNo">1569</span>   }<a name="line.1569"></a>
+<span class="sourceLineNo">1570</span><a name="line.1570"></a>
+<span class="sourceLineNo">1571</span>   /**<a name="line.1571"></a>
+<span class="sourceLineNo">1572</span>    * Removes the section with the specified name.<a name="line.1572"></a>
+<span class="sourceLineNo">1573</span>    *<a name="line.1573"></a>
+<span class="sourceLineNo">1574</span>    * @param name The name of the section to remove<a name="line.1574"></a>
+<span class="sourceLineNo">1575</span>    * @return This object (for method chaining).<a name="line.1575"></a>
+<span class="sourceLineNo">1576</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1576"></a>
+<span class="sourceLineNo">1577</span>    */<a name="line.1577"></a>
+<span class="sourceLineNo">1578</span>   public Config removeSection(String name) {<a name="line.1578"></a>
+<span class="sourceLineNo">1579</span>      checkWrite();<a name="line.1579"></a>
+<span class="sourceLineNo">1580</span>      configMap.removeSection(name);<a name="line.1580"></a>
+<span class="sourceLineNo">1581</span>      return this;<a name="line.1581"></a>
+<span class="sourceLineNo">1582</span>   }<a name="line.1582"></a>
+<span class="sourceLineNo">1583</span><a name="line.1583"></a>
+<span class="sourceLineNo">1584</span>   /**<a name="line.1584"></a>
+<span class="sourceLineNo">1585</span>    * Loads the contents of the specified map of maps into this config.<a name="line.1585"></a>
+<span class="sourceLineNo">1586</span>    *<a name="line.1586"></a>
+<span class="sourceLineNo">1587</span>    * @param m The maps to load.<a name="line.1587"></a>
+<span class="sourceLineNo">1588</span>    * @return This object (for method chaining).<a name="line.1588"></a>
+<span class="sourceLineNo">1589</span>    * @throws SerializeException<a name="line.1589"></a>
+<span class="sourceLineNo">1590</span>    */<a name="line.1590"></a>
+<span class="sourceLineNo">1591</span>   public Config load(Map&lt;String,Map&lt;String,Object&gt;&gt; m) throws SerializeException {<a name="line.1591"></a>
+<span class="sourceLineNo">1592</span>      if (m != null)<a name="line.1592"></a>
+<span class="sourceLineNo">1593</span>         for (Map.Entry&lt;String,Map&lt;String,Object&gt;&gt; e : m.entrySet()) {<a name="line.1593"></a>
+<span class="sourceLineNo">1594</span>            setSection(e.getKey(), null, e.getValue());<a name="line.1594"></a>
+<span class="sourceLineNo">1595</span>         }<a name="line.1595"></a>
+<span class="sourceLineNo">1596</span>      return this;<a name="line.1596"></a>
+<span class="sourceLineNo">1597</span>   }<a name="line.1597"></a>
+<span class="sourceLineNo">1598</span><a name="line.1598"></a>
+<span class="sourceLineNo">1599</span>   /**<a name="line.1599"></a>
+<span class="sourceLineNo">1600</span>    * Commit the changes in this config to the store.<a name="line.1600"></a>
+<span class="sourceLineNo">1601</span>    *<a name="line.1601"></a>
+<span class="sourceLineNo">1602</span>    * @return This object (for method chaining).<a name="line.1602"></a>
+<span class="sourceLineNo">1603</span>    * @throws IOException<a name="line.1603"></a>
+<span class="sourceLineNo">1604</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1604"></a>
+<span class="sourceLineNo">1605</span>    */<a name="line.1605"></a>
+<span class="sourceLineNo">1606</span>   public Config commit() throws IOException {<a name="line.1606"></a>
+<span class="sourceLineNo">1607</span>      checkWrite();<a name="line.1607"></a>
+<span class="sourceLineNo">1608</span>      configMap.commit();<a name="line.1608"></a>
+<span class="sourceLineNo">1609</span>      return this;<a name="line.1609"></a>
+<span class="sourceLineNo">1610</span>   }<a name="line.1610"></a>
+<span class="sourceLineNo">1611</span><a name="line.1611"></a>
+<span class="sourceLineNo">1612</span>   /**<a name="line.1612"></a>
+<span class="sourceLineNo">1613</span>    * Saves this config file to the specified writer as an INI file.<a name="line.1613"></a>
+<span class="sourceLineNo">1614</span>    *<a name="line.1614"></a>
+<span class="sourceLineNo">1615</span>    * &lt;p&gt;<a name="line.1615"></a>
+<span class="sourceLineNo">1616</span>    * The writer will automatically be closed.<a name="line.1616"></a>
+<span class="sourceLineNo">1617</span>    *<a name="line.1617"></a>
+<span class="sourceLineNo">1618</span>    * @param w The writer to send the output to.<a name="line.1618"></a>
+<span class="sourceLineNo">1619</span>    * @return This object (for method chaining).<a name="line.1619"></a>
+<span class="sourceLineNo">1620</span>    * @throws IOException If a problem occurred trying to send contents to the writer.<a name="line.1620"></a>
+<span class="sourceLineNo">1621</span>    */<a name="line.1621"></a>
+<span class="sourceLineNo">1622</span>   @Override /* Writable */<a name="line.1622"></a>
+<span class="sourceLineNo">1623</span>   public Writer writeTo(Writer w) throws IOException {<a name="line.1623"></a>
+<span class="sourceLineNo">1624</span>      return configMap.writeTo(w);<a name="line.1624"></a>
+<span class="sourceLineNo">1625</span>   }<a name="line.1625"></a>
+<span class="sourceLineNo">1626</span><a name="line.1626"></a>
+<span class="sourceLineNo">1627</span>   /**<a name="line.1627"></a>
+<span class="sourceLineNo">1628</span>    * Add a listener to this config to react to modification events.<a name="line.1628"></a>
+<span class="sourceLineNo">1629</span>    *<a name="line.1629"></a>
+<span class="sourceLineNo">1630</span>    * &lt;p&gt;<a name="line.1630"></a>
+<span class="sourceLineNo">1631</span>    * Listeners should be removed using {@link #removeListener(ConfigEventListener)}.<a name="line.1631"></a>
+<span class="sourceLineNo">1632</span>    *<a name="line.1632"></a>
+<span class="sourceLineNo">1633</span>    * @param listener The new listener to add.<a name="line.1633"></a>
+<span class="sourceLineNo">1634</span>    * @return This object (for method chaining).<a name="line.1634"></a>
+<span class="sourceLineNo">1635</span>    */<a name="line.1635"></a>
+<span class="sourceLineNo">1636</span>   public Config addListener(ConfigEventListener listener) {<a name="line.1636"></a>
+<span class="sourceLineNo">1637</span>      listeners.add(listener);<a name="line.1637"></a>
+<span class="sourceLineNo">1638</span>      return this;<a name="line.1638"></a>
+<span class="sourceLineNo">1639</span>   }<a name="line.1639"></a>
+<span class="sourceLineNo">1640</span><a name="line.1640"></a>
+<span class="sourceLineNo">1641</span>   /**<a name="line.1641"></a>
+<span class="sourceLineNo">1642</span>    * Removes a listener from this config.<a name="line.1642"></a>
+<span class="sourceLineNo">1643</span>    *<a name="line.1643"></a>
+<span class="sourceLineNo">1644</span>    * @param listener The listener to remove.<a name="line.1644"></a>
+<span class="sourceLineNo">1645</span>    * @return This object (for method chaining).<a name="line.1645"></a>
+<span class="sourceLineNo">1646</span>    */<a name="line.1646"></a>
+<span class="sourceLineNo">1647</span>   public Config removeListener(ConfigEventListener listener) {<a name="line.1647"></a>
+<span class="sourceLineNo">1648</span>      listeners.remove(listener);<a name="line.1648"></a>
+<span class="sourceLineNo">1649</span>      return this;<a name="line.1649"></a>
+<span class="sourceLineNo">1650</span>   }<a name="line.1650"></a>
+<span class="sourceLineNo">1651</span><a name="line.1651"></a>
+<span class="sourceLineNo">1652</span>   /**<a name="line.1652"></a>
+<span class="sourceLineNo">1653</span>    * Closes this configuration object by unregistering it from the underlying config map.<a name="line.1653"></a>
+<span class="sourceLineNo">1654</span>    *<a name="line.1654"></a>
+<span class="sourceLineNo">1655</span>    * @throws IOException<a name="line.1655"></a>
+<span class="sourceLineNo">1656</span>    */<a name="line.1656"></a>
+<span class="sourceLineNo">1657</span>   public void close() throws IOException {<a name="line.1657"></a>
+<span class="sourceLineNo">1658</span>      configMap.unregister(this);<a name="line.1658"></a>
+<span class="sourceLineNo">1659</span>   }<a name="line.1659"></a>
+<span class="sourceLineNo">1660</span><a name="line.1660"></a>
+<span class="sourceLineNo">1661</span>   /**<a name="line.1661"></a>
+<span class="sourceLineNo">1662</span>    * Overwrites the contents of the config file.<a name="line.1662"></a>
+<span class="sourceLineNo">1663</span>    *<a name="line.1663"></a>
+<span class="sourceLineNo">1664</span>    * @param contents The new contents of the config file.<a name="line.1664"></a>
+<span class="sourceLineNo">1665</span>    * @param synchronous Wait until the change has been persisted before returning this map.<a name="line.1665"></a>
+<span class="sourceLineNo">1666</span>    * @return This object (for method chaining).<a name="line.1666"></a>
+<span class="sourceLineNo">1667</span>    * @throws IOException<a name="line.1667"></a>
+<span class="sourceLineNo">1668</span>    * @throws InterruptedException<a name="line.1668"></a>
+<span class="sourceLineNo">1669</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1669"></a>
+<span class="sourceLineNo">1670</span>    */<a name="line.1670"></a>
+<span class="sourceLineNo">1671</span>   public Config load(Reader contents, boolean synchronous) throws IOException, InterruptedException {<a name="line.1671"></a>
+<span class="sourceLineNo">1672</span>      checkWrite();<a name="line.1672"></a>
+<span class="sourceLineNo">1673</span>      configMap.load(IOUtils.read(contents), synchronous);<a name="line.1673"></a>
+<span class="sourceLineNo">1674</span>      return this;<a name="line.1674"></a>
+<span class="sourceLineNo">1675</span>   }<a name="line.1675"></a>
+<span class="sourceLineNo">1676</span><a name="line.1676"></a>
+<span class="sourceLineNo">1677</span>   /**<a name="line.1677"></a>
+<span class="sourceLineNo">1678</span>    * Overwrites the contents of the config file.<a name="line.1678"></a>
+<span class="sourceLineNo">1679</span>    *<a name="line.1679"></a>
+<span class="sourceLineNo">1680</span>    * @param contents The new contents of the config file.<a name="line.1680"></a>
+<span class="sourceLineNo">1681</span>    * @param synchronous Wait until the change has been persisted before returning this map.<a name="line.1681"></a>
+<span class="sourceLineNo">1682</span>    * @return This object (for method chaining).<a name="line.1682"></a>
+<span class="sourceLineNo">1683</span>    * @throws IOException<a name="line.1683"></a>
+<span class="sourceLineNo">1684</span>    * @throws InterruptedException<a name="line.1684"></a>
+<span class="sourceLineNo">1685</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1685"></a>
+<span class="sourceLineNo">1686</span>    */<a name="line.1686"></a>
+<span class="sourceLineNo">1687</span>   public Config load(String contents, boolean synchronous) throws IOException, InterruptedException {<a name="line.1687"></a>
+<span class="sourceLineNo">1688</span>      checkWrite();<a name="line.1688"></a>
+<span class="sourceLineNo">1689</span>      configMap.load(contents, synchronous);<a name="line.1689"></a>
+<span class="sourceLineNo">1690</span>      return this;<a name="line.1690"></a>
+<span class="sourceLineNo">1691</span>   }<a name="line.1691"></a>
+<span class="sourceLineNo">1692</span><a name="line.1692"></a>
+<span class="sourceLineNo">1693</span>   /**<a name="line.1693"></a>
+<span class="sourceLineNo">1694</span>    * Does a rollback of any changes on this config currently in memory.<a name="line.1694"></a>
+<span class="sourceLineNo">1695</span>    *<a name="line.1695"></a>
+<span class="sourceLineNo">1696</span>    * @return This object (for method chaining).<a name="line.1696"></a>
+<span class="sourceLineNo">1697</span>    * @throws UnsupportedOperationException If configuration is read only.<a name="line.1697"></a>
+<span class="sourceLineNo">1698</span>    */<a name="line.1698"></a>
+<span class="sourceLineNo">1699</span>   public Config rollback() {<a name="line.1699"></a>
+<span class="sourceLineNo">1700</span>      checkWrite();<a name="line.1700"></a>
+<span class="sourceLineNo">1701</span>      configMap.rollback();<a name="line.1701"></a>
+<span class="sourceLineNo">1702</span>      return this;<a name="line.1702"></a>
+<span class="sourceLineNo">1703</span>   }<a name="line.1703"></a>
+<span class="sourceLineNo">1704</span><a name="line.1704"></a>
+<span class="sourceLineNo">1705</span>   /**<a name="line.1705"></a>
+<span class="sourceLineNo">1706</span>    * Returns the values in this config map as a map of maps.<a name="line.1706"></a>
+<span class="sourceLineNo">1707</span>    *<a name="line.1707"></a>
+<span class="sourceLineNo">1708</span>    * &lt;p&gt;<a name="line.1708"></a>
+<span class="sourceLineNo">1709</span>    * This is considered a snapshot copy of the config map.<a name="line.1709"></a>
+<span class="sourceLineNo">1710</span>    *<a name="line.1710"></a>
+<span class="sourceLineNo">1711</span>    * &lt;p&gt;<a name="line.1711"></a>
+<span class="sourceLineNo">1712</span>    * The returned map is modifiable, but modifications to the returned map are not reflected in the config map.<a name="line.1712"></a>
+<span class="sourceLineNo">1713</span>    *<a name="line.1713"></a>
+<span class="sourceLineNo">1714</span>    * @return A copy of this config as a map of maps.<a name="line.1714"></a>
+<span class="sourceLineNo">1715</span>    */<a name="line.1715"></a>
+<span class="sourceLineNo">1716</span>   @Override /* Context */<a name="line.1716"></a>
+<span class="sourceLineNo">1717</span>   public ObjectMap asMap() {<a name="line.1717"></a>
+<span class="sourceLineNo">1718</span>      return configMap.asMap();<a name="line.1718"></a>
+<span class="sourceLineNo">1719</span>   }<a name="line.1719"></a>
 <span class="sourceLineNo">1720</span><a name="line.1720"></a>
-<span class="sourceLineNo">1721</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.1721"></a>
-<span class="sourceLineNo">1722</span>   // Interface methods<a name="line.1722"></a>
-<span class="sourceLineNo">1723</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.1723"></a>
-<span class="sourceLineNo">1724</span><a name="line.1724"></a>
-<span class="sourceLineNo">1725</span>   /**<a name="line.1725"></a>
-<span class="sourceLineNo">1726</span>    * Unused.<a name="line.1726"></a>
-<span class="sourceLineNo">1727</span>    */<a name="line.1727"></a>
-<span class="sourceLineNo">1728</span>   @Override /* Context */<a name="line.1728"></a>
-<span class="sourceLineNo">1729</span>   public Session createSession(SessionArgs args) {<a name="line.1729"></a>
-<span class="sourceLineNo">1730</span>      throw new UnsupportedOperationException();<a name="line.1730"></a>
-<span class="sourceLineNo">1731</span>   }<a name="line.1731"></a>
-<span class="sourceLineNo">1732</span><a name="line.1732"></a>
-<span class="sourceLineNo">1733</span>   /**<a name="line.1733"></a>
-<span class="sourceLineNo">1734</span>    * Unused.<a name="line.1734"></a>
-<span class="sourceLineNo">1735</span>    */<a name="line.1735"></a>
-<span class="sourceLineNo">1736</span>   @Override /* Context */<a name="line.1736"></a>
-<span class="sourceLineNo">1737</span>   public SessionArgs createDefaultSessionArgs() {<a name="line.1737"></a>
-<span class="sourceLineNo">1738</span>      throw new UnsupportedOperationException();<a name="line.1738"></a>
-<span class="sourceLineNo">1739</span>   }<a name="line.1739"></a>
-<span class="sourceLineNo">1740</span><a name="line.1740"></a>
-<span class="sourceLineNo">1741</span>   @Override /* ConfigEventListener */<a name="line.1741"></a>
-<span class="sourceLineNo">1742</span>   public void onConfigChange(List&lt;ConfigEvent&gt; events) {<a name="line.1742"></a>
-<span class="sourceLineNo">1743</span>      for (ConfigEventListener l : listeners)<a name="line.1743"></a>
-<span class="sourceLineNo">1744</span>         l.onConfigChange(events);<a name="line.1744"></a>
-<span class="sourceLineNo">1745</span>   }<a name="line.1745"></a>
-<span class="sourceLineNo">1746</span><a name="line.1746"></a>
-<span class="sourceLineNo">1747</span>   @Override /* Writable */<a name="line.1747"></a>
-<span class="sourceLineNo">1748</span>   public MediaType getMediaType() {<a name="line.1748"></a>
-<span class="sourceLineNo">1749</span>      return MediaType.PLAIN;<a name="line.1749"></a>
-<span class="sourceLineNo">1750</span>   }<a name="line.1750"></a>
-<span class="sourceLineNo">1751</span><a name="line.1751"></a>
+<span class="sourceLineNo">1721</span><a name="line.1721"></a>
+<span class="sourceLineNo">1722</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.1722"></a>
+<span class="sourceLineNo">1723</span>   // Interface methods<a name="line.1723"></a>
+<span class="sourceLineNo">1724</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.1724"></a>
+<span class="sourceLineNo">1725</span><a name="line.1725"></a>
+<span class="sourceLineNo">1726</span>   /**<a name="line.1726"></a>
+<span class="sourceLineNo">1727</span>    * Unused.<a name="line.1727"></a>
+<span class="sourceLineNo">1728</span>    */<a name="line.1728"></a>
+<span class="sourceLineNo">1729</span>   @Override /* Context */<a name="line.1729"></a>
+<span class="sourceLineNo">1730</span>   public Session createSession(SessionArgs args) {<a name="line.1730"></a>
+<span class="sourceLineNo">1731</span>      throw new UnsupportedOperationException();<a name="line.1731"></a>
+<span class="sourceLineNo">1732</span>   }<a name="line.1732"></a>
+<span class="sourceLineNo">1733</span><a name="line.1733"></a>
+<span class="sourceLineNo">1734</span>   /**<a name="line.1734"></a>
+<span class="sourceLineNo">1735</span>    * Unused.<a name="line.1735"></a>
+<span class="sourceLineNo">1736</span>    */<a name="line.1736"></a>
+<span class="sourceLineNo">1737</span>   @Override /* Context */<a name="line.1737"></a>
+<span class="sourceLineNo">1738</span>   public SessionArgs createDefaultSessionArgs() {<a name="line.1738"></a>
+<span class="sourceLineNo">1739</span>      throw new UnsupportedOperationException();<a name="line.1739"></a>
+<span class="sourceLineNo">1740</span>   }<a name="line.1740"></a>
+<span class="sourceLineNo">1741</span><a name="line.1741"></a>
+<span class="sourceLineNo">1742</span>   @Override /* ConfigEventListener */<a name="line.1742"></a>
+<span class="sourceLineNo">1743</span>   public void onConfigChange(List&lt;ConfigEvent&gt; events) {<a name="line.1743"></a>
+<span class="sourceLineNo">1744</span>      for (ConfigEventListener l : listeners)<a name="line.1744"></a>
+<span class="sourceLineNo">1745</span>         l.onConfigChange(events);<a name="line.1745"></a>
+<span class="sourceLineNo">1746</span>   }<a name="line.1746"></a>
+<span class="sourceLineNo">1747</span><a name="line.1747"></a>
+<span class="sourceLineNo">1748</span>   @Override /* Writable */<a name="line.1748"></a>
+<span class="sourceLineNo">1749</span>   public MediaType getMediaType() {<a name="line.1749"></a>
+<span class="sourceLineNo">1750</span>      return MediaType.PLAIN;<a name="line.1750"></a>
+<span class="sourceLineNo">1751</span>   }<a name="line.1751"></a>
 <span class="sourceLineNo">1752</span><a name="line.1752"></a>
-<span class="sourceLineNo">1753</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.1753"></a>
-<span class="sourceLineNo">1754</span>   // Private methods<a name="line.1754"></a>
-<span class="sourceLineNo">1755</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.1755"></a>
-<span class="sourceLineNo">1756</span><a name="line.1756"></a>
-<span class="sourceLineNo">1757</span>   private String serialize(Object value, Serializer serializer) throws SerializeException {<a name="line.1757"></a>
-<span class="sourceLineNo">1758</span>      if (value == null)<a name="line.1758"></a>
-<span class="sourceLineNo">1759</span>         return "";<a name="line.1759"></a>
-<span class="sourceLineNo">1760</span>      if (serializer == null)<a name="line.1760"></a>
-<span class="sourceLineNo">1761</span>         serializer = this.serializer;<a name="line.1761"></a>
-<span class="sourceLineNo">1762</span>      Class&lt;?&gt; c = value.getClass();<a name="line.1762"></a>
-<span class="sourceLineNo">1763</span>      if (value instanceof CharSequence)<a name="line.1763"></a>
-<span class="sourceLineNo">1764</span>         return nlIfMl((CharSequence)value);<a name="line.1764"></a>
-<span class="sourceLineNo">1765</span>      if (isSimpleType(c))<a name="line.1765"></a>
-<span class="sourceLineNo">1766</span>         return value.toString();<a name="line.1766"></a>
-<span class="sourceLineNo">1767</span><a name="line.1767"></a>
-<span class="sourceLineNo">1768</span>      if (value instanceof byte[]) {<a name="line.1768"></a>
-<span class="sourceLineNo">1769</span>         String s = null;<a name="line.1769"></a>
-<span class="sourceLineNo">1770</span>         byte[] b = (byte[])value;<a name="line.1770"></a>
-<span class="sourceLineNo">1771</span>         if (binaryFormat == BinaryFormat.HEX)<a name="line.1771"></a>
-<span class="sourceLineNo">1772</span>            s = toHex(b);<a name="line.1772"></a>
-<span class="sourceLineNo">1773</span>         else if (binaryFormat == BinaryFormat.SPACED_HEX)<a name="line.1773"></a>
-<span class="sourceLineNo">1774</span>            s = toSpacedHex(b);<a name="line.1774"></a>
-<span class="sourceLineNo">1775</span>         else<a name="line.1775"></a>
-<span class="sourceLineNo">1776</span>            s = base64Encode(b);<a name="line.1776"></a>
-<span class="sourceLineNo">1777</span>         int l = binaryLineLength;<a name="line.1777"></a>
-<span class="sourceLineNo">1778</span>         if (l &lt;= 0 || s.length() &lt;= l)<a name="line.1778"></a>
-<span class="sourceLineNo">1779</span>            return s;<a name="line.1779"></a>
-<span class="sourceLineNo">1780</span>         StringBuilder sb = new StringBuilder();<a name="line.1780"></a>
-<span class="sourceLineNo">1781</span>         for (int i = 0; i &lt; s.length(); i += l)<a name="line.1781"></a>
-<span class="sourceLineNo">1782</span>            sb.append(binaryLineLength &gt; 0 ? "\n" : "").append(s.substring(i, Math.min(s.length(), i + l)));<a name="line.1782"></a>
-<span class="sourceLineNo">1783</span>         return sb.toString();<a name="line.1783"></a>
-<span class="sourceLineNo">1784</span>      }<a name="line.1784"></a>
-<span class="sourceLineNo">1785</span><a name="line.1785"></a>
-<span class="sourceLineNo">1786</span>      String r = null;<a name="line.1786"></a>
-<span class="sourceLineNo">1787</span>      if (multiLineValuesOnSeparateLines)<a name="line.1787"></a>
-<span class="sourceLineNo">1788</span>         r = "\n" + (String)serializer.serialize(value);<a name="line.1788"></a>
-<span class="sourceLineNo">1789</span>      else<a name="line.1789"></a>
-<span class="sourceLineNo">1790</span>         r = (String)serializer.serialize(value);<a name="line.1790"></a>
-<span class="sourceLineNo">1791</span><a name="line.1791"></a>
-<span class="sourceLineNo">1792</span>      if (r.startsWith("'"))<a name="line.1792"></a>
-<span class="sourceLineNo">1793</span>         return r.substring(1, r.length()-1);<a name="line.1793"></a>
-<span class="sourceLineNo">1794</span>      return r;<a name="line.1794"></a>
-<span class="sourceLineNo">1795</span>   }<a name="line.1795"></a>
-<span class="sourceLineNo">1796</span><a name="line.1796"></a>
-<span class="sourceLineNo">1797</span>   private String nlIfMl(CharSequence cs) {<a name="line.1797"></a>
-<span class="sourceLineNo">1798</span>      String s = cs.toString();<a name="line.1798"></a>
-<span class="sourceLineNo">1799</span>      if (s.indexOf('\n') != -1 &amp;&amp; multiLineValuesOnSeparateLines)<a name="line.1799"></a>
-<span class="sourceLineNo">1800</span>         return "\n" + s;<a name="line.1800"></a>
-<span class="sourceLineNo">1801</span>      return s;<a name="line.1801"></a>
-<span class="sourceLineNo">1802</span>   }<a name="line.1802"></a>
-<span class="sourceLineNo">1803</span><a name="line.1803"></a>
-<span class="sourceLineNo">1804</span>   @SuppressWarnings({ "unchecked" })<a name="line.1804"></a>
-<span class="sourceLineNo">1805</span>   private &lt;T&gt; T parse(String s, Parser parser, Type type, Type...args) throws ParseException {<a name="line.1805"></a>
-<span class="sourceLineNo">1806</span><a name="line.1806"></a>
-<span class="sourceLineNo">1807</span>      if (isEmpty(s))<a name="line.1807"></a>
-<span class="sourceLineNo">1808</span>         return null;<a name="line.1808"></a>
-<span class="sourceLineNo">1809</span><a name="line.1809"></a>
-<span class="sourceLineNo">1810</span>      if (isSimpleType(type))<a name="line.1810"></a>
-<span class="sourceLineNo">1811</span>         return (T)beanSession.convertToType(s, (Class&lt;?&gt;)type);<a name="line.1811"></a>
-<span class="sourceLineNo">1812</span><a name="line.1812"></a>
-<span class="sourceLineNo">1813</span>      if (type == byte[].class) {<a name="line.1813"></a>
-<span class="sourceLineNo">1814</span>         if (s.indexOf('\n') != -1)<a name="line.1814"></a>
-<span class="sourceLineNo">1815</span>            s = s.replaceAll("\n", "");<a name="line.1815"></a>
-<span class="sourceLineNo">1816</span>         try {<a name="line.1816"></a>
-<span class="sourceLineNo">1817</span>            switch (binaryFormat) {<a name="line.1817"></a>
-<span class="sourceLineNo">1818</span>               case HEX: return (T)fromHex(s);<a name="line.1818"></a>
-<span class="sourceLineNo">1819</span>               case SPACED_HEX: return (T)fromSpacedHex(s);<a name="line.1819"></a>
-<span class="sourceLineNo">1820</span>               default: return (T)base64Decode(s);<a name="line.1820"></a>
-<span class="sourceLineNo">1821</span>            }<a name="line.1821"></a>
-<span class="sourceLineNo">1822</span>         } catch (Exception e) {<a name="line.1822"></a>
-<span class="sourceLineNo">1823</span>            throw new ParseException(e, "Value could not be converted to a byte array.");<a name="line.1823"></a>
-<span class="sourceLineNo">1824</span>         }<a name="line.1824"></a>
-<span class="sourceLineNo">1825</span>      }<a name="line.1825"></a>
-<span class="sourceLineNo">1826</span><a name="line.1826"></a>
-<span class="sourceLineNo">1827</span>      if (parser == null)<a name="line.1827"></a>
-<span class="sourceLineNo">1828</span>         parser = this.parser;<a name="line.1828"></a>
-<span class="sourceLineNo">1829</span><a name="line.1829"></a>
-<span class="sourceLineNo">1830</span>      if (parser instanceof JsonParser) {<a name="line.1830"></a>
-<span class="sourceLineNo">1831</span>         char s1 = firstNonWhitespaceChar(s);<a name="line.1831"></a>
-<span class="sourceLineNo">1832</span>         if (isArray(type) &amp;&amp; s1 != '[')<a name="line.1832"></a>
-<span class="sourceLineNo">1833</span>            s = '[' + s + ']';<a name="line.1833"></a>
-<span class="sourceLineNo">1834</span>         else if (s1 != '[' &amp;&amp; s1 != '{' &amp;&amp; ! "null".equals(s))<a name="line.1834"></a>
-<span class="sourceLineNo">1835</span>            s = '\'' + s + '\'';<a name="line.1835"></a>
-<span class="sourceLineNo">1836</span>      }<a name="line.1836"></a>
-<span class="sourceLineNo">1837</span><a name="line.1837"></a>
-<span class="sourceLineNo">1838</span>      return parser.parse(s, type, args);<a name="line.1838"></a>
-<span class="sourceLineNo">1839</span>   }<a name="line.1839"></a>
-<span class="sourceLineNo">1840</span><a name="line.1840"></a>
-<span class="sourceLineNo">1841</span>   private boolean isSimpleType(Type t) {<a name="line.1841"></a>
-<span class="sourceLineNo">1842</span>      if (! (t instanceof Class))<a name="line.1842"></a>
-<span class="sourceLineNo">1843</span>         return false;<a name="line.1843"></a>
-<span class="sourceLineNo">1844</span>      Class&lt;?&gt; c = (Class&lt;?&gt;)t;<a name="line.1844"></a>
-<span class="sourceLineNo">1845</span>      return (c == String.class || c.isPrimitive() || c.isAssignableFrom(Number.class) || c == Boolean.class || c.isEnum());<a name="line.1845"></a>
-<span class="sourceLineNo">1846</span>   }<a name="line.1846"></a>
-<span class="sourceLineNo">1847</span><a name="line.1847"></a>
-<span class="sourceLineNo">1848</span>   private boolean isArray(Type t) {<a name="line.1848"></a>
-<span class="sourceLineNo">1849</span>      if (! (t instanceof Class))<a name="line.1849"></a>
-<span class="sourceLineNo">1850</span>         return false;<a name="line.1850"></a>
-<span class="sourceLineNo">1851</span>      Class&lt;?&gt; c = (Class&lt;?&gt;)t;<a name="line.1851"></a>
-<span class="sourceLineNo">1852</span>      return (c.isArray());<a name="line.1852"></a>
-<span class="sourceLineNo">1853</span>   }<a name="line.1853"></a>
-<span class="sourceLineNo">1854</span><a name="line.1854"></a>
-<span class="sourceLineNo">1855</span>   private String sname(String key) {<a name="line.1855"></a>
-<span class="sourceLineNo">1856</span>      assertFieldNotNull(key, "key");<a name="line.1856"></a>
-<span class="sourceLineNo">1857</span>      int i = key.indexOf('/');<a name="line.1857"></a>
-<span class="sourceLineNo">1858</span>      if (i == -1)<a name="line.1858"></a>
-<span class="sourceLineNo">1859</span>         return "";<a name="line.1859"></a>
-<span class="sourceLineNo">1860</span>      return key.substring(0, i);<a name="line.1860"></a>
-<span class="sourceLineNo">1861</span>   }<a name="line.1861"></a>
-<span class="sourceLineNo">1862</span><a name="line.1862"></a>
-<span class="sourceLineNo">1863</span>   private String skey(String key) {<a name="line.1863"></a>
-<span class="sourceLineNo">1864</span>      int i = key.indexOf('/');<a name="line.1864"></a>
-<span class="sourceLineNo">1865</span>      if (i == -1)<a name="line.1865"></a>
-<span class="sourceLineNo">1866</span>         return key;<a name="line.1866"></a>
-<span class="sourceLineNo">1867</span>      return key.substring(i+1);<a name="line.1867"></a>
-<span class="sourceLineNo">1868</span>   }<a name="line.1868"></a>
-<span class="sourceLineNo">1869</span><a name="line.1869"></a>
-<span class="sourceLineNo">1870</span>   private String section(String section) {<a name="line.1870"></a>
-<span class="sourceLineNo">1871</span>      assertFieldNotNull(section, "section");<a name="line.1871"></a>
-<span class="sourceLineNo">1872</span>      if (isEmpty(section))<a name="line.1872"></a>
-<span class="sourceLineNo">1873</span>         return "";<a name="line.1873"></a>
-<span class="sourceLineNo">1874</span>      return section;<a name="line.1874"></a>
-<span class="sourceLineNo">1875</span>   }<a name="line.1875"></a>
-<span class="sourceLineNo">1876</span><a name="line.1876"></a>
-<span class="sourceLineNo">1877</span>   private void checkWrite() {<a name="line.1877"></a>
-<span class="sourceLineNo">1878</span>      if (readOnly)<a name="line.1878"></a>
-<span class="sourceLineNo">1879</span>         throw new UnsupportedOperationException("Cannot call this method on a read-only configuration.");<a name="line.1879"></a>
-<span class="sourceLineNo">1880</span>   }<a name="line.1880"></a>
-<span class="sourceLineNo">1881</span><a name="line.1881"></a>
+<span class="sourceLineNo">1753</span><a name="line.1753"></a>
+<span class="sourceLineNo">1754</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.1754"></a>
+<span class="sourceLineNo">1755</span>   // Private methods<a name="line.1755"></a>
+<span class="sourceLineNo">1756</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.1756"></a>
+<span class="sourceLineNo">1757</span><a name="line.1757"></a>
+<span class="sourceLineNo">1758</span>   private String serialize(Object value, Serializer serializer) throws SerializeException {<a name="line.1758"></a>
+<span class="sourceLineNo">1759</span>      if (value == null)<a name="line.1759"></a>
+<span class="sourceLineNo">1760</span>         return "";<a name="line.1760"></a>
+<span class="sourceLineNo">1761</span>      if (serializer == null)<a name="line.1761"></a>
+<span class="sourceLineNo">1762</span>         serializer = this.serializer;<a name="line.1762"></a>
+<span class="sourceLineNo">1763</span>      Class&lt;?&gt; c = value.getClass();<a name="line.1763"></a>
+<span class="sourceLineNo">1764</span>      if (value instanceof CharSequence)<a name="line.1764"></a>
+<span class="sourceLineNo">1765</span>         return nlIfMl((CharSequence)value);<a name="line.1765"></a>
+<span class="sourceLineNo">1766</span>      if (isSimpleType(c))<a name="line.1766"></a>
+<span class="sourceLineNo">1767</span>         return value.toString();<a name="line.1767"></a>
+<span class="sourceLineNo">1768</span><a name="line.1768"></a>
+<span class="sourceLineNo">1769</span>      if (value instanceof byte[]) {<a name="line.1769"></a>
+<span class="sourceLineNo">1770</span>         String s = null;<a name="line.1770"></a>
+<span class="sourceLineNo">1771</span>         byte[] b = (byte[])value;<a name="line.1771"></a>
+<span class="sourceLineNo">1772</span>         if (binaryFormat == BinaryFormat.HEX)<a name="line.1772"></a>
+<span class="sourceLineNo">1773</span>            s = toHex(b);<a name="line.1773"></a>
+<span class="sourceLineNo">1774</span>         else if (binaryFormat == BinaryFormat.SPACED_HEX)<a name="line.1774"></a>
+<span class="sourceLineNo">1775</span>            s = toSpacedHex(b);<a name="line.1775"></a>
+<span class="sourceLineNo">1776</span>         else<a name="line.1776"></a>
+<span class="sourceLineNo">1777</span>            s = base64Encode(b);<a name="line.1777"></a>
+<span class="sourceLineNo">1778</span>         int l = binaryLineLength;<a name="line.1778"></a>
+<span class="sourceLineNo">1779</span>         if (l &lt;= 0 || s.length() &lt;= l)<a name="line.1779"></a>
+<span class="sourceLineNo">1780</span>            return s;<a name="line.1780"></a>
+<span class="sourceLineNo">1781</span>         StringBuilder sb = new StringBuilder();<a name="line.1781"></a>
+<span class="sourceLineNo">1782</span>         for (int i = 0; i &lt; s.length(); i += l)<a name="line.1782"></a>
+<span class="sourceLineNo">1783</span>            sb.append(binaryLineLength &gt; 0 ? "\n" : "").append(s.substring(i, Math.min(s.length(), i + l)));<a name="line.1783"></a>
+<span class="sourceLineNo">1784</span>         return sb.toString();<a name="line.1784"></a>
+<span class="sourceLineNo">1785</span>      }<a name="line.1785"></a>
+<span class="sourceLineNo">1786</span><a name="line.1786"></a>
+<span class="sourceLineNo">1787</span>      String r = null;<a name="line.1787"></a>
+<span class="sourceLineNo">1788</span>      if (multiLineValuesOnSeparateLines)<a name="line.1788"></a>
+<span class="sourceLineNo">1789</span>         r = "\n" + (String)serializer.serialize(value);<a name="line.1789"></a>
+<span class="sourceLineNo">1790</span>      else<a name="line.1790"></a>
+<span class="sourceLineNo">1791</span>         r = (String)serializer.serialize(value);<a name="line.1791"></a>
+<span class="sourceLineNo">1792</span><a name="line.1792"></a>
+<span class="sourceLineNo">1793</span>      if (r.startsWith("'"))<a name="line.1793"></a>
+<span class="sourceLineNo">1794</span>         return r.substring(1, r.length()-1);<a name="line.1794"></a>
+<span class="sourceLineNo">1795</span>      return r;<a name="line.1795"></a>
+<span class="sourceLineNo">1796</span>   }<a name="line.1796"></a>
+<span class="sourceLineNo">1797</span><a name="line.1797"></a>
+<span class="sourceLineNo">1798</span>   private String nlIfMl(CharSequence cs) {<a name="line.1798"></a>
+<span class="sourceLineNo">1799</span>      String s = cs.toString();<a name="line.1799"></a>
+<span class="sourceLineNo">1800</span>      if (s.indexOf('\n') != -1 &amp;&amp; multiLineValuesOnSeparateLines)<a name="line.1800"></a>
+<span class="sourceLineNo">1801</span>         return "\n" + s;<a name="line.1801"></a>
+<span class="sourceLineNo">1802</span>      return s;<a name="line.1802"></a>
+<span class="sourceLineNo">1803</span>   }<a name="line.1803"></a>
+<span class="sourceLineNo">1804</span><a name="line.1804"></a>
+<span class="sourceLineNo">1805</span>   @SuppressWarnings({ "unchecked" })<a name="line.1805"></a>
+<span class="sourceLineNo">1806</span>   private &lt;T&gt; T parse(String s, Parser parser, Type type, Type...args) throws ParseException {<a name="line.1806"></a>
+<span class="sourceLineNo">1807</span><a name="line.1807"></a>
+<span class="sourceLineNo">1808</span>      if (isEmpty(s))<a name="line.1808"></a>
+<span class="sourceLineNo">1809</span>         return null;<a name="line.1809"></a>
+<span class="sourceLineNo">1810</span><a name="line.1810"></a>
+<span class="sourceLineNo">1811</span>      if (isSimpleType(type))<a name="line.1811"></a>
+<span class="sourceLineNo">1812</span>         return (T)beanSession.convertToType(s, (Class&lt;?&gt;)type);<a name="line.1812"></a>
+<span class="sourceLineNo">1813</span><a name="line.1813"></a>
+<span class="sourceLineNo">1814</span>      if (type == byte[].class) {<a name="line.1814"></a>
+<span class="sourceLineNo">1815</span>         if (s.indexOf('\n') != -1)<a name="line.1815"></a>
+<span class="sourceLineNo">1816</span>            s = s.replaceAll("\n", "");<a name="line.1816"></a>
+<span class="sourceLineNo">1817</span>         try {<a name="line.1817"></a>
+<span class="sourceLineNo">1818</span>            switch (binaryFormat) {<a name="line.1818"></a>
+<span class="sourceLineNo">1819</span>               case HEX: return (T)fromHex(s);<a name="line.1819"></a>
+<span class="sourceLineNo">1820</span>               case SPACED_HEX: return (T)fromSpacedHex(s);<a name="line.1820"></a>
+<span class="sourceLineNo">1821</span>               default: return (T)base64Decode(s);<a name="line.1821"></a>
+<span class="sourceLineNo">1822</span>            }<a name="line.1822"></a>
+<span class="sourceLineNo">1823</span>         } catch (Exception e) {<a name="line.1823"></a>
+<span class="sourceLineNo">1824</span>            throw new ParseException(e, "Value could not be converted to a byte array.");<a name="line.1824"></a>
+<span class="sourceLineNo">1825</span>         }<a name="line.1825"></a>
+<span class="sourceLineNo">1826</span>      }<a name="line.1826"></a>
+<span class="sourceLineNo">1827</span><a name="line.1827"></a>
+<span class="sourceLineNo">1828</span>      if (parser == null)<a name="line.1828"></a>
+<span class="sourceLineNo">1829</span>         parser = this.parser;<a name="line.1829"></a>
+<span class="sourceLineNo">1830</span><a name="line.1830"></a>
+<span class="sourceLineNo">1831</span>      if (parser instanceof JsonParser) {<a name="line.1831"></a>
+<span class="sourceLineNo">1832</span>         char s1 = firstNonWhitespaceChar(s);<a name="line.1832"></a>
+<span class="sourceLineNo">1833</span>         if (isArray(type) &amp;&amp; s1 != '[')<a name="line.1833"></a>
+<span class="sourceLineNo">1834</span>            s = '[' + s + ']';<a name="line.1834"></a>
+<span class="sourceLineNo">1835</span>         else if (s1 != '[' &amp;&amp; s1 != '{' &amp;&amp; ! "null".equals(s))<a name="line.1835"></a>
+<span class="sourceLineNo">1836</span>            s = '\'' + s + '\'';<a name="line.1836"></a>
+<span class="sourceLineNo">1837</span>      }<a name="line.1837"></a>
+<span class="sourceLineNo">1838</span><a name="line.1838"></a>
+<span class="sourceLineNo">1839</span>      return parser.parse(s, type, args);<a name="line.1839"></a>
+<span class="sourceLineNo">1840</span>   }<a name="line.1840"></a>
+<span class="sourceLineNo">1841</span><a name="line.1841"></a>
+<span class="sourceLineNo">1842</span>   private boolean isSimpleType(Type t) {<a name="line.1842"></a>
+<span class="sourceLineNo">1843</span>      if (! (t instanceof Class))<a name="line.1843"></a>
+<span class="sourceLineNo">1844</span>         return false;<a name="line.1844"></a>
+<span class="sourceLineNo">1845</span>      Class&lt;?&gt; c = (Class&lt;?&gt;)t;<a name="line.1845"></a>
+<span class="sourceLineNo">1846</span>      return (c == String.class || c.isPrimitive() || c.isAssignableFrom(Number.class) || c == Boolean.class || c.isEnum());<a name="line.1846"></a>
+<span class="sourceLineNo">1847</span>   }<a name="line.1847"></a>
+<span class="sourceLineNo">1848</span><a name="line.1848"></a>
+<span class="sourceLineNo">1849</span>   private boolean isArray(Type t) {<a name="line.1849"></a>
+<span class="sourceLineNo">1850</span>      if (! (t instanceof Class))<a name="line.1850"></a>
+<span class="sourceLineNo">1851</span>         return false;<a name="line.1851"></a>
+<span class="sourceLineNo">1852</span>      Class&lt;?&gt; c = (Class&lt;?&gt;)t;<a name="line.1852"></a>
+<span class="sourceLineNo">1853</span>      return (c.isArray());<a name="line.1853"></a>
+<span class="sourceLineNo">1854</span>   }<a name="line.1854"></a>
+<span class="sourceLineNo">1855</span><a name="line.1855"></a>
+<span class="sourceLineNo">1856</span>   private String sname(String key) {<a name="line.1856"></a>
+<span class="sourceLineNo">1857</span>      assertFieldNotNull(key, "key");<a name="line.1857"></a>
+<span class="sourceLineNo">1858</span>      int i = key.indexOf('/');<a name="line.1858"></a>
+<span class="sourceLineNo">1859</span>      if (i == -1)<a name="line.1859"></a>
+<span class="sourceLineNo">1860</span>         return "";<a name="line.1860"></a>
+<span class="sourceLineNo">1861</span>      return key.substring(0, i);<a name="line.1861"></a>
+<span class="sourceLineNo">1862</span>   }<a name="line.1862"></a>
+<span class="sourceLineNo">1863</span><a name="line.1863"></a>
+<span class="sourceLineNo">1864</span>   private String skey(String key) {<a name="line.1864"></a>
+<span class="sourceLineNo">1865</span>      int i = key.indexOf('/');<a name="line.1865"></a>
+<span class="sourceLineNo">1866</span>      if (i == -1)<a name="line.1866"></a>
+<span class="sourceLineNo">1867</span>         return key;<a name="line.1867"></a>
+<span class="sourceLineNo">1868</span>      return key.substring(i+1);<a name="line.1868"></a>
+<span class="sourceLineNo">1869</span>   }<a name="line.1869"></a>
+<span class="sourceLineNo">1870</span><a name="line.1870"></a>
+<span class="sourceLineNo">1871</span>   private String section(String section) {<a name="line.1871"></a>
+<span class="sourceLineNo">1872</span>      assertFieldNotNull(section, "section");<a name="line.1872"></a>
+<span class="sourceLineNo">1873</span>      if (isEmpty(section))<a name="line.1873"></a>
+<span class="sourceLineNo">1874</span>         return "";<a name="line.1874"></a>
+<span class="sourceLineNo">1875</span>      return section;<a name="line.1875"></a>
+<span class="sourceLineNo">1876</span>   }<a name="line.1876"></a>
+<span class="sourceLineNo">1877</span><a name="line.1877"></a>
+<span class="sourceLineNo">1878</span>   private void checkWrite() {<a name="line.1878"></a>
+<span class="sourceLineNo">1879</span>      if (readOnly)<a name="line.1879"></a>
+<span class="sourceLineNo">1880</span>         throw new UnsupportedOperationException("Cannot call this method on a read-only configuration.");<a name="line.1880"></a>
+<span class="sourceLineNo">1881</span>   }<a name="line.1881"></a>
 <span class="sourceLineNo">1882</span><a name="line.1882"></a>
-<span class="sourceLineNo">1883</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.1883"></a>
-<span class="sourceLineNo">1884</span>   // Other methods<a name="line.1884"></a>
-<span class="sourceLineNo">1885</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.1885"></a>
-<span class="sourceLineNo">1886</span><a name="line.1886"></a>
-<span class="sourceLineNo">1887</span>   @Override /* Object */<a name="line.1887"></a>
-<span class="sourceLineNo">1888</span>   public String toString() {<a name="line.1888"></a>
-<span class="sourceLineNo">1889</span>      return configMap.toString();<a name="line.1889"></a>
-<span class="sourceLineNo">1890</span>   }<a name="line.1890"></a>
-<span class="sourceLineNo">1891</span><a name="line.1891"></a>
-<span class="sourceLineNo">1892</span>   @Override /* Object */<a name="line.1892"></a>
-<span class="sourceLineNo">1893</span>   protected void finalize() throws Throwable {<a name="line.1893"></a>
-<span class="sourceLineNo">1894</span>      close();<a name="line.1894"></a>
-<span class="sourceLineNo">1895</span>   }<a name="line.1895"></a>
-<span class="sourceLineNo">1896</span>}<a name="line.1896"></a>
+<span class="sourceLineNo">1883</span><a name="line.1883"></a>
+<span class="sourceLineNo">1884</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.1884"></a>
+<span class="sourceLineNo">1885</span>   // Other methods<a name="line.1885"></a>
+<span class="sourceLineNo">1886</span>   //-----------------------------------------------------------------------------------------------------------------<a name="line.1886"></a>
+<span class="sourceLineNo">1887</span><a name="line.1887"></a>
+<span class="sourceLineNo">1888</span>   @Override /* Object */<a name="line.1888"></a>
+<span class="sourceLineNo">1889</span>   public String toString() {<a name="line.1889"></a>
+<span class="sourceLineNo">1890</span>      return configMap.toString();<a name="line.1890"></a>
+<span class="sourceLineNo">1891</span>   }<a name="line.1891"></a>
+<span class="sourceLineNo">1892</span><a name="line.1892"></a>
+<span class="sourceLineNo">1893</span>   @Override /* Object */<a name="line.1893"></a>
+<span class="sourceLineNo">1894</span>   protected void finalize() throws Throwable {<a name="line.1894"></a>
+<span class="sourceLineNo">1895</span>      close();<a name="line.1895"></a>
+<span class="sourceLineNo">1896</span>   }<a name="line.1896"></a>
+<span class="sourceLineNo">1897</span>}<a name="line.1897"></a>
 
 
 
diff --git a/templates/index.html b/templates/index.html
index e9ee28d..7bf49ed 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -203,8 +203,12 @@
 			<li><a href='downloads.html' id='downloads' onclick="return select(this)">Downloads</a></li>
 			<li><a href='sourceCode.html' id='sourceCode' onclick="return select(this)">Source Code</a></li>
 			<li><a href='issues.html' id='issues' onclick="return select(this)">Issues</a></li>
-			<li><a href='community.html' id='community' onclick="return select(this)">Community</a></li>
-			<li><a href='twitter.html' id='twitter' onclick="return select(this)">Twitter</a></li>
+			<li><a href='community.html' id='community' onclick="return select(this)">Community</a>
+				<ul>
+					<li><a href='https://cwiki.apache.org/confluence/pages/viewrecentblogposts.action?key=JUNEAU'>Blog</a>
+					<li><a href='twitter.html' id='twitter' onclick="return select(this)">Twitter</a></li>
+				</ul>
+			</li>
 			<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
 			<li><a href="http://www.apache.org/security" target="_blank">Security</a></li>
 			<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Donate</a></li>


Mime
View raw message