http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1809c234/content/site/apidocs/org/apache/juneau/internal/DelegateBeanMap.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/internal/DelegateBeanMap.html b/content/site/apidocs/org/apache/juneau/internal/DelegateBeanMap.html index cbc40c8..5bbf729 100644 --- a/content/site/apidocs/org/apache/juneau/internal/DelegateBeanMap.html +++ b/content/site/apidocs/org/apache/juneau/internal/DelegateBeanMap.html @@ -368,7 +368,7 @@ extends <a href="../../../../org/apache/juneau/BeanMap.html" title="class in org Person p = <jk>new</jk> Person(); <jc>// Create a bean context and add the ISO8601 date-time swap</jc> - BeanContext beanContext = <jk>new</jk> BeanContext().addPojoSwaps(DateSwap.ISO8601DT.<jk>class</jk>); + BeanContext beanContext = <jk>new</jk> BeanContext().pojoSwaps(DateSwap.ISO8601DT.<jk>class</jk>); <jc>// Wrap our bean in a bean map</jc> BeanMap<Person> b = beanContext.forBean(p); @@ -414,7 +414,7 @@ extends <a href="../../../../org/apache/juneau/BeanMap.html" title="class in org p.setBirthDate(<jk>new</jk> Date(1, 2, 3, 4, 5, 6)); <jc>// Create a bean context and add the ISO8601 date-time swap</jc> - BeanContext beanContext = <jk>new</jk> BeanContext().addPojoSwaps(DateSwap.ISO8601DT.<jk>class</jk>); + BeanContext beanContext = <jk>new</jk> BeanContext().pojoSwaps(DateSwap.ISO8601DT.<jk>class</jk>); <jc>// Wrap our bean in a bean map</jc> BeanMap<Person> b = beanContext.forBean(p);
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1809c234/content/site/apidocs/org/apache/juneau/internal/IOUtils.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/internal/IOUtils.html b/content/site/apidocs/org/apache/juneau/internal/IOUtils.html index 44e3700..1cc0514 100644 --- a/content/site/apidocs/org/apache/juneau/internal/IOUtils.html +++ b/content/site/apidocs/org/apache/juneau/internal/IOUtils.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}; +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 tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -281,13 +281,19 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </td> </tr> <tr id="i18" class="altColor"> +<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/IOUtils.html#toInputStream-java.lang.Object-">toInputStream</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 an object to an <code>InputStream</code>.</div> +</td> +</tr> +<tr id="i19" class="rowColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/IOUtils.html#write-java.io.File-java.io.InputStream-">write</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> out, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> in)</code> <div class="block">Writes the contents of the specified <code>InputStream</code> to the specified file.</div> </td> </tr> -<tr id="i19" class="rowColor"> +<tr id="i20" class="altColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/IOUtils.html#write-java.io.File-java.io.Reader-">write</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> out, <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> in)</code> @@ -712,7 +718,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <a name="closeQuietly-java.lang.Object...-"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>closeQuietly</h4> <pre>public static void <a href="../../../../src-html/org/apache/juneau/internal/IOUtils.html#line.352">closeQuietly</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> @@ -723,6 +729,34 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </dl> </li> </ul> +<a name="toInputStream-java.lang.Object-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toInputStream</h4> +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> <a href="../../../../src-html/org/apache/juneau/internal/IOUtils.html#line.381">toInputStream</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) + 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">Converts an object to an <code>InputStream</code>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>o</code> - The object to convert to an input stream. + Can be any of the following: + <ul> + <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> + <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a> + <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io"><code>File</code></a> + <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang"><code>CharSequence</code></a> - Converted to UTF-8 stream. + <li><code><jk>byte</jk>[]</code> + <li><code><jk>null</jk></code> - Returns null. + </ul></dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The object converted to an input stream.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><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></code> - If invalid object passed in or file could not be read.</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/JuneauLogger.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/internal/JuneauLogger.html b/content/site/apidocs/org/apache/juneau/internal/JuneauLogger.html index b4d4a9a..c49fe16 100644 --- a/content/site/apidocs/org/apache/juneau/internal/JuneauLogger.html +++ b/content/site/apidocs/org/apache/juneau/internal/JuneauLogger.html @@ -327,7 +327,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockListLast"> <li class="blockList"> <h4>JuneauLogger</h4> -<pre>protected <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.93">JuneauLogger</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logger.html?is-external=true" title="class or interface in java.util.logging">Logger</a> innerLogger)</pre> +<pre>protected <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.95">JuneauLogger</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logger.html?is-external=true" title="class or interface in java.util.logging">Logger</a> innerLogger)</pre> <div class="block">Constructor.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -349,7 +349,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>getLogger</h4> -<pre>public static <a href="../../../../org/apache/juneau/internal/JuneauLogger.html" title="class in org.apache.juneau.internal">JuneauLogger</a> <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.50">getLogger</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><?> forClass)</pre> +<pre>public static <a href="../../../../org/apache/juneau/internal/JuneauLogger.html" title="class in org.apache.juneau.internal">JuneauLogger</a> <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.52">getLogger</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><?> forClass)</pre> <div class="block">Get logger for specified class.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -365,7 +365,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>getLogger</h4> -<pre>public static <a href="../../../../org/apache/juneau/internal/JuneauLogger.html" title="class in org.apache.juneau.internal">JuneauLogger</a> <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.67">getLogger</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><?> forClass, +<pre>public static <a href="../../../../org/apache/juneau/internal/JuneauLogger.html" title="class in org.apache.juneau.internal">JuneauLogger</a> <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.69">getLogger</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><?> forClass, <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> resourceBundleName)</pre> <div class="block">Get logger for specified class using the specified resource bundle name.</div> <dl> @@ -389,7 +389,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>getLogger</h4> -<pre>public static <a href="../../../../org/apache/juneau/internal/JuneauLogger.html" title="class in org.apache.juneau.internal">JuneauLogger</a> <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.84">getLogger</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 static <a href="../../../../org/apache/juneau/internal/JuneauLogger.html" title="class in org.apache.juneau.internal">JuneauLogger</a> <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.86">getLogger</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/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> resourceBundleName)</pre> <div class="block">Get logger with specified name using the specified resource bundle name.</div> <dl> @@ -413,7 +413,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>severe</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.105">severe</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> msg, +<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.107">severe</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> msg, <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">Logs a message with the specified <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments at <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true#SEVERE" title="class or interface in java.util.logging"><code>Level.SEVERE</code></a> level.</div> <dl> @@ -429,7 +429,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>warning</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.116">warning</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> msg, +<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.118">warning</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> msg, <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">Logs a message with the specified <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments at <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true#WARNING" title="class or interface in java.util.logging"><code>Level.WARNING</code></a> level.</div> <dl> @@ -445,7 +445,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>info</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.127">info</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> msg, +<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.129">info</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> msg, <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">Logs a message with the specified <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments at <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true#INFO" title="class or interface in java.util.logging"><code>Level.INFO</code></a> level.</div> <dl> @@ -461,7 +461,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>config</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.138">config</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> msg, +<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.140">config</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> msg, <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">Logs a message with the specified <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments at <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true#CONFIG" title="class or interface in java.util.logging"><code>Level.CONFIG</code></a> level.</div> <dl> @@ -477,7 +477,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>fine</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.149">fine</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> msg, +<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.151">fine</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> msg, <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">Logs a message with the specified <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments at <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true#FINE" title="class or interface in java.util.logging"><code>Level.FINE</code></a> level.</div> <dl> @@ -493,7 +493,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>finer</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.160">finer</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> msg, +<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.162">finer</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> msg, <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">Logs a message with the specified <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments at <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true#FINER" title="class or interface in java.util.logging"><code>Level.FINER</code></a> level.</div> <dl> @@ -509,7 +509,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>finest</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.171">finest</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> msg, +<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.173">finest</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> msg, <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">Logs a message with the specified <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments at <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true#FINEST" title="class or interface in java.util.logging"><code>Level.FINEST</code></a> level.</div> <dl> @@ -525,7 +525,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>severe</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.181">severe</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</pre> +<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.183">severe</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</pre> <div class="block">Logs an exception as <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true#SEVERE" title="class or interface in java.util.logging"><code>Level.SEVERE</code></a> level.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -539,7 +539,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>warning</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.191">warning</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</pre> +<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.193">warning</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</pre> <div class="block">Logs an exception as <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true#WARNING" title="class or interface in java.util.logging"><code>Level.WARNING</code></a> level.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -553,7 +553,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>severe</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.203">severe</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t, +<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.205">severe</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t, <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> msg, <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">Logs a message with the specified <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments at <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true#SEVERE" title="class or interface in java.util.logging"><code>Level.SEVERE</code></a> level.</div> @@ -571,7 +571,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>warning</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.215">warning</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t, +<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.217">warning</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t, <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> msg, <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">Logs a message with the specified <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments at <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true#WARNING" title="class or interface in java.util.logging"><code>Level.WARNING</code></a> level.</div> @@ -589,7 +589,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>info</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.227">info</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t, +<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.229">info</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t, <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> msg, <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">Logs a message with the specified <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments at <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true#INFO" title="class or interface in java.util.logging"><code>Level.INFO</code></a> level.</div> @@ -607,7 +607,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>log</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.233">log</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/LogRecord.html?is-external=true" title="class or interface in java.util.logging">LogRecord</a> record)</pre> +<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.235">log</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/LogRecord.html?is-external=true" title="class or interface in java.util.logging">LogRecord</a> record)</pre> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logger.html?is-external=true#log-java.util.logging.LogRecord-" title="class or interface in java.util.logging">log</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logger.html?is-external=true" title="class or interface in java.util.logging">Logger</a></code></dd> @@ -620,7 +620,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockList"> <li class="blockList"> <h4>isLoggable</h4> -<pre>public boolean <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.238">isLoggable</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true" title="class or interface in java.util.logging">Level</a> level)</pre> +<pre>public boolean <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.240">isLoggable</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true" title="class or interface in java.util.logging">Level</a> level)</pre> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logger.html?is-external=true#isLoggable-java.util.logging.Level-" title="class or interface in java.util.logging">isLoggable</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logger.html?is-external=true" title="class or interface in java.util.logging">Logger</a></code></dd> @@ -633,7 +633,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logg <ul class="blockListLast"> <li class="blockList"> <h4>logObjects</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.251">logObjects</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true" title="class or interface in java.util.logging">Level</a> level, +<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/JuneauLogger.html#line.253">logObjects</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true" title="class or interface in java.util.logging">Level</a> level, <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> msg, <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">Similar to <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logger.html?is-external=true#log-java.util.logging.Level-java.lang.String-java.lang.Object:A-" title="class or interface in java.util.logging"><code>Logger.log(Level, String, Object[])</code></a>, except arguments are converted to objects http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1809c234/content/site/apidocs/org/apache/juneau/internal/MultiSet.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/internal/MultiSet.html b/content/site/apidocs/org/apache/juneau/internal/MultiSet.html index 6d2df31..e9458a8 100644 --- a/content/site/apidocs/org/apache/juneau/internal/MultiSet.html +++ b/content/site/apidocs/org/apache/juneau/internal/MultiSet.html @@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab"; <div class="subNav"> <ul class="navList"> <li><a href="../../../../org/apache/juneau/internal/MultiIterable.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../org/apache/juneau/internal/ReflectionUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../org/apache/juneau/internal/ObjectUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/juneau/internal/MultiSet.html" target="_top">Frames</a></li> @@ -363,7 +363,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractSet. <div class="subNav"> <ul class="navList"> <li><a href="../../../../org/apache/juneau/internal/MultiIterable.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../org/apache/juneau/internal/ReflectionUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../org/apache/juneau/internal/ObjectUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/juneau/internal/MultiSet.html" target="_top">Frames</a></li> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1809c234/content/site/apidocs/org/apache/juneau/internal/ReflectionUtils.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/internal/ReflectionUtils.html b/content/site/apidocs/org/apache/juneau/internal/ReflectionUtils.html index 57cf636..fa22457 100644 --- a/content/site/apidocs/org/apache/juneau/internal/ReflectionUtils.html +++ b/content/site/apidocs/org/apache/juneau/internal/ReflectionUtils.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}; +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -48,7 +48,7 @@ var activeTableTab = "activeTableTab"; </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../org/apache/juneau/internal/MultiSet.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/juneau/internal/Pair.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../../org/apache/juneau/internal/SimpleMap.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> @@ -165,32 +165,39 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <td class="colFirst"><code>static <T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>><br><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><<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></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#findAnnotationsMap-java.lang.Class-java.lang.Class-">findAnnotationsMap</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> 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)</code> -<div class="block">Sames as <a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#findAnnotations-java.lang.Class-java.lang.Class-"><code>findAnnotations(Class, Class)</code></a> except returns the annotations as a map +<div class="block">Same as <a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#findAnnotations-java.lang.Class-java.lang.Class-"><code>findAnnotations(Class, Class)</code></a> except returns the annotations as a map with the keys being the class on which the annotation was found.</div> </td> </tr> <tr id="i3" class="rowColor"> +<td class="colFirst"><code>static <T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>><br><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><<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></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#findAnnotationsMapParentFirst-java.lang.Class-java.lang.Class-">findAnnotationsMapParentFirst</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> 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)</code> +<div class="block">Same as <a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#findAnnotationsMap-java.lang.Class-java.lang.Class-"><code>findAnnotationsMap(Class, Class)</code></a> except returns results in parent-to-child order.</div> +</td> +</tr> +<tr id="i4" class="altColor"> <td class="colFirst"><code>static <T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>><br><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><T></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#findAnnotationsParentFirst-java.lang.Class-java.lang.Class-">findAnnotationsParentFirst</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> 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)</code> <div class="block">Same as <a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#findAnnotations-java.lang.Class-java.lang.Class-"><code>findAnnotations(Class, Class)</code></a> but returns the list in parent-to-child order.</div> </td> </tr> -<tr id="i4" class="altColor"> +<tr id="i5" class="rowColor"> <td class="colFirst"><code>static <T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>><br>T</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#getAnnotation-java.lang.Class-java.lang.Class-">getAnnotation</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> 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)</code> <div class="block">Similar to <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true#getAnnotation-java.lang.Class-" title="class or interface in java.lang"><code>Class.getAnnotation(Class)</code></a> except also searches annotations on interfaces.</div> </td> </tr> -<tr id="i5" class="rowColor"> +<tr id="i6" class="altColor"> <td class="colFirst"><code>static <T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>><br>T</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#getDeclaredAnnotation-java.lang.Class-java.lang.Class-">getDeclaredAnnotation</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> 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)</code> <div class="block">Returns the specified annotation only if it's been declared on the specified class.</div> </td> </tr> -<tr id="i6" class="altColor"> +<tr id="i7" class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#getLocalizedResource-java.lang.Class-java.lang.String-java.util.Locale-">getLocalizedResource</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, @@ -198,7 +205,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <div class="block">Similar to <a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#getResource-java.lang.Class-java.lang.String-"><code>getResource(Class, String)</code></a> except looks for localized versions of the specified resource.</div> </td> </tr> -<tr id="i7" class="rowColor"> +<tr id="i8" class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#getResource-java.lang.Class-java.lang.String-">getResource</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)</code> @@ -338,7 +345,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <h4>findAnnotationsMap</h4> <pre>public static <T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</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><<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> <a href="../../../../src-html/org/apache/juneau/internal/ReflectionUtils.html#line.115">findAnnotationsMap</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> 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)</pre> -<div class="block">Sames as <a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#findAnnotations-java.lang.Class-java.lang.Class-"><code>findAnnotations(Class, Class)</code></a> except returns the annotations as a map +<div class="block">Same as <a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#findAnnotations-java.lang.Class-java.lang.Class-"><code>findAnnotations(Class, Class)</code></a> except returns the annotations as a map with the keys being the class on which the annotation was found. <p> Results are ordered child-to-parent.</div> @@ -349,7 +356,27 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dd><code>a</code> - The annotation class type.</dd> <dd><code>c</code> - The class being searched.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>The found matches, or an empty array if annotation was not found.</dd> +<dd>The found matches, or an empty map if annotation was not found.</dd> +</dl> +</li> +</ul> +<a name="findAnnotationsMapParentFirst-java.lang.Class-java.lang.Class-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findAnnotationsMapParentFirst</h4> +<pre>public static <T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</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><<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> <a href="../../../../src-html/org/apache/juneau/internal/ReflectionUtils.html#line.129">findAnnotationsMapParentFirst</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> 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)</pre> +<div class="block">Same as <a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#findAnnotationsMap-java.lang.Class-java.lang.Class-"><code>findAnnotationsMap(Class, Class)</code></a> except returns results in parent-to-child order.</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - The annotation class type.</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>a</code> - The annotation class type.</dd> +<dd><code>c</code> - The class being searched.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The found matches, or an empty map if annotation was not found.</dd> </dl> </li> </ul> @@ -359,7 +386,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>appendAnnotations</h4> -<pre>public static <T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> void <a href="../../../../src-html/org/apache/juneau/internal/ReflectionUtils.html#line.142">appendAnnotations</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> a, +<pre>public static <T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> void <a href="../../../../src-html/org/apache/juneau/internal/ReflectionUtils.html#line.154">appendAnnotations</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> 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/util/List.html?is-external=true" title="class or interface in java.util">List</a><T> l)</pre> <div class="block">Finds and appends the specified annotation on the specified class and superclasses/interfaces to the specified list.</div> @@ -377,7 +404,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getResource</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> <a href="../../../../src-html/org/apache/juneau/internal/ReflectionUtils.html#line.165">getResource</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, +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> <a href="../../../../src-html/org/apache/juneau/internal/ReflectionUtils.html#line.177">getResource</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)</pre> <div class="block">Similar to <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true#getResourceAsStream-java.lang.String-" title="class or interface in java.lang"><code>Class.getResourceAsStream(String)</code></a> except looks up the parent hierarchy for the existence of the specified resource.</div> @@ -396,7 +423,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>getLocalizedResource</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> <a href="../../../../src-html/org/apache/juneau/internal/ReflectionUtils.html#line.190">getLocalizedResource</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, +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> <a href="../../../../src-html/org/apache/juneau/internal/ReflectionUtils.html#line.204">getLocalizedResource</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/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> locale)</pre> <div class="block">Similar to <a href="../../../../org/apache/juneau/internal/ReflectionUtils.html#getResource-java.lang.Class-java.lang.String-"><code>getResource(Class, String)</code></a> except looks for localized versions of the specified resource. @@ -444,7 +471,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../org/apache/juneau/internal/MultiSet.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/juneau/internal/Pair.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../../org/apache/juneau/internal/SimpleMap.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1809c234/content/site/apidocs/org/apache/juneau/internal/package-frame.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/internal/package-frame.html b/content/site/apidocs/org/apache/juneau/internal/package-frame.html index a654e2b..d8da509 100644 --- a/content/site/apidocs/org/apache/juneau/internal/package-frame.html +++ b/content/site/apidocs/org/apache/juneau/internal/package-frame.html @@ -33,6 +33,8 @@ <li><a href="KeywordSet.html" title="class in org.apache.juneau.internal" target="classFrame">KeywordSet</a></li> <li><a href="MultiIterable.html" title="class in org.apache.juneau.internal" target="classFrame">MultiIterable</a></li> <li><a href="MultiSet.html" title="class in org.apache.juneau.internal" target="classFrame">MultiSet</a></li> +<li><a href="ObjectUtils.html" title="class in org.apache.juneau.internal" target="classFrame">ObjectUtils</a></li> +<li><a href="Pair.html" title="class in org.apache.juneau.internal" target="classFrame">Pair</a></li> <li><a href="ReflectionUtils.html" title="class in org.apache.juneau.internal" target="classFrame">ReflectionUtils</a></li> <li><a href="SimpleMap.html" title="class in org.apache.juneau.internal" target="classFrame">SimpleMap</a></li> <li><a href="StringBuilderWriter.html" title="class in org.apache.juneau.internal" target="classFrame">StringBuilderWriter</a></li> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1809c234/content/site/apidocs/org/apache/juneau/internal/package-summary.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/internal/package-summary.html b/content/site/apidocs/org/apache/juneau/internal/package-summary.html index a050729..d7c0efa 100644 --- a/content/site/apidocs/org/apache/juneau/internal/package-summary.html +++ b/content/site/apidocs/org/apache/juneau/internal/package-summary.html @@ -210,6 +210,18 @@ </td> </tr> <tr class="altColor"> +<td class="colFirst"><a href="../../../../org/apache/juneau/internal/ObjectUtils.html" title="class in org.apache.juneau.internal">ObjectUtils</a></td> +<td class="colLast"> +<div class="block">Object-related utility methods.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="../../../../org/apache/juneau/internal/Pair.html" title="class in org.apache.juneau.internal">Pair</a><F,S></td> +<td class="colLast"> +<div class="block">Represents a simple object pair.</div> +</td> +</tr> +<tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/juneau/internal/ReflectionUtils.html" title="class in org.apache.juneau.internal">ReflectionUtils</a></td> <td class="colLast"> <div class="block">Reflection utilities.</div> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1809c234/content/site/apidocs/org/apache/juneau/internal/package-tree.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/internal/package-tree.html b/content/site/apidocs/org/apache/juneau/internal/package-tree.html index 8dafd83..0e83b52 100644 --- a/content/site/apidocs/org/apache/juneau/internal/package-tree.html +++ b/content/site/apidocs/org/apache/juneau/internal/package-tree.html @@ -147,6 +147,7 @@ </ul> </li> <li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/MultiIterable.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">MultiIterable</span></a><E> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><T>)</li> +<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/ObjectUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">ObjectUtils</span></a></li> <li type="circle">java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><span class="typeNameLink">OutputStream</span></a> (implements java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Flushable.html?is-external=true" title="class or interface in java.io">Flushable</a>) <ul> <li type="circle">java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/ByteArrayOutputStream.html?is-external=true" title="class or interface in java.io"><span class="typeNameLink">ByteArrayOutputStream</span></a> @@ -157,6 +158,7 @@ <li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/TeeOutputStream.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">TeeOutputStream</span></a></li> </ul> </li> +<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/Pair.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Pair</span></a><F,S></li> <li type="circle">java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><span class="typeNameLink">Reader</span></a> (implements java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Readable.html?is-external=true" title="class or interface in java.lang">Readable</a>) <ul> <li type="circle">java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io"><span class="typeNameLink">BufferedReader</span></a> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1809c234/content/site/apidocs/org/apache/juneau/jena/RdfCommonContext.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/jena/RdfCommonContext.html b/content/site/apidocs/org/apache/juneau/jena/RdfCommonContext.html index 33c2b4c..d03a5e4 100644 --- a/content/site/apidocs/org/apache/juneau/jena/RdfCommonContext.html +++ b/content/site/apidocs/org/apache/juneau/jena/RdfCommonContext.html @@ -1112,8 +1112,8 @@ <h5 class='section'>Example:</h5> <p class='bcode'> - WriterSerializer s = <jk>new</jk> RdfSerializer.XmlAbbrev().setLooseCollections(<jk>true</jk>); - ReaderParser p = <jk>new</jk> RdfParser.Xml().setLooseCollections(<jk>true</jk>); + WriterSerializer s = <jk>new</jk> RdfSerializerBuilder().xmlabbrev().looseCollections(<jk>true</jk>).build(); + ReaderParser p = <jk>new</jk> RdfParserBuilder().xml().looseCollections(<jk>true</jk>).build(); List<MyBean> l = createListOfMyBeans();
