public final class ConfigurableDirectoryTempFileCreator extends Object implements TempFileCreator
| Modifier and Type | Method and Description |
|---|---|
File |
createTempDirectory(String prefix)
Create a temporary folder.
|
File |
createTempDirectory(String prefix,
FileAttribute<?> fileAttributes)
Creates a temporary folder.
|
File |
createTempFile(String prefix,
String suffix)
Creates a temporary file.
|
public File createTempFile(String prefix, String suffix) throws IOException
TempFileCreatorcreateTempFile in interface TempFileCreatorprefix - the prefix for the filesuffix - the suffix for the fileIOExceptionpublic File createTempDirectory(String prefix, FileAttribute<?> fileAttributes) throws IOException
TempFileCreatorcreateTempDirectory in interface TempFileCreatorprefix - the prefix for the filefileAttributes - the attributes for the fileIOExceptionpublic File createTempDirectory(String prefix) throws IOException
TempFileCreatorcreateTempDirectory in interface TempFileCreatorprefix - the prefix for the folderIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.