Class TempManager
- java.lang.Object
-
- org.fedoraproject.xmvn.resolver.impl.TempManager
-
final class TempManager extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.nio.file.Path
tempDir
-
Constructor Summary
Constructors Modifier Constructor Description private
TempManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.nio.file.Path
createTempDirectory(java.lang.String prefix, java.nio.file.attribute.FileAttribute<?>... attrs)
static java.nio.file.Path
createTempFile(java.lang.String prefix, java.lang.String suffix, java.nio.file.attribute.FileAttribute<?>... attrs)
private static void
delete(java.nio.file.Path path)
private static java.nio.file.Path
getTempDir()
-
-
-
Method Detail
-
delete
private static void delete(java.nio.file.Path path)
-
getTempDir
private static java.nio.file.Path getTempDir() throws java.io.IOException
- Throws:
java.io.IOException
-
createTempFile
public static java.nio.file.Path createTempFile(java.lang.String prefix, java.lang.String suffix, java.nio.file.attribute.FileAttribute<?>... attrs) throws java.io.IOException
- Throws:
java.io.IOException
-
createTempDirectory
public static java.nio.file.Path createTempDirectory(java.lang.String prefix, java.nio.file.attribute.FileAttribute<?>... attrs) throws java.io.IOException
- Throws:
java.io.IOException
-
-