| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (version 1.7.0_121) on Fri Jan 06 19:36:42 UTC 2017 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>org.apache.openjpa.lib.util (OpenJPA Parent POM 2.4.2 API)</title> |
| <meta name="date" content="2017-01-06"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="org.apache.openjpa.lib.util (OpenJPA Parent POM 2.4.2 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.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/rop/package-summary.html">Prev Package</a></li> |
| <li><a href="../../../../../org/apache/openjpa/lib/util/concurrent/package-summary.html">Next Package</a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/openjpa/lib/util/package-summary.html" target="_top">Frames</a></li> |
| <li><a href="package-summary.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> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="header"> |
| <h1 title="Package" class="title">Package org.apache.openjpa.lib.util</h1> |
| <div class="docSummary"> |
| <div class="block"><strong>General Utilities</strong></div> |
| </div> |
| <p>See: <a href="#package_description">Description</a></p> |
| </div> |
| <div class="contentContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation"> |
| <caption><span>Interface Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Interface</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/BytecodeWriter.html" title="interface in org.apache.openjpa.lib.util">BytecodeWriter</a></td> |
| <td class="colLast"> |
| <div class="block">Control how enhanced bytecode is written.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/Clearable.html" title="interface in org.apache.openjpa.lib.util">Clearable</a></td> |
| <td class="colLast"> |
| <div class="block">Generic interface for components that can be cleared so that helpers can treat them in a generic |
| way.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util">Closeable</a></td> |
| <td class="colLast"> |
| <div class="block">Generic interface for components that can be closed so that helpers |
| can treate them in a generic way.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/EventManager.html" title="interface in org.apache.openjpa.lib.util">EventManager</a></td> |
| <td class="colLast"> |
| <div class="block">Basic event manager interface.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/ReferenceMap.html" title="interface in org.apache.openjpa.lib.util">ReferenceMap</a></td> |
| <td class="colLast"> |
| <div class="block">A <a href="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> type that can hold its keys, values, or both with |
| weak or soft references.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/SizedMap.html" title="interface in org.apache.openjpa.lib.util">SizedMap</a></td> |
| <td class="colLast"> |
| <div class="block">A <a href="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> type that maintains a maximum size, automatically |
| removing entries when the maximum is exceeded.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> |
| <caption><span>Class Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/Base16Encoder.html" title="class in org.apache.openjpa.lib.util">Base16Encoder</a></td> |
| <td class="colLast"> |
| <div class="block">Base 16 encoder.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/Bytes.html" title="class in org.apache.openjpa.lib.util">Bytes</a></td> |
| <td class="colLast"> |
| <div class="block">This class came from the Apache Commons Id sandbox project in support |
| of the UUIDGenerator implementation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></td> |
| <td class="colLast"> |
| <div class="block">Encapsulates some common Java source code formatting options.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/ConcreteClassGenerator.html" title="class in org.apache.openjpa.lib.util">ConcreteClassGenerator</a></td> |
| <td class="colLast"> |
| <div class="block">Dynamically generates concrete implementations of abstract classes.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/Files.html" title="class in org.apache.openjpa.lib.util">Files</a></td> |
| <td class="colLast"> |
| <div class="block">Utility operations on files.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/FormatPreservingProperties.html" title="class in org.apache.openjpa.lib.util">FormatPreservingProperties</a></td> |
| <td class="colLast"> |
| <div class="block">A specialization of <a href="http://download.oracle.com/javase/6/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util"><code>Properties</code></a> that stores its contents |
| in the same order and with the same formatting as was used to read |
| the contents from an input stream.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/J2DoPrivHelper.html" title="class in org.apache.openjpa.lib.util">J2DoPrivHelper</a></td> |
| <td class="colLast"> |
| <div class="block">Helper class to obtain the Privilege(Exception)Action object to perform |
| Java 2 doPrivilege security sensitive function call in the following |
| methods: |
| |
| AccessibleObject.setAccessible |
| Class.forName |
| Class.getClassLoader |
| Class.getDeclaredField |
| Class.getDeclaredFields |
| Class.getDeclaredMethod |
| Class.getDeclaredMethods |
| Class.getProtectionDomain |
| Class.getResource |
| Class.newInstance |
| ClassLoader.getParent |
| ClassLoader.getResource |
| ClassLoader.getResources |
| ClassLoader.getSystemClassLoader |
| File.deleteOnExit |
| File.delete |
| File.exists |
| File.getAbsoluteFile |
| File.getAbsolutePath |
| File.getCanonicalPath |
| File.listFiles |
| File.length |
| File.isDirectory |
| File.mkdirs |
| File.renameTo |
| File.toURL |
| FileInputStream new |
| FileOutputStream new |
| System.getProperties |
| InetAddress.getByName |
| MultiClassLoader new |
| ServerSocket new |
| Socket new |
| Socket.accept |
| System.getProperty |
| Thread.getContextClassLoader |
| Thread.setContextClassLoader |
| Thread new |
| TemporaryClassLoader new |
| URL.openStream |
| URLConnection.getContent |
| ZipFile new |
| serp.bytecode.Code new |
| serp.bytecode.BCClassLoader new |
| serp.bytecode.BCClass.write |
| serp.bytecode.BCClass.getFields |
| serp.bytecode.FieldInstruction.getField |
| serp.bytecode.Project.loadClass |
| AnnotatedElement.getAnnotations |
| AnnotatedElement.getDeclaredAnnotations |
| AnnotatedElement.isAnnotationPresent |
| javax.validation.Validator.validate |
| javax.validation.Validation.buildDefaultValidatorFactory |
| |
| |
| If these methods are used, the following sample usage patterns should be |
| followed to ensure proper privilege is granted:</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/JavaVersions.html" title="class in org.apache.openjpa.lib.util">JavaVersions</a></td> |
| <td class="colLast"> |
| <div class="block">Utilities for dealing with different Java specification versions.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/Localizer.html" title="class in org.apache.openjpa.lib.util">Localizer</a></td> |
| <td class="colLast"> |
| <div class="block">The Localizer provides convenient access to localized |
| strings.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/Localizer.Message.html" title="class in org.apache.openjpa.lib.util">Localizer.Message</a></td> |
| <td class="colLast"> |
| <div class="block">A <code>Message</code> can provide a localized message via the |
| <a href="../../../../../org/apache/openjpa/lib/util/Localizer.Message.html#getMessage()"><code>Localizer.Message.getMessage()</code></a> method call, and can also provide the original key, |
| package, and substitution array that were used to assemble the message.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/LRUMap.html" title="class in org.apache.openjpa.lib.util">LRUMap</a></td> |
| <td class="colLast"> |
| <div class="block">Extension of the commons <code>LRUMap</code> that can change its |
| maximum size.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/MultiClassLoader.html" title="class in org.apache.openjpa.lib.util">MultiClassLoader</a></td> |
| <td class="colLast"> |
| <div class="block">Class loader type that can be configured to delegate to multiple |
| internal class loaders.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/Options.html" title="class in org.apache.openjpa.lib.util">Options</a></td> |
| <td class="colLast"> |
| <div class="block">A specialization of the <a href="http://download.oracle.com/javase/6/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.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/OrderedMap.html" title="class in org.apache.openjpa.lib.util">OrderedMap</a><K,V></td> |
| <td class="colLast"> |
| <div class="block">A Map with predictable iteration order.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/ParameterTemplate.html" title="class in org.apache.openjpa.lib.util">ParameterTemplate</a></td> |
| <td class="colLast"> |
| <div class="block">A template that allows parameter substitutions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/ReferenceHashMap.html" title="class in org.apache.openjpa.lib.util">ReferenceHashMap</a></td> |
| <td class="colLast"> |
| <div class="block">Map in which the key, value, or both may be weak/soft references.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/ReferenceHashSet.html" title="class in org.apache.openjpa.lib.util">ReferenceHashSet</a></td> |
| <td class="colLast"> |
| <div class="block">A set whose values may be stored as weak or soft references.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/Services.html" title="class in org.apache.openjpa.lib.util">Services</a></td> |
| <td class="colLast"> |
| <div class="block">Utility classes to locate services, as defined in the <a |
| href="http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html |
| #Service%20Provider">Jar File Specification</a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/SimpleRegex.html" title="class in org.apache.openjpa.lib.util">SimpleRegex</a></td> |
| <td class="colLast"> |
| <div class="block">Allows for simple regex style testing of strings.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/StringDistance.html" title="class in org.apache.openjpa.lib.util">StringDistance</a></td> |
| <td class="colLast"> |
| <div class="block">Utilities for calculating string distance.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/TemporaryClassLoader.html" title="class in org.apache.openjpa.lib.util">TemporaryClassLoader</a></td> |
| <td class="colLast"> |
| <div class="block">ClassLoader implementation that allows classes to be temporarily |
| loaded and then thrown away.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/TimestampHelper.html" title="class in org.apache.openjpa.lib.util">TimestampHelper</a></td> |
| <td class="colLast"> |
| <div class="block">Helper base class attempts to return java.sql.Timestamp object with |
| nanosecond precision.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/TypedProperties.html" title="class in org.apache.openjpa.lib.util">TypedProperties</a></td> |
| <td class="colLast"> |
| <div class="block">A specialization of the <a href="http://download.oracle.com/javase/6/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util"><code>Properties</code></a> map type with added |
| convenience methods to retrieve and set options as primitive values.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/UUIDGenerator.html" title="class in org.apache.openjpa.lib.util">UUIDGenerator</a></td> |
| <td class="colLast"> |
| <div class="block">UUID value generator.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation"> |
| <caption><span>Enum Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Enum</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/JavaVendors.html" title="enum in org.apache.openjpa.lib.util">JavaVendors</a></td> |
| <td class="colLast"> |
| <div class="block">Utilities for dealing with different Java vendors.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation"> |
| <caption><span>Exception Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Exception</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/FormatPreservingProperties.DuplicateKeyException.html" title="class in org.apache.openjpa.lib.util">FormatPreservingProperties.DuplicateKeyException</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/ParseException.html" title="class in org.apache.openjpa.lib.util">ParseException</a></td> |
| <td class="colLast"> |
| <div class="block">Exception type for parse errors.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Annotation Types Summary table, listing annotation types, and an explanation"> |
| <caption><span>Annotation Types Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Annotation Type</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/openjpa/lib/util/Reflectable.html" title="annotation in org.apache.openjpa.lib.util">Reflectable</a></td> |
| <td class="colLast"> |
| <div class="block">Annotates a getter method or field so <code>reflection |
| utility</code> to control whether the annotated member is recorded during scanning |
| for bean-style method or field.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| </ul> |
| <a name="package_description"> |
| <!-- --> |
| </a> |
| <h2 title="Package org.apache.openjpa.lib.util Description">Package org.apache.openjpa.lib.util Description</h2> |
| <div class="block"><p><strong>General Utilities</strong></p></div> |
| </div> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.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/rop/package-summary.html">Prev Package</a></li> |
| <li><a href="../../../../../org/apache/openjpa/lib/util/concurrent/package-summary.html">Next Package</a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/openjpa/lib/util/package-summary.html" target="_top">Frames</a></li> |
| <li><a href="package-summary.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> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2006–2017 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |