Class IoUtils

java.lang.Object
org.conscrypt.io.IoUtils

@Internal public final class IoUtils extends Object
  • Constructor Details

    • IoUtils

      private IoUtils()
  • Method Details

    • 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