net.grinder.testutility
Class TemporaryDirectory

java.lang.Object
  extended by net.grinder.testutility.TemporaryDirectory

public final class TemporaryDirectory
extends Object

Temporary directory for use by unit tests.

Author:
Philip Aston

Constructor Summary
TemporaryDirectory()
           
 
Method Summary
 void delete()
           
 File getDirectory()
           
 File newFile(String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemporaryDirectory

public TemporaryDirectory()
Method Detail

getDirectory

public final File getDirectory()
                        throws IOException
Throws:
IOException

delete

public void delete()
            throws Exception
Throws:
Exception

newFile

public final File newFile(String filename)
                   throws IOException
Throws:
IOException


Copyright © 2000-2012. All Rights Reserved.