You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,27 @@
6
6
7
7
## What You'll Find Here
8
8
9
+
*[ExceptionUnwrapper](#exceptionunwrapper) provides methods for extracting the contents of "wrapped" exceptions.
9
10
*[UncheckedThrow](#uncheckedthrow) provides a method that uses type erasure to enable you to throw checked exception as unchecked.
10
11
*[DatabaseUtils](#databaseutils) provides facilities that enable you to define collections of database queries and stored procedures in an easy-to-execute format.
11
12
*[Query Collections](#query-collections) are defined as Java enumerations that implement the `QueryAPI` interface
12
13
*[Stored Procedure Collections](#stored-procedure-collections) are defined as Java enumerations that implement the `SProcAPI` interface
13
14
*[Recommended Implementation Strategies](#recommended-implementation-strategies) to maximize usability and configurability
*[Registering JDBC Providers](#registering-jdbc-providers) with the **ServiceLoader** facility of **DatabaseUtils**
17
+
*[OSInfo](#osinfo) provides utility methods and abstractions for host operating system features.
18
+
*[VolumeInfo](#volumeinfo) provides methods that parse the output of the 'mount' utility into a mapped collection of volume property records.
16
19
*[PathUtils](#pathutils) provides a method to acquire the next file path in sequence for the specified base name and extension in the indicated target folder.
17
20
*[Params Interface](#params-interface) defines concise methods for the creation of named parameters and parameter maps.
18
21
*[JarUtils](#jarutils) provides methods related to Java JAR files:
19
22
*[Assembling a Classpath String](#assembling-a-classpath-string)
20
23
*[Finding a JAR File Path](#finding-a-jar-file-path)
21
24
*[Extracting the `Premain-Class` Attribute](#extracting-the-premain-class-attribute)
22
25
26
+
## ExceptionUnwrapper
27
+
28
+
The **ExceptionUnwrapper** class provides methods for extracting the contents of "wrapped" exceptions.
29
+
23
30
## UncheckedThrow
24
31
25
32
The **UncheckedThrow** class uses type erasure to enable client code to throw checked exceptions as unchecked. This allows methods to throw checked exceptions without requiring clients to handle or declare them. It should be used judiciously, as this exempts client code from handling or declaring exceptions created by their own actions. The target use case for this facility is to throw exceptions that were serialized in responses from a remote system. Although the compiler won't require clients of methods using this technique to handle or declare the suppressed exception, the JavaDoc for such methods should include a `@throws` declaration for implementers who might want to handle or declare it voluntarily.
@@ -268,6 +275,14 @@ This sample provider configuration file will cause **DatabaseUtils** to load the
268
275
</project>
269
276
```
270
277
278
+
## OSInfo
279
+
280
+
The **OSInfo** class provides utility methods and abstractions for host operating system features.
281
+
282
+
## VolumeInfo
283
+
284
+
The **VolumeInfo** class provides methods that parse the output of the 'mount' utility into a mapped collection of volume property records.
285
+
271
286
## PathUtils
272
287
273
288
The **PathUtils** class provides a method to acquire the next file path in sequence for the specified base name and extension in the indicated target folder. If the target folder already contains at least one file that matches the specified base name and extension, the algorithm used to select the next path will always return a path whose index is one more than the highest index that currently exists. (If a single file with no index is found, its implied index is 0.)
0 commit comments