org.assertj.core.util
Class Closeables

java.lang.Object
  extended by org.assertj.core.util.Closeables

public final class Closeables
extends Object

Utility methods related to Closeable.

Author:
Yvonne Wang

Method Summary
static void closeQuietly(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(Closeable... closeables)
Closes the given Closeables, ignoring any thrown exceptions.

Parameters:
closeables - the Closeables to close.


Copyright © 2013–2015 AssertJ. All rights reserved.