Java com.google.common.io Closer fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.io Closer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.io Closer.

The text is from its open source code.

Method

voidclose()
Closes all Closeable instances that have been added to this Closer .
Closercreate()
Creates a new Closer .
Cregister(@Nullable C closeable)
Registers the given closeable to be closed when this Closer is #close closed .
RuntimeExceptionrethrow(Throwable e)
Stores the given throwable and rethrows it.
RuntimeExceptionrethrow(Throwable e, Class declaredType)
Stores the given throwable and rethrows it.
RuntimeExceptionrethrow(Throwable e, Class declaredType1, Class declaredType2)
Stores the given throwable and rethrows it.