Package org.fest.util

Class Closeables


  • public final class Closeables
    extends java.lang.Object
    Utility methods related to Closeable.
    Author:
    Yvonne Wang
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void closeQuietly​(java.io.Closeable... closeables)
      Closes the given Closeables, ignoring any thrown exceptions.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • closeQuietly

        public static void closeQuietly​(java.io.Closeable... closeables)
        Closes the given Closeables, ignoring any thrown exceptions.
        Parameters:
        closeables - the Closeables to close.