net.grinder.testutility
Class TemporaryDirectory
java.lang.Object
net.grinder.testutility.TemporaryDirectory
public final class TemporaryDirectory
- extends Object
Temporary directory for use by unit tests.
- Author:
- Philip Aston
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemporaryDirectory
public TemporaryDirectory()
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.