Class QuietIO


  • public class QuietIO
    extends Object
    IO Operations that suppress exceptions
    Author:
    David B. Bracewell
    • Constructor Detail

      • QuietIO

        public QuietIO()
    • Method Detail

      • closeQuietly

        public static void closeQuietly​(Closeable closeable)
        Closes the Closeableignoring any exception
        Parameters:
        closeable - thing to close
      • closeQuietly

        public static void closeQuietly​(AutoCloseable closeable)
        Closes the AutoCloseableignoring any exception
        Parameters:
        closeable - thing to close