@DefaultImplementation(value=WorkingDirectoryTempFileCreator.class) public interface TempFileCreator
| Modifier and Type | Method and Description |
|---|---|
File |
createTempDirectory(String prefix)
Create a temporary folder.
|
File |
createTempDirectory(String prefix,
FileAttribute<?> attrs)
Creates a temporary folder.
|
File |
createTempFile(String prefix,
String suffix)
Creates a temporary file.
|
File createTempFile(String prefix, String suffix) throws IOException
prefix - the prefix for the filesuffix - the suffix for the fileIOExceptionFile createTempDirectory(String prefix, FileAttribute<?> attrs) throws IOException
prefix - the prefix for the fileattrs - the attributes for the fileIOExceptionFile createTempDirectory(String prefix) throws IOException
prefix - the prefix for the folderIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.