Package org.conscrypt.io
Class IoUtils
- java.lang.Object
-
- org.conscrypt.io.IoUtils
-
@Internal public final class IoUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
IoUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
closeQuietly(java.io.Closeable closeable)
Closes 'closeable', ignoring any checked exceptions.static void
closeQuietly(java.net.Socket socket)
Closes 'socket', ignoring any exceptions.static void
throwInterruptedIoException()
-
-
-
Method Detail
-
closeQuietly
public static void closeQuietly(java.io.Closeable closeable)
Closes 'closeable', ignoring any checked exceptions. Does nothing if 'closeable' is null.
-
closeQuietly
public static void closeQuietly(java.net.Socket socket)
Closes 'socket', ignoring any exceptions. Does nothing if 'socket' is null.
-
throwInterruptedIoException
public static void throwInterruptedIoException() throws java.io.InterruptedIOException
- Throws:
java.io.InterruptedIOException
-
-