org.hudsonci.utils.io
Class Closer

java.lang.Object
  extended by org.hudsonci.utils.io.Closer

public class Closer
extends Object

Quietly closes Closeable objects.

Since:
2.1.0
Author:
Jason Dillon

Constructor Summary
Closer()
           
 
Method Summary
static void close(Closeable... targets)
           
 
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... targets)
Parameters:
targets - objects to close, null is permitted


Copyright © 2004-2011 Hudson. All Rights Reserved.