Package org.conscrypt.io
Class IoUtils
java.lang.Object
org.conscrypt.io.IoUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
closeQuietly
(Closeable closeable) Closes 'closeable', ignoring any checked exceptions.static void
closeQuietly
(Socket socket) Closes 'socket', ignoring any exceptions.static void
-
Constructor Details
-
IoUtils
private IoUtils()
-
-
Method Details
-
closeQuietly
Closes 'closeable', ignoring any checked exceptions. Does nothing if 'closeable' is null. -
closeQuietly
Closes 'socket', ignoring any exceptions. Does nothing if 'socket' is null. -
throwInterruptedIoException
- Throws:
InterruptedIOException
-