Class IoUtils

    • 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.