Package org.oscim.utils
Class IOUtils
java.lang.Object
org.oscim.utils.IOUtils
A utility class with IO-specific helper methods.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcloseQuietly(Closeable closeable) Invokes theCloseable.close()method on the given object.static voidcloseQuietly(Socket closeable)
-
Method Details
-
closeQuietly
Invokes theCloseable.close()method on the given object. If anIOExceptionoccurs during the method call, it will be caught and logged.- Parameters:
closeable- the data source which should be closed (may be null).
-
closeQuietly
-