| Constructor and Description |
|---|
TempDir() |
TempDir(java.io.File tempDirParent) |
| Modifier and Type | Method and Description |
|---|---|
void |
create() |
void |
delete() |
java.io.File |
getRoot() |
org.junit.rules.TemporaryFolder |
getWrapped() |
java.io.File |
newFile() |
java.io.File |
newFile(java.lang.String fileName) |
java.io.File |
newFolder() |
java.io.File |
newFolder(java.lang.String... folderNames) |
java.io.File |
newFolder(java.lang.String folder) |
void |
start() |
void |
stop() |
public void create()
throws java.io.IOException
java.io.IOExceptionpublic java.io.File newFile(java.lang.String fileName)
throws java.io.IOException
java.io.IOExceptionpublic java.io.File newFile()
throws java.io.IOException
java.io.IOExceptionpublic java.io.File newFolder(java.lang.String folder)
throws java.io.IOException
java.io.IOExceptionpublic java.io.File newFolder(java.lang.String... folderNames)
throws java.io.IOException
java.io.IOExceptionpublic java.io.File newFolder()
throws java.io.IOException
java.io.IOExceptionpublic java.io.File getRoot()
public void delete()
public org.junit.rules.TemporaryFolder getWrapped()