http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1809c234/content/site/apidocs/org/apache/juneau/ini/ConfigFileWrapped.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/ini/ConfigFileWrapped.html b/content/site/apidocs/org/apache/juneau/ini/ConfigFileWrapped.html index dbf4386..21873f4 100644 --- a/content/site/apidocs/org/apache/juneau/ini/ConfigFileWrapped.html +++ b/content/site/apidocs/org/apache/juneau/ini/ConfigFileWrapped.html @@ -437,7 +437,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>clear</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.54">clear</a>()</pre> +<pre>public void <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.55">clear</a>()</pre> </li> </ul> <a name="containsKey-java.lang.Object-"> @@ -446,7 +446,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>containsKey</h4> -<pre>public boolean <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.59">containsKey</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> +<pre>public boolean <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.60">containsKey</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> </li> </ul> <a name="containsValue-java.lang.Object-"> @@ -455,7 +455,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>containsValue</h4> -<pre>public boolean <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.64">containsValue</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> +<pre>public boolean <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.65">containsValue</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> </li> </ul> <a name="entrySet--"> @@ -464,7 +464,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>entrySet</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a>>> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.69">entrySet</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a>>> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.70">entrySet</a>()</pre> </li> </ul> <a name="get-java.lang.Object-"> @@ -473,7 +473,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>get</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.74">get</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> +<pre>public <a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.75">get</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> </li> </ul> <a name="isEmpty--"> @@ -482,7 +482,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>isEmpty</h4> -<pre>public boolean <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.79">isEmpty</a>()</pre> +<pre>public boolean <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.80">isEmpty</a>()</pre> </li> </ul> <a name="keySet--"> @@ -491,7 +491,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>keySet</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/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/ini/ConfigFileWrapped.html#line.84">keySet</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/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/ini/ConfigFileWrapped.html#line.85">keySet</a>()</pre> </li> </ul> <a name="put-java.lang.String-org.apache.juneau.ini.Section-"> @@ -500,7 +500,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>put</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.89">put</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, +<pre>public <a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.90">put</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, <a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a> value)</pre> </li> </ul> @@ -510,7 +510,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>putAll</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.94">putAll</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,? extends <a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a>> map)</pre> +<pre>public void <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.95">putAll</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,? extends <a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a>> map)</pre> </li> </ul> <a name="remove-java.lang.Object-"> @@ -519,7 +519,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>remove</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.99">remove</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> +<pre>public <a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.100">remove</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> </li> </ul> <a name="size--"> @@ -528,7 +528,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>size</h4> -<pre>public int <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.104">size</a>()</pre> +<pre>public int <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.105">size</a>()</pre> </li> </ul> <a name="values--"> @@ -537,7 +537,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>values</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a>> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.109">values</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a>> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.110">values</a>()</pre> </li> </ul> <a name="loadIfModified--"> @@ -546,7 +546,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>loadIfModified</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.114">loadIfModified</a>() +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.115">loadIfModified</a>() throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#loadIfModified--">ConfigFile</a></code></span></div> <div class="block">Reloads ths config file object from the persisted file contents if the modified timestamp on the file has changed.</div> @@ -566,7 +566,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>load</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.120">load</a>() +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.121">load</a>() throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#load--">ConfigFile</a></code></span></div> <div class="block">Loads ths config file object from the persisted file contents.</div> @@ -586,7 +586,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>load</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.126">load</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> r) +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.127">load</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> r) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#load-java.io.Reader-">ConfigFile</a></code></span></div> <div class="block">Loads ths config file object from the specified reader.</div> @@ -608,7 +608,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>isEncoded</h4> -<pre>public boolean <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.133">isEncoded</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> +<pre>public boolean <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.134">isEncoded</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#isEncoded-java.lang.String-">ConfigFile</a></code></span></div> <div class="block">Returns <jk>true</jk> if the encoding flag is set on the specified entry.</div> <dl> @@ -627,7 +627,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>addLines</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.138">addLines</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> section, +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.139">addLines</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> section, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... lines)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#addLines-java.lang.String-java.lang.String...-">ConfigFile</a></code></span></div> <div class="block">Adds arbitrary lines to the specified config file section. @@ -657,7 +657,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>addHeaderComments</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.144">addHeaderComments</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> section, +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.145">addHeaderComments</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> section, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... headerComments)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#addHeaderComments-java.lang.String-java.lang.String...-">ConfigFile</a></code></span></div> <div class="block">Adds header comments to the specified section. @@ -689,7 +689,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>clearHeaderComments</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.150">clearHeaderComments</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> section)</pre> +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.151">clearHeaderComments</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> section)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#clearHeaderComments-java.lang.String-">ConfigFile</a></code></span></div> <div class="block">Removes any header comments from the specified section.</div> <dl> @@ -708,7 +708,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>getSection</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.156">getSection</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> +<pre>public <a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.157">getSection</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#getSection-java.lang.String-">ConfigFile</a></code></span></div> <div class="block">Gets the section with the specified name.</div> <dl> @@ -727,7 +727,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>getSection</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.161">getSection</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, +<pre>public <a href="../../../../org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.162">getSection</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, boolean create)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#getSection-java.lang.String-boolean-">ConfigFile</a></code></span></div> <div class="block">Gets the section with the specified name and optionally creates it if it's not there.</div> @@ -748,7 +748,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>addSection</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.166">addSection</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.167">addSection</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#addSection-java.lang.String-">ConfigFile</a></code></span></div> <div class="block">Appends a section to this config file if it does not already exist. <p> @@ -769,7 +769,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>setSection</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.172">setSection</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.173">setSection</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/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/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> contents)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#setSection-java.lang.String-java.util.Map-">ConfigFile</a></code></span></div> <div class="block">Creates or overwrites the specified section.</div> @@ -790,7 +790,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>removeSection</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.178">removeSection</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.179">removeSection</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#removeSection-java.lang.String-">ConfigFile</a></code></span></div> <div class="block">Removes the section with the specified name.</div> <dl> @@ -809,7 +809,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>save</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.184">save</a>() +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.185">save</a>() throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#save--">ConfigFile</a></code></span></div> <div class="block">Saves this config file to disk.</div> @@ -829,7 +829,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>serializeTo</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.190">serializeTo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> out, +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.191">serializeTo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> out, <a href="../../../../org/apache/juneau/ini/ConfigFileFormat.html" title="enum in org.apache.juneau.ini">ConfigFileFormat</a> format) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#serializeTo-java.io.Writer-org.apache.juneau.ini.ConfigFileFormat-">ConfigFile</a></code></span></div> @@ -853,7 +853,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>toString</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/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/ini/ConfigFileWrapped.html#line.196">toString</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/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/ini/ConfigFileWrapped.html#line.197">toString</a>()</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#toString--">ConfigFile</a></code></span></div> <div class="block">Returns the config file contents as a string. <p> @@ -870,7 +870,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>getResolving</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.201">getResolving</a>(<a href="../../../../org/apache/juneau/svl/VarResolver.html" title="class in org.apache.juneau.svl">VarResolver</a> varResolver)</pre> +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.202">getResolving</a>(<a href="../../../../org/apache/juneau/svl/VarResolver.html" title="class in org.apache.juneau.svl">VarResolver</a> varResolver)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#getResolving-org.apache.juneau.svl.VarResolver-">ConfigFile</a></code></span></div> <div class="block">Returns a wrapped instance of this config file where calls to getters have their values first resolved by the specified <a href="../../../../org/apache/juneau/svl/VarResolver.html" title="class in org.apache.juneau.svl"><code>VarResolver</code></a>.</div> @@ -890,7 +890,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>getResolving</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.207">getResolving</a>(<a href="../../../../org/apache/juneau/svl/VarResolverSession.html" title="class in org.apache.juneau.svl">VarResolverSession</a> varSession)</pre> +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.208">getResolving</a>(<a href="../../../../org/apache/juneau/svl/VarResolverSession.html" title="class in org.apache.juneau.svl">VarResolverSession</a> varSession)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#getResolving-org.apache.juneau.svl.VarResolverSession-">ConfigFile</a></code></span></div> <div class="block">Returns a wrapped instance of this config file where calls to getters have their values first resolved by the specified <a href="../../../../org/apache/juneau/svl/VarResolverSession.html" title="class in org.apache.juneau.svl"><code>VarResolverSession</code></a>.</div> @@ -910,7 +910,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>getResolving</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.213">getResolving</a>()</pre> +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.214">getResolving</a>()</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#getResolving--">ConfigFile</a></code></span></div> <div class="block">Returns a wrapped instance of this config file where calls to getters have their values first resolved by a default <a href="../../../../org/apache/juneau/svl/VarResolver.html" title="class in org.apache.juneau.svl"><code>VarResolver</code></a>. @@ -935,7 +935,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>addListener</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.218">addListener</a>(<a href="../../../../org/apache/juneau/ini/ConfigFileListener.html" title="class in org.apache.juneau.ini">ConfigFileListener</a> listener)</pre> +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.219">addListener</a>(<a href="../../../../org/apache/juneau/ini/ConfigFileListener.html" title="class in org.apache.juneau.ini">ConfigFileListener</a> listener)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#addListener-org.apache.juneau.ini.ConfigFileListener-">ConfigFile</a></code></span></div> <div class="block">Add a listener to this config file to react to modification events.</div> <dl> @@ -954,7 +954,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>toWritable</h4> -<pre>public <a href="../../../../org/apache/juneau/Writable.html" title="interface in org.apache.juneau">Writable</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.224">toWritable</a>()</pre> +<pre>public <a href="../../../../org/apache/juneau/Writable.html" title="interface in org.apache.juneau">Writable</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.225">toWritable</a>()</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#toWritable--">ConfigFile</a></code></span></div> <div class="block">Wraps this config file in a <a href="../../../../org/apache/juneau/Writable.html" title="interface in org.apache.juneau"><code>Writable</code></a> interface that renders it as plain text.</div> <dl> @@ -971,7 +971,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>merge</h4> -<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.229">merge</a>(<a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> newCf)</pre> +<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.230">merge</a>(<a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> newCf)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#merge-org.apache.juneau.ini.ConfigFile-">ConfigFile</a></code></span></div> <div class="block">Merges the contents of the specified config file into this config file. <p> @@ -994,7 +994,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>getSerializer</h4> -<pre>protected <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html" title="class in org.apache.juneau.serializer">WriterSerializer</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.235">getSerializer</a>() +<pre>protected <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html" title="class in org.apache.juneau.serializer">WriterSerializer</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.236">getSerializer</a>() throws <a href="../../../../org/apache/juneau/serializer/SerializeException.html" title="class in org.apache.juneau.serializer">SerializeException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#getSerializer--">ConfigFile</a></code></span></div> <div class="block">Returns the serializer in use for this config file.</div> @@ -1014,7 +1014,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>getParser</h4> -<pre>protected <a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="class in org.apache.juneau.parser">ReaderParser</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.240">getParser</a>() +<pre>protected <a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="class in org.apache.juneau.parser">ReaderParser</a> <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.241">getParser</a>() throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#getParser--">ConfigFile</a></code></span></div> <div class="block">Returns the parser in use for this config file.</div> @@ -1034,7 +1034,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>get</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/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/ini/ConfigFileWrapped.html#line.245">get</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sectionName, +<pre>public <a href="http://docs.oracle.com/javase/7/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/ini/ConfigFileWrapped.html#line.246">get</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sectionName, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sectionKey)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#get-java.lang.String-java.lang.String-">ConfigFile</a></code></span></div> <div class="block">Retrieves an entry value from this config file.</div> @@ -1055,7 +1055,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>put</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/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/ini/ConfigFileWrapped.html#line.253">put</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sectionName, +<pre>public <a href="http://docs.oracle.com/javase/7/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/ini/ConfigFileWrapped.html#line.254">put</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sectionName, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sectionKey, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, boolean encoded)</pre> @@ -1079,7 +1079,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>remove</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/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/ini/ConfigFileWrapped.html#line.258">remove</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sectionName, +<pre>public <a href="http://docs.oracle.com/javase/7/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/ini/ConfigFileWrapped.html#line.259">remove</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sectionName, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sectionKey)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#remove-java.lang.String-java.lang.String-">ConfigFile</a></code></span></div> <div class="block">Removes an antry from this config file.</div> @@ -1100,7 +1100,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>getSectionKeys</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/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/ini/ConfigFileWrapped.html#line.263">getSectionKeys</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sectionName)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/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/ini/ConfigFileWrapped.html#line.264">getSectionKeys</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sectionName)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#getSectionKeys-java.lang.String-">ConfigFile</a></code></span></div> <div class="block">Returns the current set of keys in the specified section.</div> <dl> @@ -1119,7 +1119,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockList"> <li class="blockList"> <h4>readLock</h4> -<pre>protected void <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.268">readLock</a>()</pre> +<pre>protected void <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.269">readLock</a>()</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#readLock--">ConfigFile</a></code></span></div> <div class="block">Places a read lock on this config file.</div> <dl> @@ -1134,7 +1134,7 @@ extends <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class <ul class="blockListLast"> <li class="blockList"> <h4>readUnlock</h4> -<pre>protected void <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.273">readUnlock</a>()</pre> +<pre>protected void <a href="../../../../src-html/org/apache/juneau/ini/ConfigFileWrapped.html#line.274">readUnlock</a>()</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/ini/ConfigFile.html#readUnlock--">ConfigFile</a></code></span></div> <div class="block">Removes the read lock on this config file.</div> <dl>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1809c234/content/site/apidocs/org/apache/juneau/ini/package-summary.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/ini/package-summary.html b/content/site/apidocs/org/apache/juneau/ini/package-summary.html index 5dd8fea..60ff27c 100644 --- a/content/site/apidocs/org/apache/juneau/ini/package-summary.html +++ b/content/site/apidocs/org/apache/juneau/ini/package-summary.html @@ -748,7 +748,7 @@ </p> <p class='bcode'> <jc>// Create a new REST client with JSON support</jc> - RestClient c = <jk>new</jk> RestClient(JsonSerializer.<jk>class</jk>, JsonParser.<jk>class</jk>); + RestClient c = <jk>new</jk> RestClientBuilder().build(); <jc>// Retrieve config file through REST interface</jc> ConfigFile cf = c.doGet(<js>"http://localhost:10000/sample/config"</js>).getResponse(ConfigFileImpl.<jk>class</jk>); http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1809c234/content/site/apidocs/org/apache/juneau/internal/ArrayUtils.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/internal/ArrayUtils.html b/content/site/apidocs/org/apache/juneau/internal/ArrayUtils.html index 66ed129..6085d55 100644 --- a/content/site/apidocs/org/apache/juneau/internal/ArrayUtils.html +++ b/content/site/apidocs/org/apache/juneau/internal/ArrayUtils.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9}; +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -209,12 +209,19 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </tr> <tr id="i9" class="rowColor"> <td class="colFirst"><code>static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ArrayUtils.html#toArray-java.util.Collection-java.lang.Class-">toArray</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><T> c, +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ArrayUtils.html#toArray-java.util.Collection-java.lang.Class-">toArray</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> c, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> componentType)</code> <div class="block">Converts the specified collection to an array.</div> </td> </tr> <tr id="i10" class="altColor"> +<td class="colFirst"><code>static <T> T[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ArrayUtils.html#toObjectArray-java.util.Collection-java.lang.Class-">toObjectArray</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> c, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> componentType)</code> +<div class="block">Shortcut for calling <code>myList.toArray(new T[myList.size()]);</code></div> +</td> +</tr> +<tr id="i11" class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ArrayUtils.html#toPrimitiveArray-java.lang.Object-">toPrimitiveArray</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> <div class="block">Converts a primitive wrapper array (e.g.</div> @@ -386,7 +393,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>toArray</h4> -<pre>public static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../src-html/org/apache/juneau/internal/ArrayUtils.html#line.198">toArray</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><T> c, +<pre>public static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../src-html/org/apache/juneau/internal/ArrayUtils.html#line.198">toArray</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> c, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> componentType)</pre> <div class="block">Converts the specified collection to an array. Works on both object and primitive arrays.</div> @@ -399,13 +406,31 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </dl> </li> </ul> +<a name="toObjectArray-java.util.Collection-java.lang.Class-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>toObjectArray</h4> +<pre>public static <T> T[] <a href="../../../../src-html/org/apache/juneau/internal/ArrayUtils.html#line.215">toObjectArray</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> c, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> componentType)</pre> +<div class="block">Shortcut for calling <code>myList.toArray(new T[myList.size()]);</code></div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>c</code> - The collection being converted to an array.</dd> +<dd><code>componentType</code> - The component type of the array.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The collection converted to an array.</dd> +</dl> +</li> +</ul> <a name="copyToList-java.lang.Object-java.util.List-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>copyToList</h4> -<pre>public static void <a href="../../../../src-html/org/apache/juneau/internal/ArrayUtils.html#line.215">copyToList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> array, +<pre>public static void <a href="../../../../src-html/org/apache/juneau/internal/ArrayUtils.html#line.232">copyToList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> array, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a> list)</pre> <div class="block">Copies the specified array into the specified list. Works on both object and primitive arrays.</div> @@ -424,7 +449,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>contains</h4> -<pre>public static <T> boolean <a href="../../../../src-html/org/apache/juneau/internal/ArrayUtils.html#line.232">contains</a>(T element, +<pre>public static <T> boolean <a href="../../../../src-html/org/apache/juneau/internal/ArrayUtils.html#line.249">contains</a>(T element, T[] array)</pre> <div class="block">Returns <jk>true</jk> if the specified array contains the specified element using the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang"><code>Object.equals(Object)</code></a> method.</div> @@ -446,7 +471,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>indexOf</h4> -<pre>public static <T> int <a href="../../../../src-html/org/apache/juneau/internal/ArrayUtils.html#line.245">indexOf</a>(T element, +<pre>public static <T> int <a href="../../../../src-html/org/apache/juneau/internal/ArrayUtils.html#line.262">indexOf</a>(T element, T[] array)</pre> <div class="block">Returns the index position of the element in the specified array using the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang"><code>Object.equals(Object)</code></a> method.</div> @@ -466,7 +491,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>toPrimitiveArray</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../src-html/org/apache/juneau/internal/ArrayUtils.html#line.263">toPrimitiveArray</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../src-html/org/apache/juneau/internal/ArrayUtils.html#line.280">toPrimitiveArray</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> <div class="block">Converts a primitive wrapper array (e.g. <code>Integer[]</code>) to a primitive array (e.g. <code><jk>int</jk>[]</code>).</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1809c234/content/site/apidocs/org/apache/juneau/internal/ClassUtils.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/internal/ClassUtils.html b/content/site/apidocs/org/apache/juneau/internal/ClassUtils.html index e61cec9..bb8ff0f 100644 --- a/content/site/apidocs/org/apache/juneau/internal/ClassUtils.html +++ b/content/site/apidocs/org/apache/juneau/internal/ClassUtils.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9}; +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -175,86 +175,115 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </td> </tr> <tr id="i1" class="rowColor"> +<td class="colFirst"><code>static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#findPublicConstructor-java.lang.Class-java.lang.Class...-">findPublicConstructor</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... parameterTypes)</code> +<div class="block">Finds a public constructor with the specified parameters without throwing an exception.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#findPublicConstructor-java.lang.Class-java.lang.Object...-">findPublicConstructor</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code> +<div class="block">Finds the public constructor that can take in the specified arguments.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#findPublicMethod-java.lang.Class-java.lang.String-java.lang.Class-java.lang.Class...-">findPublicMethod</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> returnType, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... parameterTypes)</code> +<div class="block">Finds a public method with the specified parameters.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getClasses-java.lang.Object...-">getClasses</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code> +<div class="block">Returns the class types for the specified arguments.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getClassFromReadableName-java.lang.ClassLoader-java.lang.String-">getClassFromReadableName</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> cl, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> <div class="block">Converts the string generated by <a href="../../../../org/apache/juneau/internal/ClassUtils.html#getReadableClassName-java.lang.Class-"><code>getReadableClassName(Class)</code></a> back into a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>.</div> </td> </tr> -<tr id="i2" class="altColor"> +<tr id="i6" class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getMethodSignature-java.lang.reflect.Method-">getMethodSignature</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</code> <div class="block">Returns the signature of the specified method.</div> </td> </tr> -<tr id="i3" class="rowColor"> +<tr id="i7" class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getPrimitiveForWrapper-java.lang.Class-">getPrimitiveForWrapper</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> <div class="block">If the specified class is a primitive wrapper (e.g.</div> </td> </tr> -<tr id="i4" class="altColor"> +<tr id="i8" class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getPrimitiveWrapper-java.lang.Class-">getPrimitiveWrapper</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> <div class="block">If the specified class is a primitive (e.g.</div> </td> </tr> -<tr id="i5" class="rowColor"> +<tr id="i9" class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getReadableClassName-java.lang.Class-">getReadableClassName</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> <div class="block">Shortcut for calling <code><jsm>getReadableClassName</jsm>(c.getName())</code></div> </td> </tr> -<tr id="i6" class="altColor"> +<tr id="i10" class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getReadableClassName-java.lang.String-">getReadableClassName</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> className)</code> <div class="block">Converts the specified class name to a readable form when class name is a special construct like <js>"[[Z"</js>.</div> </td> </tr> -<tr id="i7" class="rowColor"> +<tr id="i11" class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getReadableClassNameForObject-java.lang.Object-">getReadableClassNameForObject</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> <div class="block">Shortcut for calling <code><jsm>getReadableClassName</jsm>(c.getClass().getName())</code></div> </td> </tr> -<tr id="i8" class="altColor"> +<tr id="i12" class="altColor"> <td class="colFirst"><code>static <a href="../../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getReadableClassNames-java.lang.Object:A-">getReadableClassNames</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] o)</code> <div class="block">Given the specified list of objects, return readable names for the class types of the objects.</div> </td> </tr> -<tr id="i9" class="rowColor"> +<tr id="i13" class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getWrapperIfPrimitive-java.lang.Class-">getWrapperIfPrimitive</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> <div class="block">If the specified class is a primitive (e.g.</div> </td> </tr> -<tr id="i10" class="altColor"> +<tr id="i14" class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isNotDeprecated-java.lang.Class-">isNotDeprecated</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> <div class="block">Returns <jk>true</jk> if the specified class has the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang"><code>@Deprecated</code></a> annotation on it.</div> </td> </tr> -<tr id="i11" class="rowColor"> +<tr id="i15" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isNotDeprecated-java.lang.reflect.Constructor-">isNotDeprecated</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> c)</code> <div class="block">Returns <jk>true</jk> if the specified constructor has the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang"><code>@Deprecated</code></a> annotation on it.</div> </td> </tr> -<tr id="i12" class="altColor"> +<tr id="i16" class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isNotDeprecated-java.lang.reflect.Method-">isNotDeprecated</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</code> <div class="block">Returns <jk>true</jk> if the specified method has the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang"><code>@Deprecated</code></a> annotation on it.</div> </td> </tr> -<tr id="i13" class="rowColor"> +<tr id="i17" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isParentClass-java.lang.Class-java.lang.Class-">isParentClass</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> parent, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> child)</code> <div class="block">Returns <jk>true</jk> if <code>parent</code> is a parent class or the same as <code>child</code>.</div> </td> </tr> -<tr id="i14" class="altColor"> +<tr id="i18" class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isParentClass-java.lang.Class-java.lang.Class-boolean-">isParentClass</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> parent, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> child, @@ -262,37 +291,37 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <div class="block">Returns <jk>true</jk> if <code>parent</code> is a parent class of <code>child</code>.</div> </td> </tr> -<tr id="i15" class="rowColor"> +<tr id="i19" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isPublic-java.lang.Class-">isPublic</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> <div class="block">Returns <jk>true</jk> if the specified class is public.</div> </td> </tr> -<tr id="i16" class="altColor"> +<tr id="i20" class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isPublic-java.lang.reflect.Constructor-">isPublic</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> c)</code> <div class="block">Returns <jk>true</jk> if the specified constructor is public.</div> </td> </tr> -<tr id="i17" class="rowColor"> +<tr id="i21" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isPublic-java.lang.reflect.Method-">isPublic</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</code> <div class="block">Returns <jk>true</jk> if the specified method is public.</div> </td> </tr> -<tr id="i18" class="altColor"> +<tr id="i22" class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isStatic-java.lang.Class-">isStatic</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> <div class="block">Returns <jk>true</jk> if the specified class is public.</div> </td> </tr> -<tr id="i19" class="rowColor"> +<tr id="i23" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isStatic-java.lang.reflect.Method-">isStatic</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</code> <div class="block">Returns <jk>true</jk> if the specified method is static.</div> </td> </tr> -<tr id="i20" class="altColor"> +<tr id="i24" class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#resolveParameterType-java.lang.Class-int-java.lang.Class-">resolveParameterType</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c, int index, @@ -695,7 +724,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <a name="resolveParameterType-java.lang.Class-int-java.lang.Class-"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>resolveParameterType</h4> <pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.352">resolveParameterType</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c, @@ -712,6 +741,86 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </dl> </li> </ul> +<a name="findPublicMethod-java.lang.Class-java.lang.String-java.lang.Class-java.lang.Class...-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findPublicMethod</h4> +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.442">findPublicMethod</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> returnType, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... parameterTypes)</pre> +<div class="block">Finds a public method with the specified parameters.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>c</code> - The class to look for the method.</dd> +<dd><code>name</code> - The method name.</dd> +<dd><code>returnType</code> - The return type of the method. + Can be a super type of the actual return type. + For example, if the actual return type is <code>CharSequence</code>, then <code>Object</code> will match but <code>String</code> will not.</dd> +<dd><code>parameterTypes</code> - The parameter types of the method. + Can be subtypes of the actual parameter types. + For example, if the parameter type is <code>CharSequence</code>, then <code>String</code> will match but <code>Object</code> will not.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The matched method, or <jk>null</jk> if no match was found.</dd> +</dl> +</li> +</ul> +<a name="findPublicConstructor-java.lang.Class-java.lang.Class...-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findPublicConstructor</h4> +<pre>public static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.474">findPublicConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... parameterTypes)</pre> +<div class="block">Finds a public constructor with the specified parameters without throwing an exception.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>c</code> - The class to search for a constructor.</dd> +<dd><code>parameterTypes</code> - The parameter types in the constructor. + Can be subtypes of the actual constructor argument types.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The matching constructor, or <jk>null</jk> if constructor could not be found.</dd> +</dl> +</li> +</ul> +<a name="findPublicConstructor-java.lang.Class-java.lang.Object...-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findPublicConstructor</h4> +<pre>public static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.502">findPublicConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</pre> +<div class="block">Finds the public constructor that can take in the specified arguments.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>c</code> - The class we're trying to construct.</dd> +<dd><code>args</code> - The arguments we want to pass into the constructor.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The constructor, or <jk>null</jk> if a public constructor could not be found that takes + in the specified arguments.</dd> +</dl> +</li> +</ul> +<a name="getClasses-java.lang.Object...-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getClasses</h4> +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[] <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.512">getClasses</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</pre> +<div class="block">Returns the class types for the specified arguments.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>args</code> - The objects we're getting the classes of.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The classes of the arguments.</dd> +</dl> +</li> +</ul> </li> </ul> </li> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1809c234/content/site/apidocs/org/apache/juneau/internal/CollectionUtils.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/internal/CollectionUtils.html b/content/site/apidocs/org/apache/juneau/internal/CollectionUtils.html index 6b9586f..248e641 100644 --- a/content/site/apidocs/org/apache/juneau/internal/CollectionUtils.html +++ b/content/site/apidocs/org/apache/juneau/internal/CollectionUtils.html @@ -155,7 +155,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>static <K,V> <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</a><K,V></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/CollectionUtils.html#reverse-java.util.LinkedHashMap-">reverse</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</a><K,V> in)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/CollectionUtils.html#reverse-java.util.Map-">reverse</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V> in)</code> <div class="block">Reverses the order of a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util"><code>LinkedHashMap</code></a>.</div> </td> </tr> @@ -198,13 +198,13 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <!-- --> </a> <h3>Method Detail</h3> -<a name="reverse-java.util.LinkedHashMap-"> +<a name="reverse-java.util.Map-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>reverse</h4> -<pre>public static <K,V> <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</a><K,V> <a href="../../../../src-html/org/apache/juneau/internal/CollectionUtils.html#line.28">reverse</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</a><K,V> in)</pre> +<pre>public static <K,V> <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</a><K,V> <a href="../../../../src-html/org/apache/juneau/internal/CollectionUtils.html#line.28">reverse</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V> in)</pre> <div class="block">Reverses the order of a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util"><code>LinkedHashMap</code></a>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt>
