Top Description Fields Constructors Methods
org.assertj.core.util

public final Class Closeables

extends Object
Class Inheritance
Imports
java.io.Closeable, java.util.logging.Level, java.util.logging.Logger

Utility methods related to Closeable.
Author
Yvonne Wang

Field Summary

Modifier and TypeField and Description
private static final java.util.logging.Logger

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static void
public static void
closeQuietly(Closeable...
the Closeables to close.
closeables
)

Closes the given Closeables, ignoring any thrown exceptions.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

loggerback to summary
private static final java.util.logging.Logger logger

Constructor Detail

Closeablesback to summary
private Closeables()

Method Detail

closeCloseableback to summary
private static void closeCloseable(Closeable c)
closeQuietlyback to summary
public static void closeQuietly(Closeable... closeables)

Closes the given Closeables, ignoring any thrown exceptions.

Parameters
closeables:Closeable[]

the Closeables to close.