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