Class TempDir
- java.lang.Object
-
- com.xebialabs.platform.test.testng.rules.TempDir
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate()voiddelete()java.io.FilegetRoot()org.junit.rules.TemporaryFoldergetWrapped()java.io.FilenewFile()java.io.FilenewFile(java.lang.String fileName)java.io.FilenewFolder()java.io.FilenewFolder(java.lang.String folder)java.io.FilenewFolder(java.lang.String... folderNames)voidstart()voidstop()
-
-
-
Method Detail
-
create
public void create() throws java.io.IOException- Throws:
java.io.IOException
-
newFile
public java.io.File newFile(java.lang.String fileName) throws java.io.IOException- Throws:
java.io.IOException
-
newFile
public java.io.File newFile() throws java.io.IOException- Throws:
java.io.IOException
-
newFolder
public java.io.File newFolder(java.lang.String folder) throws java.io.IOException- Throws:
java.io.IOException
-
newFolder
public java.io.File newFolder(java.lang.String... folderNames) throws java.io.IOException- Throws:
java.io.IOException
-
newFolder
public java.io.File newFolder() throws java.io.IOException- Throws:
java.io.IOException
-
getRoot
public java.io.File getRoot()
-
delete
public void delete()
-
getWrapped
public org.junit.rules.TemporaryFolder getWrapped()
-
-