Package com.github.tadukoo.util
Class AutoCloseableUtil
java.lang.Object
com.github.tadukoo.util.AutoCloseableUtil
Util functions for dealing with AutoCloseables.
- Version:
- 0.1-Alpha-SNAPSHOT
- Author:
- Logan Ferree (Tadukoo)
-
Constructor Summary
ModifierConstructorDescriptionprivate
Not allowed to create an AutoCloseableUtil -
Method Summary
Modifier and TypeMethodDescriptionstatic void
closeQuietly
(AutoCloseable autoCloseable) Closes the given AutoCloseable while suppressing any error messages
-
Constructor Details
-
AutoCloseableUtil
private AutoCloseableUtil()Not allowed to create an AutoCloseableUtil
-
-
Method Details
-
closeQuietly
Closes the given AutoCloseable while suppressing any error messages- Parameters:
autoCloseable
- The AutoCloseable to close
-