Package org.verifyica.api
Class TemporaryDirectory
java.lang.Object
org.verifyica.api.TemporaryDirectory
- All Implemented Interfaces:
AutoCloseable
Class to implement TemporaryDirectory
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TemporaryDirectory
Constructor- Throws:
IOException- IOException if the temporary directory can't be created
-
TemporaryDirectory
Constructor- Parameters:
prefix- prefix- Throws:
IOException- IOException if the temporary directory can't be created
-
-
Method Details
-
path
Get the temporary directory Path- Returns:
- the temporary directory Path
-
getPath
Get the temporary directory Path- Returns:
- the temporary directory Path
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-