dsto.dfc.test
Class AutoClose

java.lang.Object
  extended by dsto.dfc.test.AutoClose

public class AutoClose
extends Object

Test utility to manage automatic close () of resources. Call close () on test cleanup.

Author:
Matthew Phillips

Constructor Summary
AutoClose()
           
 
Method Summary
 void add(Closeable toClose)
           
 void close()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoClose

public AutoClose()
Method Detail

add

public void add(Closeable toClose)

close

public void close()


Copyright © 2008 Commonwealth of Australia