org.apache.openjpa.lib.util

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database ORM » openjpa » org.apache.openjpa.lib.util 
org.apache.openjpa.lib.util

General Utilities

Java Source File NameTypeComment
Base16Encoder.javaClass Base 16 encoder.
BytecodeWriter.javaInterface Control how enhanced bytecode is written.
Bytes.javaClass This class came from the Apache Commons Id sandbox project in support of the UUIDGenerator implementation.
Closeable.javaInterface Generic interface for components that can be closed so that helpers can treate them in a generic way.
CodeFormat.javaClass Encapsulates some common Java source code formatting options.
EventManager.javaInterface Basic event manager interface.
Files.javaClass Utility operations on files.
FormatPreservingProperties.javaClass A specialization of Properties that stores its contents in the same order and with the same formatting as was used to read the contents from an input stream.
J2DoPriv5Helper.javaClass
J2DoPrivHelper.javaClass 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.getResource
  • Class.newInstance
  • ClassLoader.getParent
  • ClassLoader.getResource
  • ClassLoader.getResources
  • ClassLoader.getSystemClassLoader
  • 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 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
If these methods are used, the following sample usage patterns should be followed to ensure proper privilege is granted: 1) No security risk method call.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/JavaVersions.java.htm">JavaVersions.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Utilities for dealing with different Java spec versions.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/Localizer.java.htm">Localizer.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> The Localizer provides convenient access to localized strings.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/LRUMap.java.htm">LRUMap.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Extension of the commons <code>LRUMap</code> that can change its maximum size.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/MultiClassLoader.java.htm">MultiClassLoader.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Class loader type that can be configured to delegate to multiple internal class loaders.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/Options.java.htm">Options.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> A specialization of the <a href="../../6.0-JDK-Core/Collections-Jar-Zip-Logging-regex/java/util/Properties.java.htm"><B>Properties</B></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.java.htm"><B>Options.setFromCmdLine</B></a> with the given args.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/ParameterTemplate.java.htm">ParameterTemplate.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> A template that allows parameter substitutions.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/ParseException.java.htm">ParseException.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Exception type for parse errors.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/ReferenceHashMap.java.htm">ReferenceHashMap.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Map in which the key, value, or both may be weak/soft references.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/ReferenceHashSet.java.htm">ReferenceHashSet.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> A set whose values may be stored as weak or soft references.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/ReferenceMap.java.htm">ReferenceMap.java</a></B></td><td width=50 valign=top align="left">Interface</td><td align="left"> A <a href="../../6.0-JDK-Core/Collections-Jar-Zip-Logging-regex/java/util/Map.java.htm"><B>Map</B></a> type that can hold its keys, values, or both with weak or soft references.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/ResourceBundleProvider.java.htm">ResourceBundleProvider.java</a></B></td><td width=50 valign=top align="left">Interface</td><td align="left"> A simple mechanism for looking up ResourceBundle instances across different potential sources.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/Services.java.htm">Services.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Utility classes to locate services, as defined in the <a href="../../../../../java.sun.com/j2se/1.3/docs/guide/jar/jar.html #Service%20Provider">Jar File Specification</a>.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/SimpleRegex.java.htm">SimpleRegex.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Allows for simple regex style testing of strings.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/SimpleResourceBundleProvider.java.htm">SimpleResourceBundleProvider.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"><a href="org/apache/openjpa/lib/util/ResourceBundleProvider.java.htm"><B>ResourceBundleProvider</B></a> that uses Java's built-in resource bundle lookup methods.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/SizedMap.java.htm">SizedMap.java</a></B></td><td width=50 valign=top align="left">Interface</td><td align="left"> A <a href="../../6.0-JDK-Core/Collections-Jar-Zip-Logging-regex/java/util/Map.java.htm"><B>Map</B></a> type that maintains a maximum size, automatically removing entries when the maximum is exceeded.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/StreamResourceBundleProvider.java.htm">StreamResourceBundleProvider.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"><a href="org/apache/openjpa/lib/util/ResourceBundleProvider.java.htm"><B>ResourceBundleProvider</B></a> that uses the <a href="../../6.0-JDK-Core/lang/java/lang/ClassLoader.java.htm"><B>ClassLoader.getResourceAsStream</B></a> method to load resources.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/StringDistance.java.htm">StringDistance.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Utilities for calculating string distance.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/TemporaryClassLoader.java.htm">TemporaryClassLoader.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> ClassLoader implementation that allows classes to be temporarily loaded and then thrown away.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/TestAbstractEventManager.java.htm">TestAbstractEventManager.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Tests the <a href="org/apache/openjpa/lib/util/concurrent/AbstractConcurrentEventManager.java.htm"><B>AbstractConcurrentEventManager</B></a> .</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/TestLocalizer.java.htm">TestLocalizer.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Tests the Localizer.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/TestMultiClassLoader.java.htm">TestMultiClassLoader.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Tests the <a href="org/apache/openjpa/lib/util/MultiClassLoader.java.htm"><B>MultiClassLoader</B></a> .</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/TestOptions.java.htm">TestOptions.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Tests the <a href="org/apache/openjpa/lib/util/Options.java.htm"><B>Options</B></a> type.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/TestParameterTemplate.java.htm">TestParameterTemplate.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Tests the <a href="org/apache/openjpa/lib/util/ParameterTemplate.java.htm"><B>ParameterTemplate</B></a> utility class.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/TestPropertiesParser.java.htm">TestPropertiesParser.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"></td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/TestReferenceSet.java.htm">TestReferenceSet.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Tests the <a href="org/apache/openjpa/lib/util/ReferenceHashSet.java.htm"><B>ReferenceHashSet</B></a> .</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/TestSimpleRegex.java.htm">TestSimpleRegex.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Tests simple regex for use in in-memory query execution.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/TestTemporaryClassLoader.java.htm">TestTemporaryClassLoader.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"></td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/TestTypedProperties.java.htm">TestTypedProperties.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Tests the <a href="org/apache/openjpa/lib/util/TypedProperties.java.htm"><B>TypedProperties</B></a> type.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/TestUUIDGenerator.java.htm">TestUUIDGenerator.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Test UUID generation.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/Timestamp5Helper.java.htm">Timestamp5Helper.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Helper class to create java.sql.Timestamp object with nanosecond precision.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/TimestampHelper.java.htm">TimestampHelper.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> Helper base class attempts to return java.sql.Timestamp object with nanosecond precision.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/TypedProperties.java.htm">TypedProperties.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> A specialization of the <a href="../../6.0-JDK-Core/Collections-Jar-Zip-Logging-regex/java/util/Properties.java.htm"><B>Properties</B></a> map type with added convenience methods to retrieve and set options as primitive values.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/UUIDGenerator.java.htm">UUIDGenerator.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"> UUID value generator.</td></tr><tr><td valign=top align=right width=200><B><A href="org/apache/openjpa/lib/util/ZipResourceBundleProvider.java.htm">ZipResourceBundleProvider.java</a></B></td><td width=50 valign=top align="left">Class</td><td align="left"><a href="org/apache/openjpa/lib/util/ResourceBundleProvider.java.htm"><B>ResourceBundleProvider</B></a> that expects the <a href="../../6.0-JDK-Core/lang/java/lang/ClassLoader.java.htm"><B>ClassLoader.getResourceAsStream</B></a> method to return a zipped input stream.</td></tr></table><TABLE border=0><TR><TD height=10></TD></TR></TABLE> <script type="text/javascript"><!-- google_ad_client="pub-1725451137117542";google_ad_width=728;google_ad_height=90;google_ad_format="728x90_as";google_ad_type="text_image";google_ad_channel="";google_color_border="ffffff";google_color_bg="ffffff";google_color_link="003399";google_color_text="000000";google_color_url="75a3ed"; //--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></td></tr></table></td></tr></table><center><TABLE border=0><TR align=left><TD><A href="/index.html">www.java2java.com</A> | <A href=../../../../html/contact.htm>Contact Us</A></Td></TR><TR align=left><TD class=Templatetext>Copyright 2009 - 12 Demo Source and Support. All rights reserved.</TD></TR><TR align=left><TD>All other trademarks are property of their respective owners.</TD></TR></TABLE></center></BODY></HTML>