Package nom.tam.util
Class SafeClose
java.lang.Object
nom.tam.util.SafeClose
Deprecated.
Use try-with-resources constructs of Java 8+ instead.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Deprecated.Attmpts to an IO resources catching anyIOException
that might result.
-
Method Details
-
close
Deprecated.Attmpts to an IO resources catching anyIOException
that might result. If the resource cannot be closed, the class will log the exception, but return normally.- Parameters:
io
- The IO resource to close.
-