Top Constructors Methods
org.conscrypt.io

public final Class IoUtils

extends Object
Class Inheritance
Annotations
@Internal
Imports
java.io.Closeable, .InterruptedIOException, java.net.Socket, org.conscrypt.Internal

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
closeQuietly(Closeable closeable)

Closes 'closeable', ignoring any checked exceptions.

public static void
closeQuietly(Socket socket)

Closes 'socket', ignoring any exceptions.

public static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

IoUtilsback to summary
private IoUtils()

Method Detail

closeQuietlyback to summary
public static void closeQuietly(Closeable closeable)

Closes 'closeable', ignoring any checked exceptions. Does nothing if 'closeable' is null.

closeQuietlyback to summary
public static void closeQuietly(Socket socket)

Closes 'socket', ignoring any exceptions. Does nothing if 'socket' is null.

throwInterruptedIoExceptionback to summary
public static void throwInterruptedIoException() throws InterruptedIOException