Class TempDirUtils
- java.lang.Object
-
- org.apache.flink.testutils.junit.utils.TempDirUtils
-
public class TempDirUtils extends Object
The utils contains some methods same as org.junit.rules.TemporaryFolder in Junit4.
-
-
Constructor Summary
Constructors Constructor Description TempDirUtils()
-
-
-
Method Detail
-
newFolder
public static File newFolder(Path path) throws IOException
- Throws:
IOException
-
newFile
public static File newFile(Path path) throws IOException
- Throws:
IOException
-
newFolder
public static File newFolder(Path base, String... paths) throws IOException
- Throws:
IOException
-
newFile
public static File newFile(Path folder, String fileName) throws IOException
- Throws:
IOException
-
-