| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="it"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_171) on Thu Jun 14 10:06:03 CEST 2018 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>Options (OpenJPA Parent POM 3.0.0 API)</title> |
| <meta name="date" content="2018-06-14"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Options (OpenJPA Parent POM 3.0.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Options.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/openjpa/lib/util/MultiClassLoader.html" title="class in org.apache.openjpa.lib.util"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/openjpa/lib/util/OrderedMap.html" title="class in org.apache.openjpa.lib.util"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/openjpa/lib/util/Options.html" target="_top">Frames</a></li> |
| <li><a href="Options.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.openjpa.lib.util</div> |
| <h2 title="Class Options" class="title">Class Options</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Dictionary.html?is-external=true" title="class or interface in java.util">java.util.Dictionary</a><K,V></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">java.util.Hashtable</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">java.util.Properties</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html" title="class in org.apache.openjpa.lib.util">org.apache.openjpa.lib.util.TypedProperties</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.openjpa.lib.util.Options</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">Options</span> |
| extends <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html" title="class in org.apache.openjpa.lib.util">TypedProperties</a></pre> |
| <div class="block">A specialization of the <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util"><code>Properties</code></a> map type with the added |
| abilities to read application options from the command line and to |
| use bean patterns to set an object's properties via command-line the |
| stored mappings. |
| A typical use pattern for this class is to construct a new instance |
| in the <code>main</code> method, then call <a href="../../../../../org/apache/openjpa/lib/util/Options.html#setFromCmdLine-java.lang.String:A-"><code>setFromCmdLine(java.lang.String[])</code></a> with the |
| given args. Next, an instanceof the class being invoked is created, and |
| <a href="../../../../../org/apache/openjpa/lib/util/Options.html#setInto-java.lang.Object-"><code>setInto(java.lang.Object)</code></a> is called with that instance as a parameter. With this |
| pattern, the user can configure any bean properties of the class, or even |
| properties of classes reachable from the class, through the command line.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd>Abe White</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../serialized-form.html#org.apache.openjpa.lib.util.Options">Serialized Form</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/openjpa/lib/util/Options.html" title="class in org.apache.openjpa.lib.util">Options</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#EMPTY">EMPTY</a></span></code> |
| <div class="block">Immutable empty instance.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.java.util.Properties"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class java.util.<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a></h3> |
| <code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#defaults" title="class or interface in java.util">defaults</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#Options--">Options</a></span>()</code> |
| <div class="block">Default constructor.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#Options-java.util.Properties-">Options</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a> defaults)</code> |
| <div class="block">Construct the options instance with the given set of defaults.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#findOptionsFor-java.lang.Class-">findOptionsFor</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</code> |
| <div class="block">Finds all the options that can be set on the provided class.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#getBooleanProperty-java.lang.String-java.lang.String-boolean-">getBooleanProperty</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| boolean def)</code> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/Options.html#getBooleanProperty-java.lang.String-java.lang.String-boolean-"><code>getBooleanProperty(java.lang.String, java.lang.String, boolean)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#getDoubleProperty-java.lang.String-java.lang.String-double-">getDoubleProperty</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| double def)</code> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getDoubleProperty-java.lang.String-"><code>TypedProperties.getDoubleProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>float</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#getFloatProperty-java.lang.String-java.lang.String-float-">getFloatProperty</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| float def)</code> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getFloatProperty-java.lang.String-"><code>TypedProperties.getFloatProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#getIntProperty-java.lang.String-java.lang.String-int-">getIntProperty</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| int def)</code> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getIntProperty-java.lang.String-"><code>TypedProperties.getIntProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#getLongProperty-java.lang.String-java.lang.String-long-">getLongProperty</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| long def)</code> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getLongProperty-java.lang.String-"><code>TypedProperties.getLongProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#getProperty-java.lang.String-java.lang.String-java.lang.String-">getProperty</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> def)</code> |
| <div class="block">Specialization of <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#getProperty-java.lang.String-" title="class or interface in java.util"><code>Properties.getProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#removeBooleanProperty-java.lang.String-java.lang.String-boolean-">removeBooleanProperty</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| boolean def)</code> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeBooleanProperty-java.lang.String-"><code>TypedProperties.removeBooleanProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#removeDoubleProperty-java.lang.String-java.lang.String-double-">removeDoubleProperty</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| double def)</code> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeDoubleProperty-java.lang.String-"><code>TypedProperties.removeDoubleProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>float</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#removeFloatProperty-java.lang.String-java.lang.String-float-">removeFloatProperty</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| float def)</code> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeFloatProperty-java.lang.String-"><code>TypedProperties.removeFloatProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#removeIntProperty-java.lang.String-java.lang.String-int-">removeIntProperty</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| int def)</code> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeIntProperty-java.lang.String-"><code>TypedProperties.removeIntProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#removeLongProperty-java.lang.String-java.lang.String-long-">removeLongProperty</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| long def)</code> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeLongProperty-java.lang.String-"><code>TypedProperties.removeLongProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#removeProperty-java.lang.String-java.lang.String-java.lang.String-">removeProperty</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> def)</code> |
| <div class="block">Specialization of <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#remove-java.lang.Object-" title="class or interface in java.util"><code>Hashtable.remove(Object)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#setFromCmdLine-java.lang.String:A-">setFromCmdLine</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] args)</code> |
| <div class="block">Parses the given argument list into flag/value pairs, which are stored |
| as properties.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/Options.html" title="class in org.apache.openjpa.lib.util">Options</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/lib/util/Options.html#setInto-java.lang.Object-">setInto</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</code> |
| <div class="block">This method uses reflection to set all the properties in the given |
| object that are named by the keys in this map.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.openjpa.lib.util.TypedProperties"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.openjpa.lib.util.<a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html" title="class in org.apache.openjpa.lib.util">TypedProperties</a></h3> |
| <code><a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getBooleanProperty-java.lang.String-">getBooleanProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getBooleanProperty-java.lang.String-boolean-">getBooleanProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getDoubleProperty-java.lang.String-">getDoubleProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getDoubleProperty-java.lang.String-double-">getDoubleProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getFloatProperty-java.lang.String-">getFloatProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getFloatProperty-java.lang.String-float-">getFloatProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getIntProperty-java.lang.String-">getIntProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getIntProperty-java.lang.String-int-">getIntProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getLongProperty-java.lang.String-">getLongProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getLongProperty-java.lang.String-long-">getLongProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeBooleanProperty-java.lang.String-">removeBooleanProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeBooleanProperty-java.lang.String-boolean-">removeBooleanProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeDoubleProperty-java.lang.String-">removeDoubleProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeDoubleProperty-java.lang.String-double-">removeDoubleProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeFloatProperty-java.lang.String-">removeFloatProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeFloatProperty-java.lang.String-float-">removeFloatProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeIntProperty-java.lang.String-">removeIntProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeIntProperty-java.lang.String-int-">removeIntProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeLongProperty-java.lang.String-">removeLongProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeLongProperty-java.lang.String-long-">removeLongProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeProperty-java.lang.String-">removeProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeProperty-java.lang.String-java.lang.String-">removeProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#setProperty-java.lang.String-boolean-">setProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#setProperty-java.lang.String-double-">setProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#setProperty-java.lang.String-float-">setProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#setProperty-java.lang.String-int-">setProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#setProperty-java.lang.String-long-">setProperty</a>, <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#setProperty-java.lang.String-java.lang.String-">setProperty</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.util.Properties"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.util.<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a></h3> |
| <code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#getProperty-java.lang.String-" title="class or interface in java.util">getProperty</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#getProperty-java.lang.String-java.lang.String-" title="class or interface in java.util">getProperty</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#list-java.io.PrintStream-" title="class or interface in java.util">list</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#list-java.io.PrintWriter-" title="class or interface in java.util">list</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#load-java.io.InputStream-" title="class or interface in java.util">load</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#load-java.io.Reader-" title="class or interface in java.util">load</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#loadFromXML-java.io.InputStream-" title="class or interface in java.util">loadFromXML</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#propertyNames--" title="class or interface in java.util">propertyNames</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#save-java.io.OutputStream-java.lang.String-" title="class or interface in java.util">save</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#store-java.io.OutputStream-java.lang.String-" title="class or interface in java.util">store</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#store-java.io.Writer-java.lang.String-" title="class or interface in java.util">store</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#storeToXML-java.io.OutputStream-java.lang.String-" title="class or interface in java.util">storeToXML</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#storeToXML-java.io.OutputStream-java.lang.String-java.lang.String-" title="class or interface in java.util">storeToXML</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#stringPropertyNames--" title="class or interface in java.util">stringPropertyNames</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.util.Hashtable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.util.<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a></h3> |
| <code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#clear--" title="class or interface in java.util">clear</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#clone--" title="class or interface in java.util">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#compute-K-java.util.function.BiFunction-" title="class or interface in java.util">compute</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#computeIfAbsent-K-java.util.function.Function-" title="class or interface in java.util">computeIfAbsent</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#computeIfPresent-K-java.util.function.BiFunction-" title="class or interface in java.util">computeIfPresent</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#contains-java.lang.Object-" title="class or interface in java.util">contains</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#containsKey-java.lang.Object-" title="class or interface in java.util">containsKey</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#containsValue-java.lang.Object-" title="class or interface in java.util">containsValue</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#elements--" title="class or interface in java.util">elements</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#entrySet--" title="class or interface in java.util">entrySet</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#forEach-java.util.function.BiConsumer-" title="class or interface in java.util">forEach</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util">get</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#getOrDefault-java.lang.Object-V-" title="class or interface in java.util">getOrDefault</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#isEmpty--" title="class or interface in java.util">isEmpty</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#keys--" title="class or interface in java.util">keys</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#keySet--" title="class or interface in java.util">keySet</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#merge-K-V-java.util.function.BiFunction-" title="class or interface in java.util">merge</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#put-K-V-" title="class or interface in java.util">put</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#putAll-java.util.Map-" title="class or interface in java.util">putAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#putIfAbsent-K-V-" title="class or interface in java.util">putIfAbsent</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#rehash--" title="class or interface in java.util">rehash</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#remove-java.lang.Object-" title="class or interface in java.util">remove</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#remove-java.lang.Object-java.lang.Object-" title="class or interface in java.util">remove</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#replace-K-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#replace-K-V-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#replaceAll-java.util.function.BiFunction-" title="class or interface in java.util">replaceAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#size--" title="class or interface in java.util">size</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#toString--" title="class or interface in java.util">toString</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#values--" title="class or interface in java.util">values</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="EMPTY"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>EMPTY</h4> |
| <pre>public static <a href="../../../../../org/apache/openjpa/lib/util/Options.html" title="class in org.apache.openjpa.lib.util">Options</a> EMPTY</pre> |
| <div class="block">Immutable empty instance.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="Options--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Options</h4> |
| <pre>public Options()</pre> |
| <div class="block">Default constructor.</div> |
| </li> |
| </ul> |
| <a name="Options-java.util.Properties-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>Options</h4> |
| <pre>public Options(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a> defaults)</pre> |
| <div class="block">Construct the options instance with the given set of defaults.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#Properties-java.util.Properties-" title="class or interface in java.util"><code>Properties.Properties(Properties)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="setFromCmdLine-java.lang.String:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFromCmdLine</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] setFromCmdLine(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] args)</pre> |
| <div class="block">Parses the given argument list into flag/value pairs, which are stored |
| as properties. Flags that are present without values are given |
| the value "true". If any flag is found for which there is already |
| a mapping present, the existing mapping will be overwritten. |
| Flags should be of the form:<br /> |
| <code>java Foo -flag1 value1 -flag2 value2 ... arg1 arg2 ...</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>args</code> - the command-line arguments</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all arguments in the original array beyond the |
| flag/value pair list</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setInto-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setInto</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/Options.html" title="class in org.apache.openjpa.lib.util">Options</a> setInto(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</pre> |
| <div class="block">This method uses reflection to set all the properties in the given |
| object that are named by the keys in this map. For a given key 'foo', |
| the algorithm will look for a 'setFoo' method in the given instance. |
| For a given key 'foo.bar', the algorithm will first look for a |
| 'getFoo' method in the given instance, then will recurse on the return |
| value of that method, now looking for the 'bar' property. This allows |
| the setting of nested object properties. If in the above example the |
| 'getFoo' method is not present or returns null, the algorithm will |
| look for a 'setFoo' method; if found it will constrct a new instance |
| of the correct type, set it using the 'setFoo' method, then recurse on |
| it as above. Property names can be nested in this way to an arbitrary |
| depth. For setter methods that take multiple parameters, the value |
| mapped to the key can use the ',' as an argument separator character. |
| If not enough values are present for a given method after splitting |
| the string on ',', the remaining arguments will receive default |
| values. All arguments are converted from string form to the |
| correct type if possible(i.e. if the type is primitive, |
| java.lang.Clas, or has a constructor that takes a single string |
| argument). Examples: |
| <ul> |
| <li>Map Entry: <code>"age"->"12"</code><br /> |
| Resultant method call: <code>obj.setAge(12)</code></li> |
| <li>Map Entry: <code>"range"->"1,20"</code><br /> |
| Resultant method call: <code>obj.setRange(1, 20)</code></li> |
| <li>Map Entry: <code>"range"->"10"</code><br /> |
| Resultant method call: <code>obj.setRange(10, 10)</code></li> |
| <li>Map Entry: <code>"brother.name"->"Bob"</code><br /> |
| Resultant method call: <code>obj.getBrother().setName("Bob") |
| <code></li> |
| </ul> |
| Any keys present in the map for which there is no |
| corresponding property in the given object will be ignored, |
| and will be returned in the <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> returned by this method.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an <a href="../../../../../org/apache/openjpa/lib/util/Options.html" title="class in org.apache.openjpa.lib.util"><code>Options</code></a> of key-value pairs in this object |
| for which no setters could be found.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</a></code> - on parse error</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="findOptionsFor-java.lang.Class-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findOptionsFor</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> findOptionsFor(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</pre> |
| <div class="block">Finds all the options that can be set on the provided class. This does |
| not look for path-traversal expressions.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type</code> - The class for which available options should be listed.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The available option names in <code>type</code>. The |
| names will have initial caps. They will be ordered alphabetically.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getBooleanProperty-java.lang.String-java.lang.String-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBooleanProperty</h4> |
| <pre>public boolean getBooleanProperty(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| boolean def)</pre> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/Options.html#getBooleanProperty-java.lang.String-java.lang.String-boolean-"><code>getBooleanProperty(java.lang.String, java.lang.String, boolean)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </li> |
| </ul> |
| <a name="getFloatProperty-java.lang.String-java.lang.String-float-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFloatProperty</h4> |
| <pre>public float getFloatProperty(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| float def)</pre> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getFloatProperty-java.lang.String-"><code>TypedProperties.getFloatProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </li> |
| </ul> |
| <a name="getDoubleProperty-java.lang.String-java.lang.String-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDoubleProperty</h4> |
| <pre>public double getDoubleProperty(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| double def)</pre> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getDoubleProperty-java.lang.String-"><code>TypedProperties.getDoubleProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </li> |
| </ul> |
| <a name="getLongProperty-java.lang.String-java.lang.String-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLongProperty</h4> |
| <pre>public long getLongProperty(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| long def)</pre> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getLongProperty-java.lang.String-"><code>TypedProperties.getLongProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </li> |
| </ul> |
| <a name="getIntProperty-java.lang.String-java.lang.String-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIntProperty</h4> |
| <pre>public int getIntProperty(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| int def)</pre> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#getIntProperty-java.lang.String-"><code>TypedProperties.getIntProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </li> |
| </ul> |
| <a name="getProperty-java.lang.String-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProperty</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getProperty(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> def)</pre> |
| <div class="block">Specialization of <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true#getProperty-java.lang.String-" title="class or interface in java.util"><code>Properties.getProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </li> |
| </ul> |
| <a name="removeBooleanProperty-java.lang.String-java.lang.String-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeBooleanProperty</h4> |
| <pre>public boolean removeBooleanProperty(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| boolean def)</pre> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeBooleanProperty-java.lang.String-"><code>TypedProperties.removeBooleanProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </li> |
| </ul> |
| <a name="removeFloatProperty-java.lang.String-java.lang.String-float-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeFloatProperty</h4> |
| <pre>public float removeFloatProperty(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| float def)</pre> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeFloatProperty-java.lang.String-"><code>TypedProperties.removeFloatProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </li> |
| </ul> |
| <a name="removeDoubleProperty-java.lang.String-java.lang.String-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeDoubleProperty</h4> |
| <pre>public double removeDoubleProperty(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| double def)</pre> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeDoubleProperty-java.lang.String-"><code>TypedProperties.removeDoubleProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </li> |
| </ul> |
| <a name="removeLongProperty-java.lang.String-java.lang.String-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeLongProperty</h4> |
| <pre>public long removeLongProperty(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| long def)</pre> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeLongProperty-java.lang.String-"><code>TypedProperties.removeLongProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </li> |
| </ul> |
| <a name="removeIntProperty-java.lang.String-java.lang.String-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeIntProperty</h4> |
| <pre>public int removeIntProperty(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| int def)</pre> |
| <div class="block">Specialization of <a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html#removeIntProperty-java.lang.String-"><code>TypedProperties.removeIntProperty(java.lang.String)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </li> |
| </ul> |
| <a name="removeProperty-java.lang.String-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>removeProperty</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> removeProperty(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key2, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> def)</pre> |
| <div class="block">Specialization of <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true#remove-java.lang.Object-" title="class or interface in java.util"><code>Hashtable.remove(Object)</code></a> to allow |
| a value to appear under either of two keys; useful for short and |
| long versions of command-line flags.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Options.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/openjpa/lib/util/MultiClassLoader.html" title="class in org.apache.openjpa.lib.util"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/openjpa/lib/util/OrderedMap.html" title="class in org.apache.openjpa.lib.util"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/openjpa/lib/util/Options.html" target="_top">Frames</a></li> |
| <li><a href="Options.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2006–2018 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |