rabbit.io
Class Closer

java.lang.Object
  extended by rabbit.io.Closer

public class Closer
extends Object

A helper class that can close resources without throwing exceptions.

Author:
Robert Olofsson

Constructor Summary
Closer()
           
 
Method Summary
static void close(Closeable c, Logger l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Closer

public Closer()
Method Detail

close

public static void close(Closeable c,
                         Logger l)